Just show id in tab.

This commit is contained in:
Gea-Suan Lin
2024-03-13 17:53:22 +08:00
parent 0662954103
commit 616b3d8dcb

View File

@@ -30,6 +30,9 @@ config.window_padding = {
top = 0, top = 0,
} }
wezterm.on('format-tab-title', function(tab, tabs, panes, config, hover, max_width)
return tab.tab_id
end)
wezterm.on('format-window-title', function(tab, pane, tabes, panes, config) wezterm.on('format-window-title', function(tab, pane, tabes, panes, config)
return 'WezTerm ' .. wezterm.version return 'WezTerm ' .. wezterm.version
end) end)