mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
kitty @ set-colors: Fix changing inactive_tab_foreground not working
Fixes #5214
This commit is contained in:
@@ -501,6 +501,10 @@ class TabBar:
|
||||
fg = spec.get('inactive_tab_foreground')
|
||||
if fg is None:
|
||||
fg = color_as_int(opts.inactive_tab_foreground)
|
||||
else:
|
||||
ifg = color_from_int(fg)
|
||||
if ifg is not None:
|
||||
self.draw_data = self.draw_data._replace(inactive_fg=ifg)
|
||||
self.screen.color_profile.set_configured_colors(fg, bg)
|
||||
|
||||
def update_blank_rects(self, central: Region, tab_bar: Region, vw: int, vh: int) -> None:
|
||||
|
||||
Reference in New Issue
Block a user