diff --git a/docs/config/lua/window-events/format-tab-title.md b/docs/config/lua/window-events/format-tab-title.md index 72ca2c14d..d8a0b31a4 100644 --- a/docs/config/lua/window-events/format-tab-title.md +++ b/docs/config/lua/window-events/format-tab-title.md @@ -103,7 +103,7 @@ function tab_title(tab_info) end -- Otherwise, use the title from the active pane -- in that tab - return tab.active_pane.title + return tab_info.active_pane.title end wezterm.on(