diff --git a/dots/.config/wezterm/config/tabbar.lua b/dots/.config/wezterm/config/tabbar.lua index 36982e7c..ff3abc3a 100644 --- a/dots/.config/wezterm/config/tabbar.lua +++ b/dots/.config/wezterm/config/tabbar.lua @@ -50,7 +50,7 @@ wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_wid local edge_fg = color_names.kanagawa.oniViolet local title = tab_title(tab) - if #title > max_width then + if #title > max_width - 1 then title = " " .. wezterm.truncate_right(title, max_width - 6) .. "..." else title = " " .. title .. " "