mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 19:01:27 +00:00
...
This commit is contained in:
parent
9a58af12b4
commit
a4514fcf66
1 changed files with 2 additions and 2 deletions
|
|
@ -1195,13 +1195,13 @@ class TabManager: # {{{
|
|||
@property
|
||||
def tab_bar_should_be_visible(self) -> bool:
|
||||
if self.tab_being_dropped is not None:
|
||||
return True
|
||||
return True # keep tab bar visible in the dest
|
||||
count = get_options().tab_bar_min_tabs
|
||||
if count < 1:
|
||||
return True
|
||||
tab_id, drag_started = get_tab_being_dragged()[:2]
|
||||
if drag_started and self.tab_for_id(tab_id) is not None:
|
||||
return True # keep tab bar visible in the source tab
|
||||
return True # keep tab bar visible in the source
|
||||
for t in self.tabs_to_be_shown_in_tab_bar:
|
||||
count -= 1
|
||||
if count < 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue