mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-22 13:12:23 +00:00
Fix initial tab bar visibility when starting a session with multiple tabs
This commit is contained in:
parent
a52f0939df
commit
fe7f3233ba
1 changed files with 2 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue