minor fix for bin/tput.js.

This commit is contained in:
Christopher Jeffrey 2015-07-27 21:46:54 -07:00
parent 78b858742b
commit 141c5a6eab
1 changed files with 2 additions and 1 deletions

View File

@ -7,9 +7,10 @@ var blessed = require('../')
tput = blessed.tput({
terminal: process.env.TERM,
termcap: !!process.env.USE_TERMCAP,
extended: true
});
if (tput[cmd]) {
process.stdout.write(tput[cmd].apply(tput, argv) + '\n');
process.stdout.write(tput[cmd].apply(tput, argv));
}