pub unsafe extern "C" fn ghostty_key_encoder_new(
allocator: *const Allocator,
encoder: *mut KeyEncoder,
) -> TypeExpand description
Create a new key encoder instance.
Creates a new key encoder with default options. The encoder can be configured using ghostty_key_encoder_setopt() and must be freed using ghostty_key_encoder_free() when no longer needed.