mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 10:12:17 +02:00
Show tab name otherwise tab title for select_tab
This commit is contained in:
@@ -2153,7 +2153,7 @@ class Boss:
|
|||||||
|
|
||||||
def format_tab_title(tab: Tab) -> str:
|
def format_tab_title(tab: Tab) -> str:
|
||||||
w = 'windows' if tab.num_window_groups > 1 else 'window'
|
w = 'windows' if tab.num_window_groups > 1 else 'window'
|
||||||
return f'{tab.title} [{tab.num_window_groups} {w}]'
|
return f'{tab.name or tab.title} [{tab.num_window_groups} {w}]'
|
||||||
|
|
||||||
ct = self.active_tab
|
ct = self.active_tab
|
||||||
st = ''
|
st = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user