mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
...
This commit is contained in:
parent
a788cd9f64
commit
d160db1bcd
1 changed files with 3 additions and 2 deletions
|
|
@ -908,14 +908,15 @@ class Boss:
|
|||
cvs = self.current_visual_select
|
||||
|
||||
def chosen(ans: Union[None, int, str]) -> None:
|
||||
if cvs and self.current_visual_select is cvs and isinstance(ans, int):
|
||||
q = self.current_visual_select
|
||||
self.current_visual_select = None
|
||||
if cvs and q is cvs and isinstance(ans, int):
|
||||
for tab in self.all_tabs:
|
||||
if tab.id == tab_id:
|
||||
w = self.window_id_map.get(ans)
|
||||
if w is not None:
|
||||
cvs.callback(tab, w)
|
||||
break
|
||||
self.current_visual_select = None
|
||||
self.choose_entry(msg, windows, chosen)
|
||||
|
||||
@ac('win', '''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue