Remove getNullCell

Replace with fetching cell (0,0) and using that as the initial null cell. We
can reconsider adding this back if it's needed
This commit is contained in:
Daniel Imms
2020-02-04 08:31:06 -08:00
parent fac025367b
commit 0b6a5b7630
3 changed files with 17 additions and 11 deletions
-7
View File
@@ -955,13 +955,6 @@ 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;
}
/**