mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
ensure xterm's own _keyUp is getting called
This commit is contained in:
parent
a5d84a490f
commit
7508c371df
@ -138,9 +138,12 @@ export class XTermFrontend extends Frontend {
|
||||
}
|
||||
}
|
||||
|
||||
const oldKeyUp = this.xtermCore._keyUp
|
||||
this.xtermCore._keyUp = (e: KeyboardEvent) => {
|
||||
this.xtermCore.updateCursorStyle(e)
|
||||
keyboardEventHandler('keyup', e)
|
||||
if (keyboardEventHandler('keyup', e)) {
|
||||
oldKeyUp(e)
|
||||
}
|
||||
}
|
||||
|
||||
this.xterm.buffer.onBufferChange(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user