ghostty_key_event_get_consumed_mods function

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

Get the consumed modifiers bitmask.

@param event The key event handle, must not be NULL @return The consumed modifiers bitmask

@ingroup key

Implementation

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