kittyFlags property
Kitty keyboard protocol flags.
Implementation
set kittyFlags(int flags) {
_ensureOpen();
if (flags < 0 || flags > 0xFF) {
throw RangeError.range(flags, 0, 0xFF, 'kittyFlags');
}
final ptr = calloc<ffi.Uint8>()..value = flags;
try {
bindings.ghostty_key_encoder_setopt(
_handle,
bindings.GhosttyKeyEncoderOption.GHOSTTY_KEY_ENCODER_OPT_KITTY_FLAGS,
ptr.cast(),
);
} finally {
calloc.free(ptr);
}
}