From dbe124108b7a3529feeeba91339928c4ac737072 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 23 Jun 2015 14:02:12 -0700 Subject: 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. --- html/display.mu.html | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'html/display.mu.html') 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 @@ @@ -31,26 +32,27 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; } # example program: managing the display recipe main [ - switch-to-display - print-character-to-display 97:literal, 2:literal/red + open-console + print-character-to-display 97:literal, 1:literal/red 1:number/raw, 2:number/raw <- cursor-position-on-display - wait-for-key-from-keyboard + wait-for-some-interaction clear-display move-cursor-on-display 0:literal, 4:literal print-character-to-display 98:literal - wait-for-key-from-keyboard + wait-for-some-interaction move-cursor-on-display 0:literal, 0:literal 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 +#? $print [aaa] #? 1 + close-console ] -- cgit 1.4.1-2-gfad0