about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--084console.mu4
1 files changed, 3 insertions, 1 deletions
diff --git a/084console.mu b/084console.mu
index 3677b84c..0faeb038 100644
--- a/084console.mu
+++ b/084console.mu
@@ -90,7 +90,9 @@ def wait-for-event console:&:console -> console:&:console [
   load-ingredients
   {
     _, found?:bool <- read-event console
-    loop-unless found?
+    break-if found?
+    switch
+    loop
   }
 ]