diff --git a/docs/changelog.rst b/docs/changelog.rst index 0037410e5..712c57670 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -49,6 +49,8 @@ Detailed list of changes - macOS: Remote control: Fix unable to launch a new OS window or background process when there is no OS window (:iss:`5210`) +- kitty @ set-colors: Fix changing inactive_tab_foreground not working (:iss:`5214`) + 0.25.2 [2022-06-07] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/tab_bar.py b/kitty/tab_bar.py index 3d3470ae0..776105cd2 100644 --- a/kitty/tab_bar.py +++ b/kitty/tab_bar.py @@ -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: