Back to Ghostty Org

Reset Dynamic Colors (OSC 110–119)

docs/vt/osc/11x.mdx

latest938 B
Original Source

<VTSequence sequence={["OSC", "Pn", "ST"]} />

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:

nColor
110Foreground color
111Background color
112Cursor color
113Pointer foreground color
114Pointer background color
115Tektronix foreground color
116Tektronix background color
117Highlight background color
118Tektronix cursor color
119Highlight foreground color

[!NOTE]

Currently, Ghostty only supports n between 110 and 112 inclusive. All other dynamic colors are ignored.

[!NOTE]

xterm allows a trailing semicolon (;) to come after n.