From 941fe918fb97a0a90a6b2c665a9bff246bec86c4 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Fri, 1 May 2020 10:29:18 +0200 Subject: [PATCH] Omit final tab separator This makes tab separators only drawn between the tabs. Relates to #2616 --- kitty/tab_bar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/tab_bar.py b/kitty/tab_bar.py index 0fc81866b..69d82141e 100644 --- a/kitty/tab_bar.py +++ b/kitty/tab_bar.py @@ -84,7 +84,7 @@ def draw_tab_with_separator(draw_data: DrawData, screen: Screen, tab: TabBarData 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.draw(draw_data.sep) screen.cursor.bg = 0 return end