This commit is contained in:
Kovid Goyal 2021-04-22 10:24:57 +05:30
parent 5d003ec772
commit b6c1e1a609
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -38,9 +38,10 @@ using this option means that you will not be notified of failures.
return {'match': opts.match} return {'match': opts.match}
def response_from_kitty(self, boss: Boss, window: Optional[Window], payload_get: PayloadGetType) -> ResponseType: def response_from_kitty(self, boss: Boss, window: Optional[Window], payload_get: PayloadGetType) -> ResponseType:
tabs = self.tabs_for_match_payload(boss, window, payload_get) for tab in self.tabs_for_match_payload(boss, window, payload_get):
if tabs: if tab:
boss.set_active_tab(tabs[0]) boss.set_active_tab(tab)
break
focus_tab = FocusTab() focus_tab = FocusTab()