fix acs handling with screen when LANG != utf8.
This commit is contained in:
parent
075ca1049a
commit
dc6f6ade41
|
@ -1088,9 +1088,8 @@ Screen.prototype.draw = function(start, end) {
|
||||||
// are it does not support UTF8. This is probably
|
// are it does not support UTF8. This is probably
|
||||||
// the "safest" way to do this. Should fix things
|
// the "safest" way to do this. Should fix things
|
||||||
// like sun-color.
|
// like sun-color.
|
||||||
// if (this.tput.numbers.U8 !== 1 && ch > '~') {
|
// if ((!this.unicode || this.tput.numbers.U8 !== 1) && ch > '~') {
|
||||||
// if ((!this.unicode || this.tput.numbers.U8 !== 1) && this.tput.utoa[ch]) {
|
if ((!this.unicode || this.tput.numbers.U8 !== 1) && this.tput.utoa[ch]) {
|
||||||
if (this.tput.numbers.U8 !== 1 && this.tput.utoa[ch]) {
|
|
||||||
ch = this.tput.utoa[ch] || '?';
|
ch = this.tput.utoa[ch] || '?';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue