mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Fix set_tab_title without prefilling not working
This commit is contained in:
parent
0ddad7474b
commit
f479c90533
1 changed files with 4 additions and 1 deletions
|
|
@ -2381,7 +2381,10 @@ class Boss:
|
|||
if (w := self.window_id_map.get(tab.renaming_in_window)) is not None and w in tab:
|
||||
tab.set_active_window(w)
|
||||
return
|
||||
prefilled = (tab.name or tab.title).strip()
|
||||
if title in ('" "', "' '"):
|
||||
prefilled = ''
|
||||
else:
|
||||
prefilled = (tab.name or tab.title).strip()
|
||||
tab_id = tab.id
|
||||
|
||||
def on_rename_done(new_title: str) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue