blank line
This commit is contained in:
parent
888ba0d1a4
commit
44904082ad
|
@ -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++) {
|
for (var x = 0; x < this.cols; x++) {
|
||||||
out[y] = [];
|
out[x] = [this.dattr, ch || ' '];
|
||||||
for (var x = 0; x < this.cols; x++) {
|
|
||||||
out[y][x] = [this.dattr, ch || ' '];
|
|
||||||
}
|
|
||||||
out[y].dirty = dirty;
|
|
||||||
}
|
}
|
||||||
|
out.dirty = dirty;
|
||||||
return out;
|
return out;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue