about summary refs log tree commit diff stats
path: root/apps/tui.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-16 16:51:07 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-16 16:52:26 -0700
commit9b873e3bcddf34d5b6d60e66838d71dd46de51f4 (patch)
treeb867bf22143c31043de38f9cabc12a1d7ac37bd8 /apps/tui.mu
parent9f8f2731dfd722f06b0a7f4797e775c9f49bc37b (diff)
downloadmu-9b873e3bcddf34d5b6d60e66838d71dd46de51f4.tar.gz
6792
Roll back all buffering of Stdout.
Diffstat (limited to 'apps/tui.mu')
-rw-r--r--apps/tui.mu3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tui.mu b/apps/tui.mu
index 939210c6..a02d8fb0 100644
--- a/apps/tui.mu
+++ b/apps/tui.mu
@@ -28,8 +28,7 @@ fn main -> exit-status/ebx: int {
   enable-screen-type-mode
   print-string 0, "You pressed "
   var x-int/eax: int <- copy x
-  print-int32-hex-to-real-screen x-int
+  print-int32-hex 0, x-int
   print-string 0, "\n"
-  flush-stdout
   exit-status <- copy 0
 }