Fix CircularList type and a typo

This commit is contained in:
Paris Kasidiaris
2017-07-16 03:47:15 +03:00
committed by Paris Kasidiaris
parent 4effe1f1d9
commit 393b411acc
3 changed files with 490 additions and 3 deletions
+488 -1
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -29,7 +29,7 @@ export class Buffer {
public scrollTop: number = 0,
public tabs: any = {},
) {
this.lines = new CircularList<string>(this.terminal.scrollback);
this.lines = new CircularList<[string, number, string]>(this.terminal.scrollback);
this.scrollBottom = this.terminal.rows - 1;
}
}
+1 -1
View File
@@ -906,7 +906,7 @@ export class InputHandler implements IInputHandler {
// TODO: Why are params[0] compares nested within a switch for params[0]?
this._terminal.buffer.x10Mouse = params[0] === 9;
this._terminal.x10Mouse = params[0] === 9;
this._terminal.vt200Mouse = params[0] === 1000;
this._terminal.normalMouse = params[0] > 1000;
this._terminal.mouseEvents = true;