From ec375ad3c600d1315fc16db222fefcbbe1eb38f1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 14 Feb 2023 21:31:23 +0530 Subject: [PATCH] Dont strip title for tabs to allow for leading and trailing whitespace. Fixes #6013 --- kitty/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index d51f61de5..7666c3178 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -1129,7 +1129,7 @@ class TabManager: # {{{ at = self.active_tab ans = [] for t in self.tabs: - title = (t.name or t.title or appname).strip() + title = t.name or t.title or appname needs_attention = False has_activity_since_last_focus = False for w in t: