From 521fe39e4d99837fd460296ac94e3b890eb95e43 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Jan 2017 22:36:46 +0530 Subject: [PATCH] Fix starting up with multiple windows causing the active window border to be drawn around the wrong window --- kitty/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index ec964d34d..2cb445651 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -50,7 +50,7 @@ class Tab: def startup(self, session_tab): for cmd in session_tab.windows: self.new_window(cmd=cmd) - self.active_window_idx = session_tab.active_window_idx + self.set_active_window_idx(session_tab.active_window_idx) @property def is_visible(self):