mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 02:17:03 +00:00
Show tab name otherwise tab title for select_tab
This commit is contained in:
parent
f219b10c30
commit
dcd7890a0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue