From e3a4150fea3b97b7cf5c61c7abd962c68e63c1a5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 29 Jul 2022 08:15:38 +0530 Subject: [PATCH] Second draw attempt has single fade edge --- 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 2b2284915..a09e64b93 100644 --- a/kitty/tab_bar.py +++ b/kitty/tab_bar.py @@ -321,7 +321,7 @@ def draw_tab_with_fade( extra = screen.cursor.x - before - max_title_length if extra > 0: screen.cursor.x = before - draw_title(draw_data, screen, tab, index, max(0, max_title_length - 8)) + draw_title(draw_data, screen, tab, index, max(0, max_title_length - 4)) extra = screen.cursor.x - before - max_title_length if extra > 0: screen.cursor.x -= extra + 1