From d29faa0986557d559ca27ad3a40b56290edd5c7c Mon Sep 17 00:00:00 2001 From: pagedown Date: Sat, 22 Jan 2022 03:28:42 +0800 Subject: [PATCH] Allow tab title to be set to empty to use window title --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index 4aa0ef7fa..f3f4a4f72 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1425,7 +1425,7 @@ class Boss: def do_set_tab_title(self, title: str, tab_id: int) -> None: tm = self.active_tab_manager - if tm is not None and title: + if tm is not None: tab_id = int(tab_id) for tab in tm.tabs: if tab.id == tab_id: