about summary refs log tree commit diff stats
path: root/prototypes/browse/1-print-file.mu
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes/browse/1-print-file.mu')
-rw-r--r--prototypes/browse/1-print-file.mu3
1 files changed, 2 insertions, 1 deletions
diff --git a/prototypes/browse/1-print-file.mu b/prototypes/browse/1-print-file.mu
index e89f1cec..8310fc0f 100644
--- a/prototypes/browse/1-print-file.mu
+++ b/prototypes/browse/1-print-file.mu
@@ -26,7 +26,8 @@ fn dump in: (addr buffered-file) {
     var c/eax: byte <- read-byte-buffered in
     compare c, 0xffffffff  # EOF marker
     break-if-=
-    print-byte 0, c
+    var g/eax: grapheme <- copy c
+    print-grapheme 0, g
     loop
   }
 }