![]() |
libghostty
|
#include <ghostty/vt/render.h>
Data Fields | |
| size_t | size |
| GhosttyColorRgb | background |
| GhosttyColorRgb | foreground |
| GhosttyColorRgb | cursor |
| bool | cursor_has_value |
| GhosttyColorRgb | palette [256] |
Render-state color information.
This struct uses the sized-struct ABI pattern. Initialize with GHOSTTY_INIT_SIZED(GhosttyRenderStateColors) before querying GHOSTTY_RENDER_STATE_DATA_COLORS.
Example:
| GhosttyColorRgb background |
| GhosttyColorRgb cursor |
| bool cursor_has_value |
| GhosttyColorRgb foreground |
| GhosttyColorRgb palette[256] |
| size_t size |