From de61262563116bc6b602ac99c5ee0022de633f7c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 24 Aug 2025 20:05:49 +0530 Subject: [PATCH] Fix adding tabs causing an exception because I forgot to extend the copied tabs list --- kitty/tabs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/tabs.py b/kitty/tabs.py index 2696d8e2e..c280d3048 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -1338,6 +1338,7 @@ class TabManager: # {{{ for w in t: w.created_in_session_name = session_name self._add_tab(t) + tabs = tuple(tabs) + (t,) if as_neighbor: location = 'after' if location == 'neighbor':