about summary refs log tree commit diff stats
path: root/screen.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-28 14:33:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-28 14:33:22 -0700
commitbc6436927640603675e2e700007f53c5ab213869 (patch)
treee8f76a871ac4118223e03015f32e6bd687a7bd49 /screen.mu
parentaa0888459fc2ca41b0ad6bef5bfa72223ca33945 (diff)
downloadmu-bc6436927640603675e2e700007f53c5ab213869.tar.gz
1868 - start using naked literals everywhere
First step to reducing typing burden. Next step: inferring types.
Diffstat (limited to 'screen.mu')
-rw-r--r--screen.mu36
1 files changed, 18 insertions, 18 deletions
diff --git a/screen.mu b/screen.mu
index 7a2390e8..b1e4e5b4 100644
--- a/screen.mu
+++ b/screen.mu
@@ -5,23 +5,23 @@
 
 recipe main [
   open-console
-  print-character 0:literal/screen, 97:literal, 2:literal/red
-  1:number/raw, 2:number/raw <- cursor-position 0:literal/screen
-  wait-for-event 0:literal/console
-  clear-screen 0:literal/screen
-  move-cursor 0:literal/screen, 0:literal/row, 4:literal/column
-  print-character 0:literal/screen, 98:literal
-  wait-for-event 0:literal/console
-  move-cursor 0:literal/screen, 0:literal/row, 0:literal/column
-  clear-line 0:literal/screen
-  wait-for-event 0:literal/console
-  cursor-down 0:literal/screen
-  wait-for-event 0:literal/console
-  cursor-right 0:literal/screen
-  wait-for-event 0:literal/console
-  cursor-left 0:literal/screen
-  wait-for-event 0:literal/console
-  cursor-up 0:literal/screen
-  wait-for-event 0:literal/console
+  print-character 0/screen, 97/a, 2/red
+  1:number/raw, 2:number/raw <- cursor-position 0/screen
+  wait-for-event 0/console
+  clear-screen 0/screen
+  move-cursor 0/screen, 0/row, 4/column
+  print-character 0/screen, 98/b
+  wait-for-event 0/console
+  move-cursor 0/screen, 0/row, 0/column
+  clear-line 0/screen
+  wait-for-event 0/console
+  cursor-down 0/screen
+  wait-for-event 0/console
+  cursor-right 0/screen
+  wait-for-event 0/console
+  cursor-left 0/screen
+  wait-for-event 0/console
+  cursor-up 0/screen
+  wait-for-event 0/console
   close-console
 ]