Skip to content

Commit f4166a8

Browse files
authored
Merge pull request #5737 from xtermjs/anthonykim1/fixKittyKeyboardFish
Fix ^C not working to end for newer fish + kitty keyboard protocol
2 parents a12061c + f5e81af commit f4166a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/InputHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3570,7 +3570,7 @@ export class InputHandler extends Disposable implements IInputHandler {
35703570
return true;
35713571
}
35723572
const flags = params.params[0] || 0;
3573-
const mode = params.params[1] || 1;
3573+
const mode = params.length > 1 ? (params.params[1] || 1) : 1;
35743574
const state = this._coreService.kittyKeyboard;
35753575

35763576
switch (mode) {

0 commit comments

Comments
 (0)