diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-10-09 21:07:54 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-10-09 21:09:21 -0700 |
commit | 1fca8ee13c73790380fa2554c68ebf60c86e95d9 (patch) | |
tree | f86f82577dcdb01d614099fa0d8782a8008a9a43 /html/shell/trace.mu.html | |
parent | 1ff9dde13ba00ca3c6ea3cf1d1178c06d83da1c5 (diff) | |
download | mu-1fca8ee13c73790380fa2554c68ebf60c86e95d9.tar.gz |
.
Diffstat (limited to 'html/shell/trace.mu.html')
-rw-r--r-- | html/shell/trace.mu.html | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/html/shell/trace.mu.html b/html/shell/trace.mu.html index 7092b507..c6ef024e 100644 --- a/html/shell/trace.mu.html +++ b/html/shell/trace.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/trace.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -31,7 +31,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -557,9 +557,9 @@ if ('onhashchange' in window) { <span id="L492" class="LineNr"> 492 </span> compare width, <span class="Constant">0x80</span> <span id="L493" class="LineNr"> 493 </span> <span class="PreProc">break-if-<</span> $render-trace:render-depth <span id="L494" class="LineNr"> 494 </span> <span class="Delimiter">}</span> -<span id="L495" class="LineNr"> 495 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x70</span>/x, y -<span id="L496" class="LineNr"> 496 </span> <a href='../501draw-text.mu.html#L148'>draw-text-rightward-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"trace depth: "</span>, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L497" class="LineNr"> 497 </span> <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *max-depth, <span class="Constant">0x7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L495" class="LineNr"> 495 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x70</span>/x, y +<span id="L496" class="LineNr"> 496 </span> <a href='../501draw-text.mu.html#L155'>draw-text-rightward-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"trace depth: "</span>, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L497" class="LineNr"> 497 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *max-depth, <span class="Constant">0x7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L498" class="LineNr"> 498 </span> <span class="Delimiter">}</span> <span id="L499" class="LineNr"> 499 </span> <span class="PreProc">var</span> top-line-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, top-line-index <span id="L500" class="LineNr"> 500 </span> <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy *top-line-addr @@ -612,7 +612,7 @@ if ('onhashchange' in window) { <span id="L547" class="LineNr"> 547 </span> <span class="Delimiter">{</span> <span id="L548" class="LineNr"> 548 </span> <span class="PreProc">break-if-!=</span> <span id="L549" class="LineNr"> 549 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy xmin -<span id="L550" class="LineNr"> 550 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L550" class="LineNr"> 550 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L551" class="LineNr"> 551 </span> y <span class="Special"><-</span> increment <span id="L552" class="LineNr"> 552 </span> copy-to already-hiding-lines?, <span class="Constant">1</span>/true <span id="L553" class="LineNr"> 553 </span> <span class="Delimiter">}</span> @@ -655,8 +655,8 @@ if ('onhashchange' in window) { <span id="L590" class="LineNr"> 590 </span> <span class="PreProc">break-if-=</span> <span id="L591" class="LineNr"> 591 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy xsave <span id="L592" class="LineNr"> 592 </span> <span class="Delimiter">{</span> -<span id="L593" class="LineNr"> 593 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L346'>draw-int32-decimal-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *depth-a, xmin, ymin, xmax, ymax, x, y, fg, bg -<span id="L594" class="LineNr"> 594 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" "</span>, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L593" class="LineNr"> 593 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L401'>draw-int32-decimal-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *depth-a, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L594" class="LineNr"> 594 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" "</span>, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L595" class="LineNr"> 595 </span> <span class="muComment"># don't show label in UI; it's just for tests</span> <span id="L596" class="LineNr"> 596 </span> <span class="Delimiter">}</span> <span id="L597" class="LineNr"> 597 </span> xsave <span class="Special"><-</span> copy x @@ -668,12 +668,12 @@ if ('onhashchange' in window) { <span id="L603" class="LineNr"> 603 </span> compare unclip?, <span class="Constant">0</span>/false <span id="L604" class="LineNr"> 604 </span> <span class="Delimiter">{</span> <span id="L605" class="LineNr"> 605 </span> <span class="PreProc">break-if-=</span> -<span id="L606" class="LineNr"> 606 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L606" class="LineNr"> 606 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L607" class="LineNr"> 607 </span> <span class="Delimiter">}</span> <span id="L608" class="LineNr"> 608 </span> compare unclip?, <span class="Constant">0</span>/false <span id="L609" class="LineNr"> 609 </span> <span class="Delimiter">{</span> <span id="L610" class="LineNr"> 610 </span> <span class="PreProc">break-if-!=</span> -<span id="L611" class="LineNr"> 611 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, xmax, y, fg, bg +<span id="L611" class="LineNr"> 611 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, xmax, y, fg, bg <span id="L612" class="LineNr"> 612 </span> <span class="Delimiter">}</span> <span id="L613" class="LineNr"> 613 </span> y <span class="Special"><-</span> increment <span id="L614" class="LineNr"> 614 </span> <span class="PreProc">return</span> y @@ -780,7 +780,7 @@ if ('onhashchange' in window) { <span id="L715" class="LineNr"> 715 </span> <span class="Delimiter">}</span> <span id="L716" class="LineNr"> 716 </span> <span class="PreProc">var</span> dummy1/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L717" class="LineNr"> 717 </span> <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L718" class="LineNr"> 718 </span> dummy1, dummy2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, xmin, y, <span class="Constant">9</span>/fg=trace, <span class="Constant">7</span>/cursor-line-bg +<span id="L718" class="LineNr"> 718 </span> dummy1, dummy2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, xmin, y, <span class="Constant">9</span>/fg=trace, <span class="Constant">7</span>/cursor-line-bg <span id="L719" class="LineNr"> 719 </span><span class="Delimiter">}</span> <span id="L720" class="LineNr"> 720 </span> <span id="L721" class="LineNr"> 721 </span><span class="PreProc">fn</span> <span class="muTest"><a href='trace.mu.html#L721'>test-render-trace-empty</a></span> <span class="Delimiter">{</span> @@ -955,18 +955,18 @@ if ('onhashchange' in window) { <span id="L890" class="LineNr"> 890 </span> y <span class="Special"><-</span> decrement <span id="L891" class="LineNr"> 891 </span> <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy y <span id="L892" class="LineNr"> 892 </span> height <span class="Special"><-</span> increment -<span id="L893" class="LineNr"> 893 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L894" class="LineNr"> 894 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L895" class="LineNr"> 895 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L896" class="LineNr"> 896 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <a href='main.mu.html#L4'>main</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L897" class="LineNr"> 897 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L898" class="LineNr"> 898 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L899" class="LineNr"> 899 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard -<span id="L900" class="LineNr"> 900 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to keyboard "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L901" class="LineNr"> 901 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" enter/bksp "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L902" class="LineNr"> 902 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L985'>expand</a>/collapse "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L903" class="LineNr"> 903 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L904" class="LineNr"> 904 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" show whole line "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L893" class="LineNr"> 893 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L894" class="LineNr"> 894 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L895" class="LineNr"> 895 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L896" class="LineNr"> 896 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <a href='main.mu.html#L4'>main</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L897" class="LineNr"> 897 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L898" class="LineNr"> 898 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L899" class="LineNr"> 899 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard +<span id="L900" class="LineNr"> 900 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to keyboard "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L901" class="LineNr"> 901 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" enter/bksp "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L902" class="LineNr"> 902 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L985'>expand</a>/collapse "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L903" class="LineNr"> 903 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L904" class="LineNr"> 904 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" show whole line "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L905" class="LineNr"> 905 </span><span class="Delimiter">}</span> <span id="L906" class="LineNr"> 906 </span> <span id="L907" class="LineNr"> 907 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L907'>edit-trace</a></span> _self: (addr trace), key: grapheme <span class="Delimiter">{</span> @@ -1658,7 +1658,7 @@ if ('onhashchange' in window) { <span id="L1593" class="LineNr">1593 </span> <a href='trace.mu.html#L185'>trace-text</a> t, <span class="Constant">"l"</span>, <span class="Constant">"line 5"</span> <span id="L1594" class="LineNr">1594 </span> <a href='trace.mu.html#L185'>trace-text</a> t, <span class="Constant">"l"</span>, <span class="Constant">"line 6"</span> <span id="L1595" class="LineNr">1595 </span> <a href='trace.mu.html#L440'>mark-lines-dirty</a> t -<span id="L1596" class="LineNr">1596 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1596" class="LineNr">1596 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1597" class="LineNr">1597 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1598" class="LineNr">1598 </span> <span class="muComment"># trace collapses, and cursor bumps up</span> <span id="L1599" class="LineNr">1599 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"... "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1550'>test-trace-keep-cursor-visible-on-refresh</a>/refresh-0"</span> @@ -1703,7 +1703,7 @@ if ('onhashchange' in window) { <span id="L1638" class="LineNr">1638 </span> <span class="muComment"># collapse</span> <span id="L1639" class="LineNr">1639 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace <span id="L1640" class="LineNr">1640 </span> <span class="muComment"># hack: we need to render here to make this test pass; we're mixing state management with rendering</span> -<span id="L1641" class="LineNr">1641 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1641" class="LineNr">1641 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1642" class="LineNr">1642 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1643" class="LineNr">1643 </span> <span class="muComment">#</span> <span id="L1644" class="LineNr">1644 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1607'>test-trace-collapse-at-top</a>/post-0/y"</span> @@ -1744,7 +1744,7 @@ if ('onhashchange' in window) { <span id="L1679" class="LineNr">1679 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1680" class="LineNr">1680 </span> <span class="muComment"># collapse</span> <span id="L1681" class="LineNr">1681 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1682" class="LineNr">1682 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1682" class="LineNr">1682 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1683" class="LineNr">1683 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1684" class="LineNr">1684 </span> <span class="muComment">#</span> <span id="L1685" class="LineNr">1685 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1651'>test-trace-collapse</a>/post-0/y"</span> @@ -1792,7 +1792,7 @@ if ('onhashchange' in window) { <span id="L1727" class="LineNr">1727 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1728" class="LineNr">1728 </span> <span class="muComment"># collapse</span> <span id="L1729" class="LineNr">1729 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1730" class="LineNr">1730 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1730" class="LineNr">1730 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1731" class="LineNr">1731 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1732" class="LineNr">1732 </span> <span class="muComment">#</span> <span id="L1733" class="LineNr">1733 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1692'>test-trace-collapse-skips-invisible-lines</a>/post-0/y"</span> @@ -1853,7 +1853,7 @@ if ('onhashchange' in window) { <span id="L1788" class="LineNr">1788 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1789" class="LineNr">1789 </span> <span class="muComment"># collapse</span> <span id="L1790" class="LineNr">1790 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1791" class="LineNr">1791 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1791" class="LineNr">1791 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1792" class="LineNr">1792 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1793" class="LineNr">1793 </span> <span class="muComment">#</span> <span id="L1794" class="LineNr">1794 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1742'>test-trace-collapse-two-levels</a>/post-0/y"</span> @@ -1925,7 +1925,7 @@ if ('onhashchange' in window) { <span id="L1860" class="LineNr">1860 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">4</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1803'>test-trace-collapse-nested-level</a>/expand2-4/cursor"</span> <span id="L1861" class="LineNr">1861 </span> <span class="muComment"># collapse</span> <span id="L1862" class="LineNr">1862 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1863" class="LineNr">1863 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1863" class="LineNr">1863 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1864" class="LineNr">1864 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">8</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1865" class="LineNr">1865 </span> <span class="muComment">#</span> <span id="L1866" class="LineNr">1866 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">4</span>, <span class="Constant">"F - <a href='trace.mu.html#L1803'>test-trace-collapse-nested-level</a>/post-0/y"</span> @@ -2070,7 +2070,7 @@ if ('onhashchange' in window) { <span id="L2005" class="LineNr">2005 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/pre-3/cursor"</span> <span id="L2006" class="LineNr">2006 </span> <span class="muComment"># expand</span> <span id="L2007" class="LineNr">2007 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">0xa</span>/enter -<span id="L2008" class="LineNr">2008 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2008" class="LineNr">2008 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2009" class="LineNr">2009 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2010" class="LineNr">2010 </span> <span class="muComment">#</span> <span id="L2011" class="LineNr">2011 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 0 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/expand-0"</span> @@ -2084,7 +2084,7 @@ if ('onhashchange' in window) { <span id="L2019" class="LineNr">2019 </span> <span class="muComment"># scroll up</span> <span id="L2020" class="LineNr">2020 </span> <span class="muComment"># hack: we must have rendered before this point; we're mixing state management with rendering</span> <span id="L2021" class="LineNr">2021 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">2</span>/ctrl-b -<span id="L2022" class="LineNr">2022 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2022" class="LineNr">2022 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2023" class="LineNr">2023 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2024" class="LineNr">2024 </span> <span class="muComment"># no change since we're already at the top</span> <span id="L2025" class="LineNr">2025 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 0 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up0-0"</span> @@ -2097,7 +2097,7 @@ if ('onhashchange' in window) { <span id="L2032" class="LineNr">2032 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up0-3/cursor"</span> <span id="L2033" class="LineNr">2033 </span> <span class="muComment"># scroll down</span> <span id="L2034" class="LineNr">2034 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">6</span>/ctrl-f -<span id="L2035" class="LineNr">2035 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2035" class="LineNr">2035 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2036" class="LineNr">2036 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2037" class="LineNr">2037 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 4 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-0"</span> <span id="L2038" class="LineNr">2038 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-0/cursor"</span> @@ -2109,7 +2109,7 @@ if ('onhashchange' in window) { <span id="L2044" class="LineNr">2044 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-3/cursor"</span> <span id="L2045" class="LineNr">2045 </span> <span class="muComment"># scroll down</span> <span id="L2046" class="LineNr">2046 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">6</span>/ctrl-f -<span id="L2047" class="LineNr">2047 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2047" class="LineNr">2047 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2048" class="LineNr">2048 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2049" class="LineNr">2049 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 8 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-0"</span> <span id="L2050" class="LineNr">2050 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-0/cursor"</span> @@ -2121,7 +2121,7 @@ if ('onhashchange' in window) { <span id="L2056" class="LineNr">2056 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-3/cursor"</span> <span id="L2057" class="LineNr">2057 </span> <span class="muComment"># scroll down</span> <span id="L2058" class="LineNr">2058 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">6</span>/ctrl-f -<span id="L2059" class="LineNr">2059 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2059" class="LineNr">2059 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2060" class="LineNr">2060 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2061" class="LineNr">2061 </span> <span class="muComment"># no change since we're already at the bottom</span> <span id="L2062" class="LineNr">2062 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 8 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down3-0"</span> @@ -2134,7 +2134,7 @@ if ('onhashchange' in window) { <span id="L2069" class="LineNr">2069 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down3-3/cursor"</span> <span id="L2070" class="LineNr">2070 </span> <span class="muComment"># scroll up</span> <span id="L2071" class="LineNr">2071 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">2</span>/ctrl-b -<span id="L2072" class="LineNr">2072 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2072" class="LineNr">2072 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2073" class="LineNr">2073 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2074" class="LineNr">2074 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 4 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-0"</span> <span id="L2075" class="LineNr">2075 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-0/cursor"</span> @@ -2146,7 +2146,7 @@ if ('onhashchange' in window) { <span id="L2081" class="LineNr">2081 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-3/cursor"</span> <span id="L2082" class="LineNr">2082 </span> <span class="muComment"># scroll up</span> <span id="L2083" class="LineNr">2083 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">2</span>/ctrl-b -<span id="L2084" class="LineNr">2084 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2084" class="LineNr">2084 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2085" class="LineNr">2085 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2086" class="LineNr">2086 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 0 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up2-0"</span> <span id="L2087" class="LineNr">2087 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up2-0/cursor"</span> |