Query or Change Dynamic Colors (OSC 110–119)
Query or change dynamic colors based on their indices.
- 0x1B
- ESC
- 0x5D
- ]
- ____
- n
- 0x1B
- ESC
- 0x5C
- \
When n is between 110 and 119 inclusive, reset the
dynamic color corresponding to n.
The correspondence between n and the dynamic colors are as follows:
n | Color |
|---|---|
110 | Foreground color |
111 | Background color |
112 | Cursor color |
113 | Pointer foreground color |
114 | Pointer background color |
115 | Tektronix foreground color |
116 | Tektronix background color |
117 | Highlight background color |
118 | Tektronix cursor color |
119 | Highlight foreground color |
Note
Currently, Ghostty only supports
nbetween110and112inclusive. All other dynamic colors are ignored.
Note
xterm allows a trailing semicolon (
;) to come aftern.