mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 13:51:52 +00:00
fix NCURSES_NO_UTF8_ACS handling.
This commit is contained in:
parent
c6287668ee
commit
594b0bd340
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user