Key up events should properly propagate #84

Closed
opened 2025-07-06 16:50:13 +00:00 by scott · 1 comment
Owner

Right now, the key_up events aren't propagating through to Ludus properly. In this code, it is not happening.

fn a_listener! () -> {
  if key_pressed? ("a")
    then print! ("AAAAAAA!")
    else nil
  sleep! (1000)
  a_listener! ()
}

a_listener! ()
Right now, the `key_up` events aren't propagating through to Ludus properly. In this code, it is not happening. ``` fn a_listener! () -> { if key_pressed? ("a") then print! ("AAAAAAA!") else nil sleep! (1000) a_listener! () } a_listener! () ```
scott added the
bug
label 2025-07-06 16:56:28 +00:00
scott added this to the Core: CC2 milestone 2025-07-06 16:56:30 +00:00
Author
Owner

Fixed, and working with keyboard events in e768323a6c

Fixed, and working with keyboard events in https://alea.ludus.dev/twc/rudus/commit/e768323a6c990df805efee408a555ed856d93f1d
scott closed this issue 2025-07-06 23:06:45 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#84
No description provided.