ghostty_key_event_set_mods function

  1. @Native<Void Function(GhosttyKeyEvent, GhosttyMods)>(GhosttyKeyEvent, GhosttyMods)>()
void ghostty_key_event_set_mods(
  1. GhosttyKeyEvent event,
  2. int mods
)

Set the modifier keys bitmask.

@param event The key event handle, must not be NULL @param mods The modifier keys bitmask to set

@ingroup key

Implementation

@ffi.Native<ffi.Void Function(GhosttyKeyEvent, GhosttyMods)>()
external void ghostty_key_event_set_mods(GhosttyKeyEvent event, int mods);