![]() |
libghostty-vt 0.0.0
|
#include <ghostty/vt/style.h>
Data Fields | |
| uint8_t | tag |
| GhosttyStyleColorValue | value |
Style color.
A color used by a style. It is either unset, an index into the terminal palette, or a direct RGB value. The struct is four bytes: a one-byte tag followed by the three-byte value.
An unset color means the style does not choose a color. Use the terminal's default color for that slot instead.
| uint8_t tag |
The kind of color. One of the GhosttyStyleColorTag values.
| GhosttyStyleColorValue value |
The color data. Which field is valid depends on tag.