From f5465e1220d73e237c51897b7d1211ec53b0dc04 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 7 Sep 2015 10:37:27 -0700 Subject: 2177 --- html/screen.mu.html | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) (limited to 'html/screen.mu.html') diff --git a/html/screen.mu.html b/html/screen.mu.html index 72156547..6efea923 100644 --- a/html/screen.mu.html +++ b/html/screen.mu.html @@ -13,9 +13,10 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } +.muRecipe { color: #ff8700; } .Comment { color: #9090ff; } +.Constant { color: #00a0a0; } .Special { color: #ff6060; } -.Identifier { color: #804000; } --> @@ -28,30 +29,30 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 # example program: managing the display using 'screen' objects
-#
+#
 # The zero screen below means 'use the real screen'. Tests can also use fake
 # screens.
 
-recipe main [
+recipe main [
   open-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
+  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
 ]
 
-- cgit 1.4.1-2-gfad0