about summary refs log tree commit diff stats
path: root/edit/005-sandbox.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/005-sandbox.mu
parent3f7eed6c600d6fb10ad6ae279f87541af69af9a2 (diff)
downloadmu-136412d263cc241bf9dfbe46271547615e3ba03d.tar.gz
2468 - overload print-character as just 'print'
Diffstat (limited to 'edit/005-sandbox.mu')
-rw-r--r--edit/005-sandbox.mu14
1 files changed, 7 insertions, 7 deletions
diff --git a/edit/005-sandbox.mu b/edit/005-sandbox.mu
index bb34de1b..b44f127f 100644
--- a/edit/005-sandbox.mu
+++ b/edit/005-sandbox.mu
@@ -250,7 +250,7 @@ recipe render-sandboxes screen:address:screen, sandbox:address:sandbox-data, lef
   row <- add row, 1
   screen <- move-cursor screen, row, left
   clear-line-delimited screen, left, right
-  print-character screen, 120/x, 245/grey
+  print screen, 120/x, 245/grey
   # save menu row so we can detect clicks to it later
   starting-row:address:number <- get-address *sandbox, starting-row-on-screen:offset
   *starting-row <- copy row
@@ -346,9 +346,9 @@ recipe render-screen screen:address:screen, sandbox-screen:address:screen, left:
     column <- copy left
     screen <- move-cursor screen, row, column
     # initial leader for each row: two spaces and a '.'
-    print-character screen, 32/space, 245/grey
-    print-character screen, 32/space, 245/grey
-    print-character screen, 46/full-stop, 245/grey
+    print screen, 32/space, 245/grey
+    print screen, 32/space, 245/grey
+    print screen, 46/full-stop, 245/grey
     column <- add left, 3
     {
       # print row
@@ -363,19 +363,19 @@ recipe render-screen screen:address:screen, sandbox-screen:address:screen, left:
         break-unless white?
         color <- copy 245/grey
       }
-      print-character screen, c, color
+      print screen, c, color
       column <- add column, 1
       i <- add i, 1
       loop
     }
     # print final '.'
-    print-character screen, 46/full-stop, 245/grey
+    print screen, 46/full-stop, 245/grey
     column <- add column, 1
     {
       # clear rest of current line
       line-done?:boolean <- greater-than column, right
       break-if line-done?
-      print-character screen, 32/space
+      print screen, 32/space
       column <- add column, 1
       loop
     }