Show main menu hint in tab bar

This commit is contained in:
2026-07-16 21:18:53 +09:00
parent df38de097b
commit 622e6dd781

View File

@@ -95,6 +95,15 @@ end)
local pane_start_times = {} local pane_start_times = {}
wezterm.on("update-right-status", function(window, pane) wezterm.on("update-right-status", function(window, pane)
window:set_left_status(wezterm.format({
{ Background = { Color = "#89b4fa" } },
{ Foreground = { Color = "#1e1e2e" } },
{ Text = "" },
{ Background = { Color = "#313244" } },
{ Foreground = { Color = "#cdd6f4" } },
{ Text = " Menu: Ctrl+a m " },
}))
local pane_id = pane:pane_id() local pane_id = pane:pane_id()
if not pane_start_times[pane_id] then if not pane_start_times[pane_id] then
pane_start_times[pane_id] = os.time() pane_start_times[pane_id] = os.time()