mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Use InputHandler.setMode/resetMode, not Terminal
This commit is contained in:
+2
-2
@@ -821,7 +821,7 @@ export class InputHandler implements IInputHandler {
|
||||
public setMode(params: number[]): void {
|
||||
if (params.length > 1) {
|
||||
for (let i = 0; i < params.length; i++) {
|
||||
this._terminal.setMode(params[i]);
|
||||
this.setMode([params[i]]);
|
||||
}
|
||||
|
||||
return;
|
||||
@@ -1027,7 +1027,7 @@ export class InputHandler implements IInputHandler {
|
||||
public resetMode(params: number[]): void {
|
||||
if (params.length > 1) {
|
||||
for (let i = 0; i < params.length; i++) {
|
||||
this._terminal.resetMode(params[i]);
|
||||
this.resetMode([params[i]]);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user