VTermColor
void vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *default_bg);
void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col);
void vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermColor *default_bg);
void vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col);
VTermColor fg, bg;
VTermColor color;
static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color)
VTermColor *colp = (attr == VTERM_ATTR_BACKGROUND) ? &state->pen.bg : &state->pen.fg;
void vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *default_bg)
void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col)
void vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermColor *default_bg)
void vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col)
static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col)
static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col)
static const VTermColor ansi_colors[] = {
static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTermColor *col, int *index)
VTermColor fg, bg;
VTermColor default_fg;
VTermColor default_bg;
VTermColor colors[16]; // Store the 8 ANSI and the 8 ANSI high-brights only
VTermColor fg;
VTermColor bg;
static inline int vterm_color_equal(VTermColor a, VTermColor b)