![]() |
libghostty-vt 0.0.0
|
#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 is a sized struct. Initialize it with GHOSTTY_INIT_SIZED() before querying GHOSTTY_RENDER_STATE_DATA_COLORS. See Sized Structs.
Example:
| GhosttyColorRgb background |
The default/current background color for the render state.
| GhosttyColorRgb cursor |
| bool cursor_has_value |
| GhosttyColorRgb foreground |
The default/current foreground color for the render state.
| GhosttyColorRgb palette[256] |
The active 256-color palette for this render state.
| size_t size |