blank line

This commit is contained in:
Christopher Jeffrey 2013-06-29 15:56:09 -07:00
parent 888ba0d1a4
commit 44904082ad
1 changed files with 3 additions and 6 deletions

View File

@ -502,13 +502,10 @@ Screen.prototype.render = function() {
Screen.prototype.blankLine = function(ch, dirty) { Screen.prototype.blankLine = function(ch, dirty) {
var out = []; var out = [];
for (var y = 0; y < this.rows; y++) {
out[y] = [];
for (var x = 0; x < this.cols; x++) { for (var x = 0; x < this.cols; x++) {
out[y][x] = [this.dattr, ch || ' ']; out[x] = [this.dattr, ch || ' '];
}
out[y].dirty = dirty;
} }
out.dirty = dirty;
return out; return out;
}; };