From f763bf975927e175ec0509784784e01997ff3830 Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 25 Nov 2015 23:45:44 +0800 Subject: [PATCH] update files --- static/js/terminal/lib/refresh.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/terminal/lib/refresh.js b/static/js/terminal/lib/refresh.js index bc0221c..4a123f6 100644 --- a/static/js/terminal/lib/refresh.js +++ b/static/js/terminal/lib/refresh.js @@ -34,7 +34,9 @@ module.exports = function (Terminal){ } for (; y <= end; y++) { + i = 0; out = ''; + attr = this.defAttr; row = y + this.ydisp; line = this.lines[row]; @@ -44,9 +46,6 @@ module.exports = function (Terminal){ x = -1; } - attr = this.defAttr; - i = 0; - for (; i < width; i++) { data = line[i][0]; ch = line[i][1];