Skip to content

Commit de61262

Browse files
committed
Fix adding tabs causing an exception because I forgot to extend the copied tabs list
1 parent 5740173 commit de61262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kitty/tabs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +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,)
13411342
if as_neighbor:
13421343
location = 'after'
13431344
if location == 'neighbor':

0 commit comments

Comments
 (0)