Show tab name otherwise tab title for select_tab

This commit is contained in:
Gary Sentosa 2022-02-14 15:48:08 +09:00
parent f219b10c30
commit dcd7890a0c

View File

@ -2153,7 +2153,7 @@ class Boss:
def format_tab_title(tab: Tab) -> str:
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
st = ''