Update addons/xterm-addon-serialize/src/MyBufferCell.ts

Co-authored-by: Daniel Imms <tyriar@tyriar.com>
This commit is contained in:
mmis1000
2021-01-23 10:20:03 +08:00
committed by GitHub
co-authored by Daniel Imms
parent 354f3e03a2
commit cd501f9dcc
@@ -4,7 +4,7 @@ import { IBufferCell } from 'xterm';
* This is a dummy buffer cell to hold data from real buffer cell
*/
export class MyBufferCell implements IBufferCell {
constructor (private _cell: IBufferCell) {}
constructor(private _cell: IBufferCell) {}
private _width: number = this._cell.getWidth();
private _chars: string = this._cell.getChars();
private _code: number = this._cell.getCode();