about summary refs log tree commit diff stats
path: root/html/display.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/display.mu.html')
-rw-r--r--html/display.mu.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/html/display.mu.html b/html/display.mu.html
index efae38f5..2137d471 100644
--- a/html/display.mu.html
+++ b/html/display.mu.html
@@ -12,10 +12,11 @@
 <!--
 pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; }
 body { font-family: monospace; color: #eeeeee; background-color: #080808; }
-* { font-size: 1em; }
-.Comment { color: #8080ff; }
-.Constant { color: #008080; }
+* { font-size: 1.05em; }
+.Comment { color: #9090ff; }
+.Constant { color: #00a0a0; }
 .Special { color: #ff6060; }
+.Comment { color: #9090ff; }
 .muRecipe { color: #ff8700; }
 -->
 </style>
@@ -31,26 +32,27 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 <span class="Comment"># example program: managing the display</span>
 
 <span class="muRecipe">recipe</span> main [
-  switch-to-display
-  print-character-to-display <span class="Constant">97:literal</span>, <span class="Constant">2:literal/red</span>
+  open-console
+  print-character-to-display <span class="Constant">97:literal</span>, <span class="Constant">1:literal/red</span>
   1:number/<span class="Special">raw</span>, 2:number/<span class="Special">raw &lt;- </span>cursor-position-on-display
-  wait-for-key-from-keyboard
+  wait-for-some-interaction
   clear-display
   move-cursor-on-display <span class="Constant">0:literal</span>, <span class="Constant">4:literal</span>
   print-character-to-display <span class="Constant">98:literal</span>
-  wait-for-key-from-keyboard
+  wait-for-some-interaction
   move-cursor-on-display <span class="Constant">0:literal</span>, <span class="Constant">0:literal</span>
   clear-line-on-display
-  wait-for-key-from-keyboard
+  wait-for-some-interaction
   move-cursor-down-on-display
-  wait-for-key-from-keyboard
+  wait-for-some-interaction
   move-cursor-right-on-display
-  wait-for-key-from-keyboard
+  wait-for-some-interaction
   move-cursor-left-on-display
-  wait-for-key-from-keyboard
+  wait-for-some-interaction
   move-cursor-up-on-display
-  wait-for-key-from-keyboard
-  return-to-console
+  wait-for-some-interaction
+<span class="CommentedCode">#?   $print [aaa] #? 1</span>
+  close-console
 ]
 </pre>
 </body>