fix NCURSES_NO_UTF8_ACS handling.

This commit is contained in:
Christopher Jeffrey 2015-02-08 21:34:46 -08:00
parent c6287668ee
commit 594b0bd340
1 changed files with 1 additions and 1 deletions

View File

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