more typing work

This commit is contained in:
Kovid Goyal
2020-03-09 13:32:45 +05:30
parent 92827ae647
commit c817ba9eae
14 changed files with 163 additions and 81 deletions

View File

@@ -43,7 +43,8 @@ If specified detach the tab this command is run in, rather than the active tab.
if not tabs:
raise MatchError(match)
else:
tabs = tuple(window.tabref() if payload_get('self') and window and window.tabref() else boss.active_tab)
tab = window.tabref()
tabs = tuple(tab if payload_get('self') and window and tab else boss.active_tab)
match = payload_get('target_tab')
kwargs = {}
if match: