about summary refs log tree commit diff stats
path: root/prototypes/browse/23/main.mu
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes/browse/23/main.mu')
-rw-r--r--prototypes/browse/23/main.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/prototypes/browse/23/main.mu b/prototypes/browse/23/main.mu
index c936a575..cf2fef0d 100644
--- a/prototypes/browse/23/main.mu
+++ b/prototypes/browse/23/main.mu
@@ -14,6 +14,8 @@ fn main args: (addr array (addr array byte)) -> exit-status/ebx: int {
   {
     render fs, screen-position-state
     var key/eax: byte <- read-key
+    compare key, 0x71  # 'q'
+    loop-if-!=
   }
   enable-keyboard-type-mode
   enable-screen-type-mode