Revert "Remove getNullCell"

This reverts commit 0b6a5b7630.
This commit is contained in:
Daniel Imms
2020-02-04 08:42:24 -08:00
parent 9b9cb5c076
commit 9c8deb1470
3 changed files with 11 additions and 17 deletions
+7
View File
@@ -1117,6 +1117,13 @@ declare module 'xterm' {
* @param y The line index to get.
*/
getLine(y: number): IBufferLine | undefined;
/**
* Creates an empty cell object suitable as a cell reference in
* `line.getCell(x, cell)`. Use this to avoid costly recreation of
* cell objects when dealing with tons of cells.
*/
getNullCell(): IBufferCell;
}
/**