mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 15:06:46 +00:00
minor.
This commit is contained in:
parent
02ca94a8d9
commit
520dc08100
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user