summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-07-06 22:05:42 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-07-06 22:05:42 -0400
commita1da8e04d8e97ec5c74f0ac89a60dc0ba6f55ef6 (patch)
treeba2bdb6b073ab4e0be938f4b2c5e1d92a9458f54 /README.org
parent3f04eb600191e4c3ecf83590b6179eeb444e75b3 (diff)
Fix example code in README.
Diffstat (limited to 'README.org')
-rw-r--r--README.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.org b/README.org
index 491aade..05ad481 100644
--- a/README.org
+++ b/README.org
@@ -24,7 +24,8 @@
(use-modules (figl gl)
(2d sprite)
(2d game-loop)
- (2d window))
+ (2d window)
+ (2d input))
(define window-width 800)
(define window-height 600)
@@ -34,7 +35,7 @@
(display key) (newline)
(case key
;; Quit program when ESCAPE or Q is pressed.
- ((any-equal? key (keycode escape) (keycode q)
+ ((any-equal? key (keycode escape) (keycode q))
(close-window)
(quit))))