From 4bf1e89cdb500166c3e19742e719f4d2dae751d2 Mon Sep 17 00:00:00 2001 From: winston Date: Wed, 21 Sep 2022 01:43:08 +0200 Subject: [PATCH] fix(wezterm): removed the wrong tab padding. whoops --- dot_config/wezterm/wezterm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_config/wezterm/wezterm.lua b/dot_config/wezterm/wezterm.lua index 25271ea..bda3b70 100644 --- a/dot_config/wezterm/wezterm.lua +++ b/dot_config/wezterm/wezterm.lua @@ -157,12 +157,12 @@ wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_wid end local muxpanes = wezterm.mux.get_tab(tab.tab_id):panes() - local count = #muxpanes == 1 and "" or #muxpanes .. " " + local count = #muxpanes == 1 and "" or #muxpanes return { { Background = { Color = s_bg } }, { Foreground = { Color = s_fg } }, - { Text = " " .. tab.tab_index + 1 .. ": " .. tab.active_pane.title .. numberStyle(count, "superscript") }, + { Text = " " .. tab.tab_index + 1 .. ": " .. tab.active_pane.title .. numberStyle(count, "superscript") .. " " }, { Background = { Color = e_bg } }, { Foreground = { Color = e_fg } }, { Text = RIGHT_DIVIDER },