Since: Version 20201031-154415-9614e117
The functionality described in this section requires version 20201031-154415-9614e117 of wezterm, or a more recent version.
Returns the title of the pane. This will typically be
wezterm by default but
can be modified by applications that send
OSC 1 (Icon/Tab title changing)
OSC 2 (Window title changing) escape sequences.
The value returned by this method is the same as that used to display the
tab title if this pane were the only pane in the tab; if
OSC 1 was used
to set a non-empty string then that string will be returned. Otherwise the
OSC 2 will be returned.
Note that on Microsoft Windows the default behavior of the OS level PTY is to
OSC 2 sequences to the terminal as new programs attach to the
If the title text is
wezterm and the pane is a local pane, then wezterm will
attempt to resolve the executable path of the foreground process that is
associated with the pane and will use that instead of