about summary refs log tree commit diff stats
path: root/prototypes/browse/24-bold
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-29 19:16:36 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-29 19:16:36 -0700
commit6c7f7abdb867084f1e7555105cfa140eae4f6372 (patch)
tree47918b44ecc85fcf3573189a3574f59014787514 /prototypes/browse/24-bold
parent222548962c9ed85c9d5057757287d0b0b069af02 (diff)
downloadmu-6c7f7abdb867084f1e7555105cfa140eae4f6372.tar.gz
6600
Diffstat (limited to 'prototypes/browse/24-bold')
-rw-r--r--prototypes/browse/24-bold/file-state.mu2
-rw-r--r--prototypes/browse/24-bold/screen-position-state.mu2
2 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/browse/24-bold/file-state.mu b/prototypes/browse/24-bold/file-state.mu
index 35f40229..0047b2c0 100644
--- a/prototypes/browse/24-bold/file-state.mu
+++ b/prototypes/browse/24-bold/file-state.mu
@@ -39,6 +39,6 @@ fn dump in: (addr buffered-file) {
   var c/eax: byte <- read-byte-buffered in
   compare c, 0xffffffff  # EOF marker
   break-if-=
-  print-byte c
+  print-byte-to-screen c
   loop
 }
diff --git a/prototypes/browse/24-bold/screen-position-state.mu b/prototypes/browse/24-bold/screen-position-state.mu
index 62161108..41ad877d 100644
--- a/prototypes/browse/24-bold/screen-position-state.mu
+++ b/prototypes/browse/24-bold/screen-position-state.mu
@@ -71,7 +71,7 @@ $add-char:body: {
     break $add-char:body
   }
   # print c
-  print-byte c
+  print-byte-to-screen c
   # self->col++
   var tmp/eax: (addr int) <- get self, col
   increment *tmp