Dont use neighboring tab colors for tab bar margins on translucent OS windows

The colors are rendered semi-transparent which effectively means they blend
with background unlike the neighboring colors and end up not matching
This commit is contained in:
Kovid Goyal
2026-03-15 09:20:33 +05:30
parent b93f1badd1
commit b3b7d0596d
3 changed files with 8 additions and 2 deletions

View File

@@ -1795,7 +1795,9 @@ opt('tab_bar_margin_color', 'none',
long_text='''
Color for the tab bar margin area. Defaults to using the terminal background
color for margins above and below the tab bar. For side margins the default
color is chosen to match the background color of the neighboring tab.
color is chosen to match the background color of the neighboring tab, unless
the window is translucent, in which case the default background is used as it
looks better.
''')
opt(