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) {