From 6feba77871043b725de5ebad9902fda5d0d88ed6 Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 25 Nov 2015 12:22:41 +0800 Subject: [PATCH] update files --- static/js/terminal/lib/refresh.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;