1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 07:46:59 +03:00
wezterm/docs/config/lua
Wez Furlong a282d07776 mux: add titles to mux window and tab objects
Previously, the mux layer had no internal understanding of titles other
than the Pane::get_title method to return state from a pane.

Users have asked for ways to explicitly set titles on windows and tabs,
so this commit is a step towards that.

The mux window and tab objects now store a title string.

The terminal layer now emits Alert::WindowTitleChanged when the window
title is changed via eg: OSC 0 or OSC 2.

The mux layer will respond to Alert::WindowTitleChanged by resolving the
window that corresponds to the source pane and amending its title.

The MuxWindow and MuxTab objects now provide accessor methods for the
title.

TabInformation (as used by format-tab-title and format-window-title) now
exposes the underlying window_id as well as tab_title and window_title.

The tab title can be changed via the lua MuxTab type, but there is not
currently an escape sequence associated with this.

The defaults for format-tab-title and format-window-title don't
currently consider these new title strings.

refs: https://github.com/wez/wezterm/issues/1598
2022-06-27 12:01:40 -07:00
..
config docs: update for release 2022-06-24 14:59:19 -07:00
gui-events docs: update for release 2022-06-24 14:59:19 -07:00
keyassignment ActivateKeyTable replace_current wasn't actually optional 2022-06-25 19:38:39 -07:00
mux-events docs: update for release 2022-06-24 14:59:19 -07:00
pane docs: update for release 2022-06-24 14:59:19 -07:00
wezterm docs: Use new wezterm.action.Action syntax in rest of the docs 2022-06-25 18:51:55 -07:00
wezterm.mux docs: update for release 2022-06-24 14:59:19 -07:00
window docs: Use new wezterm.action.Action syntax in rest of the docs 2022-06-25 18:51:55 -07:00
window-events docs: Use new wezterm.action.Action syntax in rest of the docs 2022-06-25 18:51:55 -07:00
general.md docs: start adding a reference section for Config 2021-01-18 17:31:39 -08:00
LocalProcessInfo.md docs: clarify why the short name of LocalProcessInfo is not preferred 2022-05-14 09:29:30 -07:00
MuxPane.md docs: update for release 2022-06-24 14:59:19 -07:00
MuxTab.md mux: add titles to mux window and tab objects 2022-06-27 12:01:40 -07:00
MuxWindow.md mux: add titles to mux window and tab objects 2022-06-27 12:01:40 -07:00
PaneInformation.md docs: update for release 2022-06-24 14:59:19 -07:00
SpawnCommand.md docs: more pane related docs 2020-10-10 10:49:36 -07:00
SshDomain.md docs: update for 20220319-142410-0fcdea07 2022-03-19 16:37:27 -07:00
TabInformation.md mux: add titles to mux window and tab objects 2022-06-27 12:01:40 -07:00
TlsDomainClient.md docs: update for 20220319-142410-0fcdea07 2022-03-19 16:37:27 -07:00
TlsDomainServer.md docs: document various missing things 2021-02-20 10:40:26 -08:00
WslDomain.md docs: update for 20220319-142410-0fcdea07 2022-03-19 16:37:27 -07:00