![]() |
libghostty-vt 0.0.0
|
#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 |
| GhosttyCursorStyle | visual_style |
Render-state cursor information.
This is a sized struct. Initialize it with GHOSTTY_INIT_SIZED() before querying GHOSTTY_RENDER_STATE_DATA_CURSOR. See Sized Structs.
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 |
Whether the cursor is visible within the viewport.
| uint16_t viewport_x |
Cursor viewport x position in cells.
| uint16_t viewport_y |
Cursor viewport y position in cells.
| bool visible |
Whether the cursor is visible based on terminal modes.
| GhosttyCursorStyle visual_style |
The visual style of the cursor.
| bool wide_tail |