Skip to content

Commit

Permalink
Color separators in the tab bar using inactive bg except for the last…
Browse files Browse the repository at this point in the history
… one
  • Loading branch information
kovidgoyal committed Mar 29, 2020
1 parent 86703da commit b65119b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kitty/tab_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ def draw_tab_with_separator(draw_data: DrawData, screen: Screen, tab: TabBarData
end = screen.cursor.x
screen.cursor.bold = screen.cursor.italic = False
screen.cursor.fg = 0
if not is_last:
screen.cursor.bg = as_rgb(color_as_int(draw_data.inactive_bg))
screen.draw(draw_data.sep)
screen.cursor.bg = 0
return end
Expand Down

0 comments on commit b65119b

Please sign in to comment.