mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
Respect enable_audio_bell when a layout action fails
This commit is contained in:
parent
da13d03b98
commit
a5a6880a19
1 changed files with 2 additions and 1 deletions
|
|
@ -359,7 +359,8 @@ class Tab: # {{{
|
|||
def layout_action(self, action_name: str, args: Sequence[str]) -> None:
|
||||
ret = self.current_layout.layout_action(action_name, args, self.windows)
|
||||
if ret is None:
|
||||
ring_bell()
|
||||
if get_options().enable_audio_bell:
|
||||
ring_bell()
|
||||
return
|
||||
self.relayout()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue