mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Fix canceling the select window overlay not calling the callback in stack layout
This commit is contained in:
parent
905fbeec14
commit
8630c7a700
1 changed files with 2 additions and 2 deletions
|
|
@ -947,8 +947,8 @@ class Boss:
|
|||
def chosen(ans: Union[None, int, str]) -> None:
|
||||
q = self.current_visual_select
|
||||
self.current_visual_select = None
|
||||
if cvs and q is cvs and isinstance(ans, int):
|
||||
q.trigger(ans)
|
||||
if cvs and q is cvs:
|
||||
q.trigger(ans if isinstance(ans, int) else 0)
|
||||
return self.choose_entry(msg, windows, chosen)
|
||||
|
||||
@ac('win', '''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue