Respect enable_audio_bell when a layout action fails
This commit is contained in:
parent
da13d03b98
commit
a5a6880a19
@ -359,6 +359,7 @@ 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:
|
||||
if get_options().enable_audio_bell:
|
||||
ring_bell()
|
||||
return
|
||||
self.relayout()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user