Merge branch 'master' into mouse_service

This commit is contained in:
Daniel Imms
2019-06-15 19:42:24 -07:00
committed by GitHub
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -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
-1
View File
@@ -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<IBufferLine>(this._getCorrectBufferLength(this._rows));