mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
More typing work
Also use a mypy based linter when editing
This commit is contained in:
@@ -41,7 +41,7 @@ class SetTabTitle(RemoteCommand):
|
||||
if not tabs:
|
||||
raise MatchError(match, 'tabs')
|
||||
else:
|
||||
tabs = [boss.tab_for_window(window) if window else boss.active_tab]
|
||||
tabs = tuple(boss.tab_for_window(window) if window else boss.active_tab)
|
||||
for tab in tabs:
|
||||
if tab:
|
||||
tab.set_title(payload_get('title'))
|
||||
|
||||
Reference in New Issue
Block a user