Skip to content

Commit 543e113

Browse files
committed
...
1 parent de61262 commit 543e113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kitty/tabs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ def new_tab(
13251325
location: str = 'last',
13261326
) -> Tab:
13271327
idx = len(self.tabs)
1328-
tabs = self.tabs_to_be_shown_in_tab_bar_as_sequence
1328+
tabs = tuple(self.tabs_to_be_shown_in_tab_bar)
13291329
orig_active_tab_idx = 0
13301330
with suppress(ValueError):
13311331
orig_active_tab_idx = tabs.index(self.active_tab)
@@ -1338,7 +1338,7 @@ def new_tab(
13381338
for w in t:
13391339
w.created_in_session_name = session_name
13401340
self._add_tab(t)
1341-
tabs = tuple(tabs) + (t,)
1341+
tabs = tabs + (t,)
13421342
if as_neighbor:
13431343
location = 'after'
13441344
if location == 'neighbor':

0 commit comments

Comments
 (0)