This commit is contained in:
Kovid Goyal 2023-04-30 07:15:56 +05:30
parent 73f10aaf43
commit 8020d5823b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -2634,7 +2634,7 @@ class Boss:
where = 'new' if args[0] == 'new-tab' else args[0][4:] where = 'new' if args[0] == 'new-tab' else args[0][4:]
return self._move_window_to(target_tab_id=where) return self._move_window_to(target_tab_id=where)
ct = self.active_tab 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_tab', 'New tab'))
items.append(('new_os_window', 'New OS Window')) items.append(('new_os_window', 'New OS Window'))
target_window = self.active_window target_window = self.active_window