Skip to content

Commit a76654a

Browse files
committed
Update xtermFrontend.ts
1 parent 7508c37 commit a76654a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabby-terminal/src/frontends/xtermFrontend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class XTermFrontend extends Frontend {
138138
}
139139
}
140140

141-
const oldKeyUp = this.xtermCore._keyUp
141+
const oldKeyUp = this.xtermCore._keyUp.bind(this.xtermCore)
142142
this.xtermCore._keyUp = (e: KeyboardEvent) => {
143143
this.xtermCore.updateCursorStyle(e)
144144
if (keyboardEventHandler('keyup', e)) {

0 commit comments

Comments
 (0)