diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-19 17:55:10 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-19 17:55:10 -0700 |
commit | 3ea092f2a755c78b56345cb341d714a748b73a13 (patch) | |
tree | edbb978d2421be944553f144bc8f32f4e07759da /html/console.mu.html | |
parent | 60679557beb29ec77e617d2e2f90d6e58069893d (diff) | |
download | mu-3ea092f2a755c78b56345cb341d714a748b73a13.tar.gz |
3867
Diffstat (limited to 'html/console.mu.html')
-rw-r--r-- | html/console.mu.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/html/console.mu.html b/html/console.mu.html index 46e4284e..1f7b23e0 100644 --- a/html/console.mu.html +++ b/html/console.mu.html @@ -65,15 +65,16 @@ if ('onhashchange' in window) { <span id="L5" class="LineNr"> 5 </span><span class="muRecipe">def</span> <a href='console.mu.html#L5'>main</a> [ <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="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> -<span id="L16" class="LineNr">16 </span>] +<span id="L8" class="LineNr"> 8 </span> <a href='081print.mu.html#L33'>clear-screen</a> <span class="Constant">0/screen</span> <span class="Comment"># non-scrolling app</span> +<span id="L9" class="LineNr"> 9 </span> <span class="Delimiter">{</span> +<span id="L10" class="LineNr">10 </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="L11" class="LineNr">11 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> found? +<span id="L12" class="LineNr">12 </span> <span class="Conceal">¦</span> print-character-to-display<span class="Constant"> 97</span>, <span class="Constant">7/white</span> +<span id="L13" class="LineNr">13 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L14" class="LineNr">14 </span> <span class="Delimiter">}</span> +<span id="L15" class="LineNr">15 </span> close-console +<span id="L16" class="LineNr">16 </span> $print e, <span class="Constant">10/newline</span> +<span id="L17" class="LineNr">17 </span>] </pre> </body> </html> |