Change Window Title (OSC 2)
Change the name of the window title.
- 0x1B
- ESC
- 0x5D
- ]
- 0x32
- 2
- 0x3B
- ;
- ____
- t
- 0x1B
- ESC
- 0x5C
- \
Change the window title to t.
While xterm defaults to interpreting t as a ISO-8859-1-encoded string,
which can be changed via Set Title Mode (XTSMTITLE) to either accept a
hexadecimal-escaped or bare UTF-8 string, Ghostty always unconditionally
expects t to be directly UTF-8-encoded.