Beep when multi-key sequence is aborted by mismatch

This commit is contained in:
Kovid Goyal 2023-11-30 20:02:25 +05:30
parent 66bc86e4f2
commit 063a663958
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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)