about summary refs log tree commit diff stats
path: root/html/screen.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-23 14:02:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-23 14:02:12 -0700
commitdbe124108b7a3529feeeba91339928c4ac737072 (patch)
tree6da7f748b04ec70cf5f778863ae4f86403943eb2 /html/screen.mu.html
parentfedebaf5dbc1b39347ad3e3a1580fa0190c320b6 (diff)
downloadmu-dbe124108b7a3529feeeba91339928c4ac737072.tar.gz
1631 - update html versions
Html is a little more readable thanks to feedback from J David Eisenberg
(https://news.ycombinator.com/item?id=9766330), in particular the
suggestion to use https://addons.mozilla.org/En-us/firefox/addon/wcag-contrast-checker.
Diffstat (limited to 'html/screen.mu.html')
-rw-r--r--html/screen.mu.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/html/screen.mu.html b/html/screen.mu.html
index 9dfa3474..4618548a 100644
--- a/html/screen.mu.html
+++ b/html/screen.mu.html
@@ -12,9 +12,9 @@
 <!--
 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; }
 .muRecipe { color: #ff8700; }
 -->
@@ -34,26 +34,26 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 <span class="Comment"># screens.</span>
 
 <span class="muRecipe">recipe</span> main [
-  switch-to-display
+  open-console
   print-character <span class="Constant">0:literal/screen</span>, <span class="Constant">97:literal</span>, <span class="Constant">2:literal/red</span>
   1:number/<span class="Special">raw</span>, 2:number/<span class="Special">raw &lt;- </span>cursor-position <span class="Constant">0:literal/screen</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
+  wait-for-event <span class="Constant">0:literal/console</span>
   clear-screen <span class="Constant">0:literal/screen</span>
   move-cursor <span class="Constant">0:literal/screen</span>, <span class="Constant">0:literal/row</span>, <span class="Constant">4:literal/column</span>
   print-character <span class="Constant">0:literal/screen</span>, <span class="Constant">98:literal</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
+  wait-for-event <span class="Constant">0:literal/console</span>
   move-cursor <span class="Constant">0:literal/screen</span>, <span class="Constant">0:literal/row</span>, <span class="Constant">0:literal/column</span>
   clear-line <span class="Constant">0:literal/screen</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
+  wait-for-event <span class="Constant">0:literal/console</span>
   cursor-down <span class="Constant">0:literal/screen</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
+  wait-for-event <span class="Constant">0:literal/console</span>
   cursor-right <span class="Constant">0:literal/screen</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
+  wait-for-event <span class="Constant">0:literal/console</span>
   cursor-left <span class="Constant">0:literal/screen</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
+  wait-for-event <span class="Constant">0:literal/console</span>
   cursor-up <span class="Constant">0:literal/screen</span>
-  wait-for-key <span class="Constant">0:literal/keyboard</span>
-  return-to-console
+  wait-for-event <span class="Constant">0:literal/console</span>
+  close-console
 ]
 </pre>
 </body>