diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-21 22:22:23 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-21 22:22:23 -0400 |
commit | 3ae0550bc73ab825a65d98eeda1c2d2431c4ecfb (patch) | |
tree | 3bc4efe58f617c5f36d598579722a32e03ad6eab /examples/coroutine.scm | |
parent | 1690105218d8ec77abc31bcbecfc6794a9be0a14 (diff) |
Update examples to reflect changes in keyboard events.
Diffstat (limited to 'examples/coroutine.scm')
-rw-r--r-- | examples/coroutine.scm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/coroutine.scm b/examples/coroutine.scm index bb3f6ab..d2a53d3 100644 --- a/examples/coroutine.scm +++ b/examples/coroutine.scm @@ -6,8 +6,6 @@ (2d sprite) (2d game-loop) (2d window) - (2d vector) - (2d input) (2d helpers) (2d agenda) (2d coroutine)) @@ -19,7 +17,7 @@ (define sprite #f) (define (key-down key mod unicode) - (cond ((any-equal? key (keycode escape) (keycode q)) + (cond ((any-equal? key 'escape 'q) (close-window) (quit)))) |