![]() |
libghostty
|
#include <ghostty/vt/render.h>
Data Fields | |
| size_t | size |
| bool | viewport_has_value |
| uint16_t | viewport_x |
| uint16_t | viewport_y |
| bool | wide_tail |
| bool | visible |
| bool | blinking |
| bool | password_input |
| GhosttyRenderStateCursorVisualStyle | visual_style |
Render-state cursor information.
This struct uses the sized-struct ABI pattern. Initialize with GHOSTTY_INIT_SIZED(GhosttyRenderStateCursor) before querying GHOSTTY_RENDER_STATE_DATA_CURSOR.
When viewport_has_value is false, viewport_x, viewport_y, and wide_tail contain undefined data and must not be read.
| bool blinking |
| bool password_input |
| size_t size |
| bool viewport_has_value |
| bool visible |
| GhosttyRenderStateCursorVisualStyle visual_style |
| bool wide_tail |