about summary refs log tree commit diff stats
path: root/edit/001-editor.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-21 10:19:34 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-21 10:19:34 -0800
commit136412d263cc241bf9dfbe46271547615e3ba03d (patch)
tree7d0e9a7eb900f5e61ef78e669b9459b2d082acd3 /edit/001-editor.mu
parent3f7eed6c600d6fb10ad6ae279f87541af69af9a2 (diff)
downloadmu-136412d263cc241bf9dfbe46271547615e3ba03d.tar.gz
2468 - overload print-character as just 'print'
Diffstat (limited to 'edit/001-editor.mu')
-rw-r--r--edit/001-editor.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu
index f84e388a..56c98d81 100644
--- a/edit/001-editor.mu
+++ b/edit/001-editor.mu
@@ -193,14 +193,14 @@ recipe render screen:address:screen, editor:address:editor-data -> last-row:numb
       at-right?:boolean <- equal column, right
       break-unless at-right?
       # print wrap icon
-      print-character screen, 8617/loop-back-to-left, 245/grey
+      print screen, 8617/loop-back-to-left, 245/grey
       column <- copy left
       row <- add row, 1
       screen <- move-cursor screen, row, column
       # don't increment curr
       loop +next-character:label
     }
-    print-character screen, c, color
+    print screen, c, color
     curr <- next curr
     prev <- next prev
     column <- add column, 1
@@ -230,7 +230,7 @@ recipe clear-line-delimited screen:address:screen, column:number, right:number -
   {
     done?:boolean <- greater-than column, right
     break-if done?
-    screen <- print-character screen, 32/space
+    screen <- print screen, 32/space
     column <- add column, 1
     loop
   }