diff --git a/src/InputHandler.test.ts b/src/InputHandler.test.ts index 8170796f83..19d5f6a2cf 100644 --- a/src/InputHandler.test.ts +++ b/src/InputHandler.test.ts @@ -18,6 +18,7 @@ describe('InputHandler', () => { const terminal = new MockInputHandlingTerminal(); terminal.buffer.x = 1; terminal.buffer.y = 2; + terminal.buffer.ybase = 0; terminal.curAttrData.fg = 3; const inputHandler = new InputHandler(terminal); // Save cursor position diff --git a/src/common/buffer/Buffer.ts b/src/common/buffer/Buffer.ts index 084b1bea18..9c36a5a424 100644 --- a/src/common/buffer/Buffer.ts +++ b/src/common/buffer/Buffer.ts @@ -126,7 +126,6 @@ export class Buffer implements IBuffer { public clear(): void { this.ydisp = 0; this.ybase = 0; - this.savedY = 0; this.y = 0; this.x = 0; this.lines = new CircularList(this._getCorrectBufferLength(this._rows));