Skip to content

Commit

Permalink
Fix upstream dependency bug
Browse files Browse the repository at this point in the history
Addresses GH issue `Freeze when trying to quite` #21
  • Loading branch information
CFiggers committed Jan 1, 2023
1 parent 583fe99 commit 924f245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.janet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:dependencies ["https://www.github.com/andrewchambers/janet-jdn"
"https://www.github.com/CFiggers/janet-termios"
"https://www.github.com/janet-lang/spork"
"https://www.github.com/MorganPeterson/jermbox"])
"https://www.github.com/CFiggers/jermbox"])

(declare-executable
:name "joule"
Expand Down
2 changes: 1 addition & 1 deletion src/jermbox.janet
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
(jermbox/poll-event event)
(array/push keystrokes (get-key-struct event))
(when (deep= keystrokes @[{:character 0 :key 27 :modifier 0 :x 0 :y 0 :width 0 :height 0}])
(while (jermbox/peek-event event 10)
(while (jermbox/peek-event event 1)
(array/push keystrokes (get-key-struct event))))
keystrokes)

Expand Down

0 comments on commit 924f245

Please sign in to comment.