diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-09-16 16:51:07 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-09-16 16:52:26 -0700 |
commit | 9b873e3bcddf34d5b6d60e66838d71dd46de51f4 (patch) | |
tree | b867bf22143c31043de38f9cabc12a1d7ac37bd8 /apps | |
parent | 9f8f2731dfd722f06b0a7f4797e775c9f49bc37b (diff) | |
download | mu-9b873e3bcddf34d5b6d60e66838d71dd46de51f4.tar.gz |
6792
Roll back all buffering of Stdout.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tile/main.mu | 1 | ||||
-rw-r--r-- | apps/tui.mu | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/tile/main.mu b/apps/tile/main.mu index a9d62bb4..7c7065fc 100644 --- a/apps/tile/main.mu +++ b/apps/tile/main.mu @@ -75,5 +75,4 @@ fn render screen: (addr screen), buf: (addr gap-buffer) { move-cursor screen, start-row, start-col # render-gap-buffer screen, buf - flush-stdout } 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 } |