diff --git a/bin/tput.js b/bin/tput.js index 199aa11..0c2da8e 100755 --- a/bin/tput.js +++ b/bin/tput.js @@ -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)); }