Skip to main content

FG_COLOR

Constant FG_COLOR 

Source
pub const FG_COLOR: Type = 6;
Expand description

The resolved foreground color of the cell (GhosttyColorRgb). Resolves palette indices through the palette. Bold color handling is not applied; the caller should handle bold styling separately. Returns GHOSTTY_INVALID_VALUE if the cell has no explicit foreground color, in which case the caller should use whatever default foreground color it wants (e.g. the terminal foreground).