aboutsummaryrefslogtreecommitdiff
path: root/main.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-03-20 21:41:36 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-03-21 01:53:21 +0100
commitadd69e1e05246e31d9f01460dc388f295fd4821c (patch)
treec19a14c2c297513bb3e03e838749b0b54d9892cd /main.scm
parentMove time procedures from main to where they belong. (diff)
downloadcalp-add69e1e05246e31d9f01460dc388f295fd4821c.tar.gz
calp-add69e1e05246e31d9f01460dc388f295fd4821c.tar.xz
Some cleanup.
Diffstat (limited to '')
-rwxr-xr-xmain.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.scm b/main.scm
index 95647810..71ea2ed4 100755
--- a/main.scm
+++ b/main.scm
@@ -104,6 +104,11 @@
;; (format #t "c = ~c (~d)~%" char (char->integer char))
(unless (or (eof-object? char)
+ ;; TODO this requires that `q' is pressed as many
+ ;; times as other inputs where pressed to actually
+ ;; quit.
+ ;; ^C only works because it force closes the
+ ;; program.
(memv char (list #\q (ctrl #\C))))
(loop (read-char (current-input-port)))))))