diff --git a/lib/widget.js b/lib/widget.js index d16ccd3..a2ed4e1 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -1088,9 +1088,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. - // if (this.tput.numbers.U8 !== 1 && ch > '~') { - // if ((!this.unicode || this.tput.numbers.U8 !== 1) && this.tput.utoa[ch]) { - if (this.tput.numbers.U8 !== 1 && this.tput.utoa[ch]) { + // if ((!this.unicode || this.tput.numbers.U8 !== 1) && ch > '~') { + if ((!this.unicode || this.tput.numbers.U8 !== 1) && this.tput.utoa[ch]) { ch = this.tput.utoa[ch] || '?'; } }