From b65119b8a9df219af74306e276a08d7346628158 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Mar 2020 09:20:17 +0530 Subject: [PATCH] Color separators in the tab bar using inactive bg except for the last one --- kitty/tab_bar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/tab_bar.py b/kitty/tab_bar.py index be2866ba3fd..0fc81866b8d 100644 --- a/kitty/tab_bar.py +++ b/kitty/tab_bar.py @@ -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