diff --git a/lib/widget.js b/lib/widget.js index de66ebb..e49a896 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -502,13 +502,10 @@ Screen.prototype.render = function() { Screen.prototype.blankLine = function(ch, dirty) { var out = []; - for (var y = 0; y < this.rows; y++) { - out[y] = []; - for (var x = 0; x < this.cols; x++) { - out[y][x] = [this.dattr, ch || ' ']; - } - out[y].dirty = dirty; + for (var x = 0; x < this.cols; x++) { + out[x] = [this.dattr, ch || ' ']; } + out.dirty = dirty; return out; };