pub const PWD: Type = 13;Expand description
The terminal’s current working directory as set by escape sequences (e.g. OSC 7).
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 pwd has been set.
Output type: GhosttyString *