activeScreen property
Implementation
bindings.GhosttyTerminalScreen get activeScreen {
final out = calloc<ffi.UnsignedInt>();
try {
_checkResult(
bindings.ghostty_terminal_get(
_handle,
bindings.GhosttyTerminalData.GHOSTTY_TERMINAL_DATA_ACTIVE_SCREEN,
out.cast(),
),
'ghostty_terminal_get',
);
return bindings.GhosttyTerminalScreen.fromValue(out.value);
} finally {
calloc.free(out);
}
}