diff --git a/dots/.config/wezterm/config/tabbar.lua b/dots/.config/wezterm/config/tabbar.lua index 88d76229..30c7b0e2 100644 --- a/dots/.config/wezterm/config/tabbar.lua +++ b/dots/.config/wezterm/config/tabbar.lua @@ -1,5 +1,6 @@ local wezterm = require("wezterm") local color_names = require("config.theme.colors").color_names +local log = require("lib.log") local edges = { solid = { @@ -14,6 +15,8 @@ local edges = { ---@diagnostic disable-next-line: unused-local wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_width) + log.debug("received event", { prefix = "format-tab-title", ignore_result = true }) + local function tab_title(tab_info) local title = tab_info.tab_title -- if the tab title is explicitly set, take that @@ -55,6 +58,7 @@ wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_wid end) wezterm.on("update-status", function(window, pane) + log.debug("received event", { prefix = "update-status", ignore_result = true }) -- Each element holds the text for a cell in a "powerline" style << fade -- Figure out the cwd and host of the current pane.