From b8c4c2f48ae04789c685d2435a31d5432d2fdc64 Mon Sep 17 00:00:00 2001 From: nuintun Date: Mon, 30 Nov 2015 18:18:32 +0800 Subject: [PATCH] update files --- static/js/terminal/xterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/terminal/xterm.js b/static/js/terminal/xterm.js index 3114e87..cd4b45f 100644 --- a/static/js/terminal/xterm.js +++ b/static/js/terminal/xterm.js @@ -1265,7 +1265,7 @@ AnsiTerminal.prototype.inst_p = function (s){ this.cursor.col += 1; } - if (width == 2) { + if (width === 2) { this.screen.buffer[this.cursor.row].cells[this.cursor.col].width = 0; this.screen.buffer[this.cursor.row].cells[this.cursor.col].c = ''; this.screen.buffer[this.cursor.row].cells[this.cursor.col].attr = this.charattributes;