kitty @ set-colors: Fix changing inactive_tab_foreground not working
Fixes #5214
This commit is contained in:
parent
8d18fc09fa
commit
f95bc48f9b
@ -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`)
|
- 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]
|
0.25.2 [2022-06-07]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
@ -501,6 +501,10 @@ class TabBar:
|
|||||||
fg = spec.get('inactive_tab_foreground')
|
fg = spec.get('inactive_tab_foreground')
|
||||||
if fg is None:
|
if fg is None:
|
||||||
fg = color_as_int(opts.inactive_tab_foreground)
|
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)
|
self.screen.color_profile.set_configured_colors(fg, bg)
|
||||||
|
|
||||||
def update_blank_rects(self, central: Region, tab_bar: Region, vw: int, vh: int) -> None:
|
def update_blank_rects(self, central: Region, tab_bar: Region, vw: int, vh: int) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user