diff --git a/static/js/terminal/lib/refresh.js b/static/js/terminal/lib/refresh.js index 2d09be1..083408e 100644 --- a/static/js/terminal/lib/refresh.js +++ b/static/js/terminal/lib/refresh.js @@ -130,14 +130,12 @@ module.exports = function (Terminal){ out += '>'; break; default: - if (ch === ' ') { + if (ch <= ' ') { out += ' '; - } else if (ch > ' ') { + } else { if (this.isWide(ch)) i++; out += ch; - } else { - if (data === -1) out += ' '; } break; }