From 8020d5823b7d2931247df82ec38cd0528df60fa6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 30 Apr 2023 07:15:56 +0530 Subject: [PATCH] Fix #6225 --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index bc96b60a5..a25857659 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -2634,7 +2634,7 @@ class Boss: where = 'new' if args[0] == 'new-tab' else args[0][4:] return self._move_window_to(target_tab_id=where) ct = self.active_tab - items: List[Tuple[Union[str, int], str]] = [(t.id, t.title) for t in self.all_tabs if t is not ct] + items: List[Tuple[Union[str, int], str]] = [(t.id, t.effective_title) for t in self.all_tabs if t is not ct] items.append(('new_tab', 'New tab')) items.append(('new_os_window', 'New OS Window')) target_window = self.active_window