Skip to content

Commit

Permalink
Merge pull request #26 from CFiggers:0.0.4
Browse files Browse the repository at this point in the history
Fix upstream dependency bug
  • Loading branch information
CFiggers committed Jan 2, 2023
2 parents 923da16 + 924f245 commit 60d258c
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 60d258c

Please sign in to comment.