cursorStyle property
Implementation
VtStyle get cursorStyle {
final out = calloc<bindings.GhosttyStyle>();
try {
out.ref.size = ffi.sizeOf<bindings.GhosttyStyle>();
_checkResult(
bindings.ghostty_terminal_get(
_handle,
bindings.GhosttyTerminalData.GHOSTTY_TERMINAL_DATA_CURSOR_STYLE,
out.cast(),
),
'ghostty_terminal_get',
);
return VtStyle.fromNative(out.ref);
} finally {
calloc.free(out);
}
}