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) {
|
||||
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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue