From a591304412ed6f3685232b4e64d339ccff366073 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 1 Feb 2022 13:39:42 +0530 Subject: [PATCH] ... --- kitty/tab_bar.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kitty/tab_bar.py b/kitty/tab_bar.py index 94ec41ce8..6e7c55d44 100644 --- a/kitty/tab_bar.py +++ b/kitty/tab_bar.py @@ -199,11 +199,11 @@ def draw_title(draw_data: DrawData, screen: Screen, tab: TabBarData, index: int) template = draw_data.active_title_template prefix = '' if eval_locals['bell_symbol'] and not template_has_field(template, 'bell_symbol'): - prefix = '{fmt.fg.red}{bell_symbol}{fmt.fg.default}' + prefix = '{bell_symbol}' if eval_locals['activity_symbol'] and not template_has_field(template, 'activity_symbol'): - prefix += '{fmt.fg.red}{activity_symbol}{fmt.fg.default}' + prefix += '{activity_symbol}' if prefix: - template = prefix + template + template = '{fmt.fg.red}' + prefix + '{fmt.fg.default}' + template try: title = eval(compile_template(template), {'__builtins__': {}}, eval_locals) except Exception as e: