From 063a663958f2e7ad6722503f8a8ca6a82523588d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 30 Nov 2023 20:02:25 +0530 Subject: [PATCH] Beep when multi-key sequence is aborted by mismatch --- kitty/boss.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/boss.py b/kitty/boss.py index dc2771320..8fdc81537 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1366,6 +1366,8 @@ def dispatch_possible_special_key(self, ev: KeyEvent) -> bool: if self.global_shortcuts_map and get_shortcut(self.global_shortcuts_map, ev): return True if self.pop_keyboard_mode(): + if get_options().enable_audio_bell: + ring_bell() return True else: final_action = self.matching_key_action(key_action)