From fe7f3233baf60c44c7100c99cee56d43ac6244fc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 7 Sep 2017 21:17:07 +0530 Subject: [PATCH] Fix initial tab bar visibility when starting a session with multiple tabs --- kitty/tabs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/tabs.py b/kitty/tabs.py index 1c9175ab6..72e88eb81 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -308,6 +308,8 @@ class TabManager: def init(self, startup_session): self.tabs = [Tab(self.opts, self.args, self.title_changed, t) for t in startup_session.tabs] self.active_tab_idx = startup_session.active_tab_idx + if len(self.tabs) > 1: + get_boss().tabbar_visibility_changed() self.update_tab_bar() def update_tab_bar(self):