From 520dc08100feec56a59f358df46bbf106cc9ce3f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 22 Feb 2015 12:59:53 -0800 Subject: [PATCH] minor. --- lib/tput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tput.js b/lib/tput.js index 189d928..df90749 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -2036,7 +2036,7 @@ Tput.prototype.detectUnicode = function() { Tput.prototype.detectBrokenACS = function(info) { // ncurses-compatible env variable. if (process.env.NCURSES_NO_UTF8_ACS != null) { - return +process.env.NCURSES_NO_UTF8_ACS; + return !!+process.env.NCURSES_NO_UTF8_ACS; } // If the terminal supports unicode, we don't need ACS.