summaryrefslogtreecommitdiff
path: root/examples/coroutine.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-07-21 22:22:23 -0400
committerDavid Thompson <dthompson2@worcester.edu>2013-07-21 22:22:23 -0400
commit3ae0550bc73ab825a65d98eeda1c2d2431c4ecfb (patch)
tree3bc4efe58f617c5f36d598579722a32e03ad6eab /examples/coroutine.scm
parent1690105218d8ec77abc31bcbecfc6794a9be0a14 (diff)
Update examples to reflect changes in keyboard events.
Diffstat (limited to 'examples/coroutine.scm')
-rw-r--r--examples/coroutine.scm4
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))))