From 97c3061b8f5b0007864c8148ded08a8c2f94a036 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 13 Jun 2020 12:33:15 +0530 Subject: [PATCH] Allow having no tab separator Fixes #2761 --- kitty/config_data.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/config_data.py b/kitty/config_data.py index 090a90eba..330696c1c 100644 --- a/kitty/config_data.py +++ b/kitty/config_data.py @@ -798,6 +798,8 @@ def tab_separator(x: str) -> str: for q in '\'"': if x.startswith(q) and x.endswith(q): x = x[1:-1] + if not x: + return '' break if not x.strip(): x = ('\xa0' * len(x)) if x else default_tab_separator