From 513d1b01494452ab01384830548828331c9e6e39 Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 25 Nov 2015 09:43:15 +0800 Subject: [PATCH] update files --- static/js/terminal/lib/refresh.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/static/js/terminal/lib/refresh.js b/static/js/terminal/lib/refresh.js index 1ef3609..fb8e469 100644 --- a/static/js/terminal/lib/refresh.js +++ b/static/js/terminal/lib/refresh.js @@ -36,13 +36,6 @@ module.exports = function (Terminal){ for (; y <= end; y++) { row = y + this.ydisp; line = this.lines[row]; - - if (!line) { - // simple solution in case we have more lines than rows - // could be improved to instead remove first line (and related html element) - return this.reset(); - } - out = ''; if (y === this.y && this.cursorState && this.ydisp === this.ybase && !this.cursorHidden) {