From 141c5a6eab36dcb4f267ec3e1e815fa39eee8901 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 27 Jul 2015 21:46:54 -0700 Subject: [PATCH] minor fix for bin/tput.js. --- bin/tput.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); }