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