minor fix for bin/tput.js.
This commit is contained in:
parent
78b858742b
commit
141c5a6eab
|
@ -7,9 +7,10 @@ var blessed = require('../')
|
||||||
|
|
||||||
tput = blessed.tput({
|
tput = blessed.tput({
|
||||||
terminal: process.env.TERM,
|
terminal: process.env.TERM,
|
||||||
|
termcap: !!process.env.USE_TERMCAP,
|
||||||
extended: true
|
extended: true
|
||||||
});
|
});
|
||||||
|
|
||||||
if (tput[cmd]) {
|
if (tput[cmd]) {
|
||||||
process.stdout.write(tput[cmd].apply(tput, argv) + '\n');
|
process.stdout.write(tput[cmd].apply(tput, argv));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue