about summary refs log tree commit diff stats
path: root/baremetal/life.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-02-13 20:19:11 -0800
committerKartik Agaram <vc@akkartik.com>2021-02-13 20:19:11 -0800
commitfdc9096dfdcba8c14e3b9b490e85a0c0d86c0246 (patch)
tree165b3b275bcd9152f6c37c055de36be6a631aa55 /baremetal/life.mu
parent535fe9ac96dba0950efd1bfe6788801f6197971f (diff)
downloadmu-fdc9096dfdcba8c14e3b9b490e85a0c0d86c0246.tar.gz
7738
Diffstat (limited to 'baremetal/life.mu')
-rw-r--r--baremetal/life.mu7
1 files changed, 2 insertions, 5 deletions
diff --git a/baremetal/life.mu b/baremetal/life.mu
index a2e1124b..c8643ea9 100644
--- a/baremetal/life.mu
+++ b/baremetal/life.mu
@@ -238,12 +238,9 @@ fn main {
   render grid1
   {
     var key/eax: byte <- read-key 0/keyboard
-#?     # press key to step
-#?     compare key, 0
-#?     loop-if-=
-    # press key to quit
     compare key, 0
-    break-if-!=
+#?     loop-if-=  # press key to step
+    break-if-!=  # press key to quit
     # iter: grid1 -> grid2
     step grid1, grid2
     render grid2