ghostty_key_event_get_mods function

  1. @Native<GhosttyMods Function(GhosttyKeyEvent)>(GhosttyKeyEvent)>()
int ghostty_key_event_get_mods(
  1. GhosttyKeyEvent event
)

Get the modifier keys bitmask.

@param event The key event handle, must not be NULL @return The modifier keys bitmask

@ingroup key

Implementation

@ffi.Native<GhosttyMods Function(GhosttyKeyEvent)>()
external int ghostty_key_event_get_mods(GhosttyKeyEvent event);