diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2018-01-25 22:39:31 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2018-01-25 22:39:31 -0800 |
commit | 805d58c6aeeeba3e4989c0eed6781b3861e8fae0 (patch) | |
tree | ea5225bdd7c5fbeea912671cdc5f1c4b2b2828d7 /html/console.mu.html | |
parent | aefa8fec6a473be459a2ff33e6bd96e7c22ced20 (diff) | |
download | mu-805d58c6aeeeba3e4989c0eed6781b3861e8fae0.tar.gz |
4199
Diffstat (limited to 'html/console.mu.html')
-rw-r--r-- | html/console.mu.html | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/html/console.mu.html b/html/console.mu.html index 97304cc9..79341c15 100644 --- a/html/console.mu.html +++ b/html/console.mu.html @@ -15,15 +15,14 @@ body { font-size: 12pt; font-family: monospace; color: #aaaaaa; background-color a { color:#eeeeee; text-decoration: none; } a:hover { text-decoration: underline; } * { font-size: 12pt; font-size: 1em; } -.Conceal { color: #4e4e4e; } +.muControl { color: #c0a020; } +.muRecipe { color: #ff8700; } .LineNr { color: #444444; } .Delimiter { color: #800080; } -.Comment { color: #9090ff; } -.Comment a { color:#0000ee; text-decoration:underline; } .Constant { color: #00a0a0; } .Special { color: #c00000; } -.muControl { color: #c0a020; } -.muRecipe { color: #ff8700; } +.Comment { color: #9090ff; } +.Comment a { color:#0000ee; text-decoration:underline; } --> </style> @@ -62,14 +61,14 @@ if ('onhashchange' in window) { <span id="L2" class="LineNr"> 2 </span><span class="Comment">#</span> <span id="L3" class="LineNr"> 3 </span><span class="Comment"># Keeps printing 'a' until you press a key or click on the mouse.</span> <span id="L4" class="LineNr"> 4 </span> -<span id="L5" class="LineNr"> 5 </span><span class="muRecipe">def</span> <a href='console.mu.html#L5'>main</a> [ +<span id="L5" class="LineNr"> 5 </span><span class="muRecipe">def</span> main [ <span id="L6" class="LineNr"> 6 </span> <span class="Constant">local-scope</span> <span id="L7" class="LineNr"> 7 </span> open-console <span id="L8" class="LineNr"> 8 </span> <span class="Delimiter">{</span> -<span id="L9" class="LineNr"> 9 </span> <span class="Conceal">¦</span> e:<a href='084console.mu.html#L4'>event</a>, found?:bool <span class="Special"><-</span> check-for-interaction -<span id="L10" class="LineNr">10 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> found? -<span id="L11" class="LineNr">11 </span> <span class="Conceal">¦</span> print-character-to-display<span class="Constant"> 97</span>, <span class="Constant">7/white</span> -<span id="L12" class="LineNr">12 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> +<span id="L9" class="LineNr"> 9 </span> e:event, found?:bool <span class="Special"><-</span> check-for-interaction +<span id="L10" class="LineNr">10 </span> <span class="muControl">break-if</span> found? +<span id="L11" class="LineNr">11 </span> print-character-to-display<span class="Constant"> 97</span>, <span class="Constant">7/white</span> +<span id="L12" class="LineNr">12 </span> <span class="muControl"> loop</span> <span id="L13" class="LineNr">13 </span> <span class="Delimiter">}</span> <span id="L14" class="LineNr">14 </span> close-console <span id="L15" class="LineNr">15 </span> $print e, <span class="Constant">10/newline</span> |