about summary refs log tree commit diff stats
path: root/apps/tile
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-01 22:07:40 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-01 22:07:40 -0800
commit34063288c90329f50950806c540fdbfd6f9540f3 (patch)
tree7074c10d6dcc5372023df9c9994c8cda13e2611e /apps/tile
parent10adec2f2112fd6f1a07afefb2248b490b1d5e21 (diff)
downloadmu-34063288c90329f50950806c540fdbfd6f9540f3.tar.gz
7156
Diffstat (limited to 'apps/tile')
-rw-r--r--apps/tile/main.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tile/main.mu b/apps/tile/main.mu
index b02dc386..2e51eba1 100644
--- a/apps/tile/main.mu
+++ b/apps/tile/main.mu
@@ -87,10 +87,10 @@ fn test {
 fn repl {
   {
     # prompt
-    var line-storage: (stream byte 0x100)
-    var line/ecx: (addr stream byte) <- address line-storage
     print-string-to-real-screen "> "
     # read
+    var line-storage: (stream byte 0x100)
+    var line/ecx: (addr stream byte) <- address line-storage
     clear-stream line
     read-line-from-real-keyboard line
     var done?/eax: boolean <- stream-empty? line