diff --git a/addons/xterm-addon-serialize/src/SerializeAddon.ts b/addons/xterm-addon-serialize/src/SerializeAddon.ts index 91ea1d26..468b9655 100644 --- a/addons/xterm-addon-serialize/src/SerializeAddon.ts +++ b/addons/xterm-addon-serialize/src/SerializeAddon.ts @@ -42,7 +42,7 @@ abstract class BaseSerializeHandler { } } - this._nextRow(row); + this._rowEnd(row); } this._serializeEnd(); @@ -52,7 +52,7 @@ abstract class BaseSerializeHandler { protected _nextCell(cell: IBufferCell, oldCell: IBufferCell, row: number, col: number): void { } - protected _nextRow(row: number): void { } + protected _rowEnd(row: number): void { } protected _serializeStart(rows: number): void { } @@ -75,7 +75,7 @@ class StringSerializeHandler extends BaseSerializeHandler { this._allRows = new Array(rows); } - protected _nextRow(row: number): void { + protected _rowEnd(row: number): void { this._allRows[this._rowIndex++] = this._currentRow; this._currentRow = ''; this._nullCellCount = 0;