This commit is contained in:
Christopher Jeffrey 2015-02-22 12:59:53 -08:00
parent 02ca94a8d9
commit 520dc08100

View File

@ -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.