@@ -43,6 +43,10 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
||||
- Allow deleting environment variables in :opt:`env` by specifying
|
||||
just the variable name, without a value
|
||||
|
||||
- Fix :opt:`active_tab_foreground` not being honored when :opt:`tab_bar_style`
|
||||
is ``slant`` (:iss:`4053`)
|
||||
|
||||
|
||||
|
||||
0.23.1 [2021-08-17]
|
||||
----------------------
|
||||
|
||||
@@ -181,6 +181,7 @@ def draw_tab_with_slant(
|
||||
before: int, max_title_length: int, index: int, is_last: bool,
|
||||
extra_data: ExtraData
|
||||
) -> int:
|
||||
orig_fg = screen.cursor.fg
|
||||
left_sep, right_sep = ('', '') if draw_data.tab_bar_edge == 'top' else ('', '')
|
||||
tab_bg = as_rgb(color_as_int(draw_data.active_bg if tab.is_active else draw_data.inactive_bg))
|
||||
slant_fg = as_rgb(color_as_int(draw_data.default_bg))
|
||||
@@ -190,7 +191,7 @@ def draw_tab_with_slant(
|
||||
screen.cursor.fg = slant_fg
|
||||
screen.draw(which)
|
||||
screen.cursor.bg = tab_bg
|
||||
screen.cursor.fg = 0
|
||||
screen.cursor.fg = orig_fg
|
||||
|
||||
max_title_length += 1
|
||||
if max_title_length <= 1:
|
||||
|
||||
Reference in New Issue
Block a user