This commit is contained in:
Christopher Jeffrey 2015-02-08 14:35:08 -08:00
parent 1f2098707c
commit c6287668ee

View File

@ -1113,6 +1113,8 @@ Screen.prototype.draw = function(start, end) {
// are it does not support UTF8. This is probably
// the "safest" way to do this. Should fix things
// like sun-color.
// NOTE: It could be the case that the $LANG
// is all that matters in some cases:
// if (!this.tput.unicode && ch > '~') {
if (!this.tput.unicode && this.tput.numbers.U8 !== 1 && ch > '~') {
ch = this.tput.utoa[ch] || '?';