diff options
Diffstat (limited to 'apps/tui.mu')
-rw-r--r-- | apps/tui.mu | 4 |
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 } |