change replaceCells to new interface

This commit is contained in:
Jörg Breitbart
2019-01-12 15:05:52 +01:00
parent 4bf7f3eb89
commit fe6919b52a
4 changed files with 9 additions and 9 deletions
+2 -3
View File
@@ -311,10 +311,9 @@ export class BufferLine implements IBufferLine {
}
}
public replaceCells(start: number, end: number, fillCharData: CharData): void {
this._cell.setFromCharData(fillCharData);
public replaceCells(start: number, end: number, fillCellData: ICellData): void {
while (start < end && start < this.length) {
this.setCell(start++, this._cell);
this.setCell(start++, fillCellData);
}
}