about summary refs log tree commit diff stats
path: root/apps/tui.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-01 22:17:40 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-01 22:17:40 -0800
commitc8e41a470f1c3ee1dbf7b881a3dec31633e39085 (patch)
treefb0846f5cea962656d6aa6c50d13ddaf69c7c76d /apps/tui.mu
parent34063288c90329f50950806c540fdbfd6f9540f3 (diff)
downloadmu-c8e41a470f1c3ee1dbf7b881a3dec31633e39085.tar.gz
7157
Diffstat (limited to 'apps/tui.mu')
-rw-r--r--apps/tui.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tui.mu b/apps/tui.mu
index be74e1c4..7dad7d1b 100644
--- a/apps/tui.mu
+++ b/apps/tui.mu
@@ -4,7 +4,7 @@
 #   $ ./translate_mu apps/tui.mu
 #   $ ./a.elf
 
-fn main -> exit-status/ebx: int {
+fn main -> _/ebx: int {
   var nrows/eax: int <- copy 0
   var ncols/ecx: int <- copy 0
   nrows, ncols <- screen-size 0
@@ -30,5 +30,5 @@ fn main -> exit-status/ebx: int {
   var x-int/eax: int <- copy x
   print-int32-hex 0, x-int
   print-string 0, "\n"
-  exit-status <- copy 0
+  return 0
 }