mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix CircularList type and a typo
This commit is contained in:
committed by
Paris Kasidiaris
parent
4effe1f1d9
commit
393b411acc
Generated
+488
-1
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user