ghostty_key_event_set_consumed_mods function

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

Set the consumed modifiers bitmask.

@param event The key event handle, must not be NULL @param consumed_mods The consumed modifiers bitmask to set

@ingroup key

Implementation

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