Skip to main content

TITLE

Constant TITLE 

Source
pub const TITLE: Type = 12;
Expand description

The terminal title as set by escape sequences (e.g. OSC 0/2).

Returns a borrowed string. The pointer is valid until the next call to ghostty_terminal_vt_write() or ghostty_terminal_reset(). An empty string (len=0) is returned when no title has been set.

Output type: GhosttyString *