diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-08-22 10:15:14 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-08-22 10:15:14 -0700 |
commit | db541c3595d52e3ff26d2714b70834219047f256 (patch) | |
tree | a5364a23f5694ff42e549a81b365c2bdb6f4b411 | |
parent | 66daf3cc1f479300cf3e58278a1167bd862d855a (diff) | |
download | mu-db541c3595d52e3ff26d2714b70834219047f256.tar.gz |
6721
-rw-r--r-- | apps/print-file.mu | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/print-file.mu b/apps/print-file.mu index c8c487b2..0726164c 100644 --- a/apps/print-file.mu +++ b/apps/print-file.mu @@ -31,7 +31,8 @@ $main-body: { var c/eax: byte <- read-byte-buffered in-addr compare c, 0xffffffff # EOF marker break-if-= - print-grapheme 0, c + var g/eax: grapheme <- copy c + print-grapheme 0, g loop } } |