about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-10 05:55:01 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-10 05:55:01 -0700
commitcf9af278782a0ac030a249c5f5c95c0868956123 (patch)
tree66e70c3d84a57d24dd106b29b2576d75cd3a078f
parentd94d8243efb851a7c9ba3050e4bc54958854d36a (diff)
downloadmu-cf9af278782a0ac030a249c5f5c95c0868956123.tar.gz
1320
-rw-r--r--074keyboard.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/074keyboard.mu b/074keyboard.mu
index d79d20f6..d61fff15 100644
--- a/074keyboard.mu
+++ b/074keyboard.mu
@@ -58,8 +58,8 @@ recipe send-keys-to-channel [
   chan:address:channel <- next-ingredient
   screen:address <- next-ingredient
   {
-    c:character <- read-key keyboard:address
-    loop-unless c:character
+    c:character, found?:boolean <- read-key keyboard:address
+    loop-unless found?:boolean
     print-character screen:address, c:character
     chan:address:channel <- write chan:address:channel, c:character
     # todo: eof