TerminalColorPalette
Immutable resolved terminal color palette.
Colors are stored as packed ARGB integers so painting code can resolve cell foreground and background colors without allocating platform color objects per cell.
Parameters
256-entry indexed palette in packed ARGB form.
Constructors
Properties
whether indexed ANSI 0..7 foreground colors should use bright variants 8..15 when bold is active.
cursor background ARGB color.
cursor foreground ARGB color.
default background ARGB color.
default foreground ARGB color.
selection background ARGB color.
selection foreground ARGB color.
Functions
Resolves the background color for attrWord.
Creates a palette with selected properties replaced.
Copies the indexed palette into destination.
Resolves the foreground color for attrWord.
Returns an indexed palette color without exposing mutable palette storage.
Returns a newly allocated copy of the indexed palette.