Make the os window id available in tab bar drawing

This commit is contained in:
Kovid Goyal 2025-10-24 07:32:36 +05:30
parent 0a6ed15858
commit c7117c2839
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -72,6 +72,7 @@ class DrawData(NamedTuple):
powerline_style: PowerlineStyle
tab_bar_edge: EdgeLiteral
max_tab_title_length: int
os_window_id: int
def tab_fg(self, tab: TabBarData) -> int:
if tab.is_active:
@ -598,7 +599,7 @@ def apply_options(self) -> None:
opts.tab_activity_symbol,
opts.tab_powerline_style,
'bottom' if opts.tab_bar_edge == BOTTOM_EDGE else 'top',
opts.tab_title_max_length,
opts.tab_title_max_length, self.os_window_id,
)
ts = opts.tab_bar_style
if ts == 'separator':