From 30813d67d3ead6ab15f4ffa368109cb162025edb Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 3 Dec 2015 17:10:44 +0800 Subject: [PATCH] update files --- static/js/components/app-main/canvas-xterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/components/app-main/canvas-xterm.js b/static/js/components/app-main/canvas-xterm.js index c9576db..ba09311 100644 --- a/static/js/components/app-main/canvas-xterm.js +++ b/static/js/components/app-main/canvas-xterm.js @@ -42,12 +42,12 @@ CanvasXTerm.prototype = { for (i = 0; i < rows; i++) { x = 0; y = i * this.font.lineHeight + this.baseY; + text = ''; for (j = 0; j < cols; j++) { node = screen[i][j]; if (j === 0) { - text = ''; attrCache = node.attr; stylesCache = this.getStyles(node); }