Queue a key press.
- ui: the UI to queue the event on.
- key: the key pressed.
- mods: the modifiers held.
- repeat: true for an auto-repeat rather than a fresh press.
send_key :: (
ui: *UI_State,
key: Key_Code,
mods: Modifiers = .{},
repeat: bool = false
)
Queue a key press.