Also update ANSI color table for tab bar screen objects

This commit is contained in:
Kovid Goyal 2023-05-14 07:13:49 +05:30
parent dd63d35cf4
commit 9a0068e318
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -574,6 +574,7 @@ class TabBar:
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.update_ansi_color_table(build_ansi_color_table(opts))
@property
def current_colors(self) -> Dict[str, Color]: