diff --git a/lib/tput.js b/lib/tput.js index 2b27105..bc2cbb7 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -2029,7 +2029,7 @@ Tput.prototype.detectUnicode = function() { Tput.prototype.detectBrokenACS = function(info) { // ncurses-compatible env variable. if (process.env.NCURSES_NO_UTF8_ACS != null) { - return true; + return +process.env.NCURSES_NO_UTF8_ACS; } // If the terminal supports unicode, we don't need ACS.