ghostty_key_event_free function

  1. @Native<Void Function(GhosttyKeyEvent)>(GhosttyKeyEvent)>()
void ghostty_key_event_free(
  1. GhosttyKeyEvent event
)

Free a key event instance.

Releases all resources associated with the key event. After this call, the event handle becomes invalid and must not be used.

@param event The key event handle to free (may be NULL)

@ingroup key

Implementation

@ffi.Native<ffi.Void Function(GhosttyKeyEvent)>()
external void ghostty_key_event_free(GhosttyKeyEvent event);