libghostty
Loading...
Searching...
No Matches
GhosttyColorPaletteMask Struct Reference

#include <ghostty/vt/color.h>

Detailed Description

A 256-bit mask of palette indices.

Index i is set iff (bits[i >> 6] >> (i & 63)) & 1 is 1. The mask is typically initialized to zero and then populated with GHOSTTY_COLOR_PALETTE_MASK_SET().

// Index 20 will be preserved.
}
#define GHOSTTY_COLOR_PALETTE_MASK_SET(mask, index)
Definition color.h:202
#define GHOSTTY_COLOR_PALETTE_MASK_IS_SET(mask, index)
Definition color.h:225

Definition at line 160 of file color.h.


The documentation for this struct was generated from the following file: