diff --git a/tabby-core/src/services/hotkeys.service.ts b/tabby-core/src/services/hotkeys.service.ts index 9e4c7460..7c4bcc5c 100644 --- a/tabby-core/src/services/hotkeys.service.ts +++ b/tabby-core/src/services/hotkeys.service.ts @@ -145,6 +145,8 @@ export class HotkeysService { }) this.recognitionPhase = false } + this.pressedKeys.clear() + this.pressedKeyTimestamps.clear() this.removePressedKey(keyName) } @@ -296,6 +298,7 @@ export class HotkeysService { this._hotkey.next(hotkey) this.pressedHotkey = hotkey } + this.recognitionPhase = false } private emitHotkeyOff (hotkey: string) {