about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-26 21:53:02 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-26 21:53:02 -0700
commit8bbd494aaa75c2a9c527a2e701ce4e8a651b6b02 (patch)
treec105983a26bfed4939dba6039bbde2909e438f70
parentd5ac55d3ca8b651a63aa677f509833dffa05aab9 (diff)
downloadmu-8bbd494aaa75c2a9c527a2e701ce4e8a651b6b02.tar.gz
7117
-rw-r--r--apps/tile/environment.mu6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index e8221a34..5661ce54 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -1550,14 +1550,16 @@ fn clear-canvas _env: (addr environment) {
   start-col <- subtract 0x18
   move-cursor screen, 1, start-col
   print-string screen, "primitives:"
-  move-cursor screen, 5, start-col
-  print-string screen, "functions:"
   start-col <- add 2
   move-cursor screen, 2, start-col
   print-string screen, "+ - * len open read"
   move-cursor screen, 3, start-col
   print-string screen, "dup swap"
   # currently defined functions
+  start-col <- subtract 2
+  move-cursor screen, 5, start-col
+  print-string screen, "functions:"
+  start-col <- add 2
   var row/ebx: int <- copy 6
   var functions/esi: (addr handle function) <- get env, functions
   {