about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--html/101screen.subx.html14
-rw-r--r--html/102keyboard.subx.html14
-rw-r--r--html/103glyph.subx.html548
-rw-r--r--html/104test.subx.html14
-rw-r--r--html/105string-equal.subx.html14
-rw-r--r--html/106stream.subx.html14
-rw-r--r--html/108write.subx.html18
-rw-r--r--html/109stream-equal.subx.html14
-rw-r--r--html/112read-byte.subx.html14
-rw-r--r--html/113write-stream.subx.html14
-rw-r--r--html/115write-byte.subx.html14
-rw-r--r--html/117write-int-hex.subx.html14
-rw-r--r--html/118parse-hex-int.subx.html14
-rw-r--r--html/120allocate.subx.html58
-rw-r--r--html/121new-stream.subx.html14
-rw-r--r--html/123slice.subx.html16
-rw-r--r--html/124next-token.subx.html14
-rw-r--r--html/126write-int-decimal.subx.html16
-rw-r--r--html/127next-word.subx.html14
-rw-r--r--html/301array-equal.subx.html14
-rw-r--r--html/302stack_allocate.subx.html14
-rw-r--r--html/308allocate-array.subx.html14
-rw-r--r--html/309stream.subx.html14
-rw-r--r--html/310copy-bytes.subx.html14
-rw-r--r--html/311decimal-int.subx.html14
-rw-r--r--html/312copy.subx.html14
-rw-r--r--html/313index-bounds-check.subx.html38
-rw-r--r--html/314divide.subx.html14
-rw-r--r--html/315stack-debug.subx.html30
-rw-r--r--html/316colors.subx.html14
-rw-r--r--html/317abort.subx.html38
-rw-r--r--html/318debug-counter.subx.html14
-rw-r--r--html/319timer.subx.html14
-rw-r--r--html/400.mu.html22
-rw-r--r--html/403unicode.mu.html28
-rw-r--r--html/408float.mu.html14
-rw-r--r--html/411string.mu.html14
-rw-r--r--html/412render-float-decimal.mu.html16
-rw-r--r--html/500fake-screen.mu.html1181
-rw-r--r--html/501draw-text.mu.html793
-rw-r--r--html/502test.mu.html26
-rw-r--r--html/503manhattan-line.mu.html14
-rw-r--r--html/504test-screen.mu.html196
-rw-r--r--html/505colors.mu.html14
-rw-r--r--html/506math.mu.html14
-rw-r--r--html/507line.mu.html20
-rw-r--r--html/508circle.mu.html22
-rw-r--r--html/509bezier.mu.html16
-rw-r--r--html/510disk.mu.html14
-rw-r--r--html/511image.mu.html64
-rw-r--r--html/512array.mu.html14
-rw-r--r--html/513grapheme-stack.mu.html28
-rw-r--r--html/514gap-buffer.mu.html2851
-rw-r--r--html/apps/color-game.mu.html22
-rw-r--r--html/apps/colors.mu.html42
-rw-r--r--html/apps/ex1.mu.html14
-rw-r--r--html/apps/ex10.mu.html20
-rw-r--r--html/apps/ex11.mu.html16
-rw-r--r--html/apps/ex12.mu.html16
-rw-r--r--html/apps/ex13.mu.html14
-rw-r--r--html/apps/ex14.mu.html16
-rw-r--r--html/apps/ex15.mu.html201
-rw-r--r--html/apps/ex2.mu.html16
-rw-r--r--html/apps/ex3.mu.html14
-rw-r--r--html/apps/ex4.mu.html14
-rw-r--r--html/apps/ex5.mu.html18
-rw-r--r--html/apps/ex6.mu.html34
-rw-r--r--html/apps/ex7.mu.html79
-rw-r--r--html/apps/ex8.mu.html14
-rw-r--r--html/apps/ex9.mu.html14
-rw-r--r--html/apps/hest-life.mu.html56
-rw-r--r--html/apps/life.mu.html14
-rw-r--r--html/apps/mandelbrot-fixed.mu.html16
-rw-r--r--html/apps/mandelbrot-silhouette.mu.html18
-rw-r--r--html/apps/mandelbrot.mu.html16
-rw-r--r--html/apps/rpn.mu.html24
-rw-r--r--html/boot.subx.html24
-rw-r--r--html/browse-slack/environment.mu.html3359
-rw-r--r--html/browse-slack/main.mu.html46
-rw-r--r--html/font.subx.html14
-rw-r--r--html/mu-init.subx.html20
-rw-r--r--html/shell/cell.mu.html18
-rw-r--r--html/shell/environment.mu.html90
-rw-r--r--html/shell/evaluate.mu.html38
-rw-r--r--html/shell/global.mu.html72
-rw-r--r--html/shell/infix.mu.html34
-rw-r--r--html/shell/int-stack.mu.html14
-rw-r--r--html/shell/macroexpand.mu.html30
-rw-r--r--html/shell/main.mu.html16
-rw-r--r--html/shell/parenthesize.mu.html30
-rw-r--r--html/shell/parse.mu.html14
-rw-r--r--html/shell/primitives.mu.html144
-rw-r--r--html/shell/print.mu.html18
-rw-r--r--html/shell/read.mu.html14
-rw-r--r--html/shell/sandbox.mu.html132
-rw-r--r--html/shell/tokenize.mu.html122
-rw-r--r--html/shell/trace.mu.html82
97 files changed, 5841 insertions, 5671 deletions
diff --git a/html/101screen.subx.html b/html/101screen.subx.html
index c217adc5..b4a19291 100644
--- a/html/101screen.subx.html
+++ b/html/101screen.subx.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 - 101screen.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/102keyboard.subx.html b/html/102keyboard.subx.html
index 1ad2ead7..658a5a2e 100644
--- a/html/102keyboard.subx.html
+++ b/html/102keyboard.subx.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 - 102keyboard.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/103glyph.subx.html b/html/103glyph.subx.html
index ec51fccd..1b724030 100644
--- a/html/103glyph.subx.html
+++ b/html/103glyph.subx.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 - 103glyph.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -167,11 +167,11 @@ if ('onhashchange' in window) {
 <span id="L110" class="LineNr">110 </span>    3d/compare-eax-and 8/imm32
 <span id="L111" class="LineNr">111 </span>    {
 <span id="L112" class="LineNr">112 </span>      75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L113" class="LineNr">113 </span>      (<a href='103glyph.subx.html#L173'>draw-narrow-code-point-on-screen-buffer</a> *(ebp+8) %esi *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
+<span id="L113" class="LineNr">113 </span>      (<a href='103glyph.subx.html#L187'>draw-narrow-code-point-on-screen-buffer</a> *(ebp+8) %esi *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
 <span id="L114" class="LineNr">114 </span>      b8/copy-to-eax 1/imm32
 <span id="L115" class="LineNr">115 </span>      eb/jump $draw-code-point-on-screen-buffer:end/disp8
 <span id="L116" class="LineNr">116 </span>    }
-<span id="L117" class="LineNr">117 </span>    (<a href='103glyph.subx.html#L219'>draw-wide-code-point-on-screen-buffer</a> *(ebp+8) %esi *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
+<span id="L117" class="LineNr">117 </span>    (<a href='103glyph.subx.html#L233'>draw-wide-code-point-on-screen-buffer</a> *(ebp+8) %esi *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
 <span id="L118" class="LineNr">118 </span>    b8/copy-to-eax 2/imm32
 <span id="L119" class="LineNr">119 </span><span class="Constant">$draw-code-point-on-screen-buffer:end</span>:
 <span id="L120" class="LineNr">120 </span>    <span class="subxS1Comment"># . restore registers</span>
@@ -187,9 +187,9 @@ if ('onhashchange' in window) {
 <span id="L130" class="LineNr">130 </span>    89/&lt;- %ebp 4/r32/esp
 <span id="L131" class="LineNr">131 </span>    <span class="subxComment"># eax = c</span>
 <span id="L132" class="LineNr">132 </span>    8b/-&gt; *(ebp+8) 0/r32/eax
-<span id="L133" class="LineNr">133 </span>    <span class="subxComment"># if (c &gt;= 128) return  # characters beyond ASCII currently not supported</span>
-<span id="L134" class="LineNr">134 </span>    3d/compare-eax-and 0x80/imm32
-<span id="L135" class="LineNr">135 </span>    0f 8d/jump-if-&gt;= $wide-code-point?:end/disp32
+<span id="L133" class="LineNr">133 </span>    <span class="subxComment"># if (c &gt;= 4352) return false</span>
+<span id="L134" class="LineNr">134 </span>    3d/compare-eax-and 0x1100/imm32
+<span id="L135" class="LineNr">135 </span>    0f 8d/jump-if-&gt;= $wide-code-point?:return-false/disp32
 <span id="L136" class="LineNr">136 </span>    <span class="subxComment"># var letter-bitmap/eax = font[c]</span>
 <span id="L137" class="LineNr">137 </span>    69/multiply %eax 0x22/imm32/glyph-size 0/r32/eax
 <span id="L138" class="LineNr">138 </span>    05/add-to-eax 0x0010000c/imm32/Font  <span class="subxComment"># see boot.subx</span>
@@ -204,261 +204,275 @@ if ('onhashchange' in window) {
 <span id="L147" class="LineNr">147 </span>    5d/pop-to-ebp
 <span id="L148" class="LineNr">148 </span>    c3/return
 <span id="L149" class="LineNr">149 </span>
-<span id="L150" class="LineNr">150 </span><span class="subxFunction">combining-code-point?</span>:  <span class="subxComment"># c: code-point -&gt; _/eax: boolean</span>
-<span id="L151" class="LineNr">151 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L152" class="LineNr">152 </span>    55/push-ebp
-<span id="L153" class="LineNr">153 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L154" class="LineNr">154 </span>    <span class="subxComment"># eax = c</span>
-<span id="L155" class="LineNr">155 </span>    8b/-&gt; *(ebp+8) 0/r32/eax
-<span id="L156" class="LineNr">156 </span>    <span class="subxComment"># if (c &gt;= 128) return  # characters beyond ASCII currently not supported</span>
-<span id="L157" class="LineNr">157 </span>    3d/compare-eax-and 0x80/imm32
-<span id="L158" class="LineNr">158 </span>    0f 8d/jump-if-&gt;= $combining-code-point?:end/disp32
-<span id="L159" class="LineNr">159 </span>    <span class="subxComment"># var letter-bitmap/eax = font[c]</span>
-<span id="L160" class="LineNr">160 </span>    69/multiply %eax 0x22/imm32/glyph-size 0/r32/eax
-<span id="L161" class="LineNr">161 </span>    05/add-to-eax 0x0010000c/imm32/Font  <span class="subxComment"># see boot.subx</span>
-<span id="L162" class="LineNr">162 </span>    <span class="subxComment"># dispatch based on letter-bitmap-&gt;is-combine?</span>
-<span id="L163" class="LineNr">163 </span>    8a/byte-&gt; *(eax+1) 0/r32/AL
-<span id="L164" class="LineNr">164 </span>    25/and-eax-with  0xff/imm32
-<span id="L165" class="LineNr">165 </span><span class="Constant">$combining-code-point?:end</span>:
-<span id="L166" class="LineNr">166 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L167" class="LineNr">167 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L168" class="LineNr">168 </span>    5d/pop-to-ebp
-<span id="L169" class="LineNr">169 </span>    c3/return
-<span id="L170" class="LineNr">170 </span>
-<span id="L171" class="LineNr">171 </span><span class="subxComment"># buffer: naked address to raw screen RAM without a length</span>
-<span id="L172" class="LineNr">172 </span><span class="subxComment"># letter-bitmap: naked address to 8-pixel wide font glyph</span>
-<span id="L173" class="LineNr">173 </span><span class="subxFunction">draw-narrow-code-point-on-screen-buffer</span>:  <span class="subxComment"># buffer: (addr byte), letter-bitmap: (addr byte), x: int, y: int, color: int, background-color: int, overlay?: boolean, screen-width: int, screen-height: int</span>
-<span id="L174" class="LineNr">174 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L175" class="LineNr">175 </span>    55/push-ebp
-<span id="L176" class="LineNr">176 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L177" class="LineNr">177 </span>    <span class="subxS1Comment"># . save registers</span>
-<span id="L178" class="LineNr">178 </span>    52/push-edx
-<span id="L179" class="LineNr">179 </span>    53/push-ebx
-<span id="L180" class="LineNr">180 </span>    56/push-esi
-<span id="L181" class="LineNr">181 </span>    57/push-edi
-<span id="L182" class="LineNr">182 </span>    <span class="subxComment"># esi = letter-bitmap</span>
-<span id="L183" class="LineNr">183 </span>    8b/-&gt; *(ebp+0xc) 6/r32/esi
-<span id="L184" class="LineNr">184 </span>    <span class="subxComment"># var ycurr/edx: int = y*16</span>
-<span id="L185" class="LineNr">185 </span>    8b/-&gt; *(ebp+0x14) 2/r32/edx
-<span id="L186" class="LineNr">186 </span>    c1 4/subop/shift-left %edx 4/imm8
-<span id="L187" class="LineNr">187 </span>    <span class="subxComment"># var ymax/edi: int = ycurr + 16</span>
-<span id="L188" class="LineNr">188 </span>    8b/-&gt; *(ebp+0x14) 7/r32/edi
-<span id="L189" class="LineNr">189 </span>    c1 4/subop/shift-left %edi 4/imm8
-<span id="L190" class="LineNr">190 </span>    81 0/subop/add %edi 0x10/imm32
-<span id="L191" class="LineNr">191 </span>    {
-<span id="L192" class="LineNr">192 </span>      <span class="subxComment"># if (ycurr &gt;= ymax) break</span>
-<span id="L193" class="LineNr">193 </span>      39/compare %edx 7/r32/edi
-<span id="L194" class="LineNr">194 </span>      0f 8d/jump-if-&gt;= <span class="Constant">break</span>/disp32
-<span id="L195" class="LineNr">195 </span>      <span class="subxComment"># var row-bitmap/ebx: byte = *letter-bitmap</span>
-<span id="L196" class="LineNr">196 </span>      bb/copy-to-ebx 0/imm32
-<span id="L197" class="LineNr">197 </span>      8a/byte-&gt; *esi 3/r32/BL
-<span id="L198" class="LineNr">198 </span>      (<a href='103glyph.subx.html#L276'>draw-run-of-pixels-from-glyph</a> *(ebp+8) %ebx *(ebp+0x10) %edx *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
-<span id="L199" class="LineNr">199 </span>      <span class="subxComment"># ++y</span>
-<span id="L200" class="LineNr">200 </span>      42/increment-edx
-<span id="L201" class="LineNr">201 </span>      <span class="subxComment"># next bitmap row</span>
-<span id="L202" class="LineNr">202 </span>      46/increment-esi
-<span id="L203" class="LineNr">203 </span>      <span class="subxComment">#</span>
-<span id="L204" class="LineNr">204 </span>      e9/jump <span class="Constant">loop</span>/disp32
-<span id="L205" class="LineNr">205 </span>    }
-<span id="L206" class="LineNr">206 </span><span class="Constant">$draw-narrow-code-point-on-screen-buffer:end</span>:
-<span id="L207" class="LineNr">207 </span>    <span class="subxS1Comment"># . restore registers</span>
-<span id="L208" class="LineNr">208 </span>    5f/pop-to-edi
-<span id="L209" class="LineNr">209 </span>    5e/pop-to-esi
-<span id="L210" class="LineNr">210 </span>    5b/pop-to-ebx
-<span id="L211" class="LineNr">211 </span>    5a/pop-to-edx
-<span id="L212" class="LineNr">212 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L213" class="LineNr">213 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L214" class="LineNr">214 </span>    5d/pop-to-ebp
-<span id="L215" class="LineNr">215 </span>    c3/return
-<span id="L216" class="LineNr">216 </span>
-<span id="L217" class="LineNr">217 </span><span class="subxComment"># buffer: naked address to raw screen RAM without a length</span>
-<span id="L218" class="LineNr">218 </span><span class="subxComment"># letter-bitmap: naked address to 16-pixel wide font glyph</span>
-<span id="L219" class="LineNr">219 </span><span class="subxFunction">draw-wide-code-point-on-screen-buffer</span>:  <span class="subxComment"># buffer: (addr byte), letter-bitmap: (addr byte), x: int, y: int, color: int, background-color: int, overlay?: boolean, screen-width: int, screen-height: int</span>
-<span id="L220" class="LineNr">220 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L221" class="LineNr">221 </span>    55/push-ebp
-<span id="L222" class="LineNr">222 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L223" class="LineNr">223 </span>    <span class="subxS1Comment"># . save registers</span>
-<span id="L224" class="LineNr">224 </span>    50/push-eax
-<span id="L225" class="LineNr">225 </span>    51/push-ecx
-<span id="L226" class="LineNr">226 </span>    52/push-edx
-<span id="L227" class="LineNr">227 </span>    53/push-ebx
-<span id="L228" class="LineNr">228 </span>    56/push-esi
-<span id="L229" class="LineNr">229 </span>    57/push-edi
-<span id="L230" class="LineNr">230 </span>    <span class="subxComment"># esi = letter-bitmap</span>
-<span id="L231" class="LineNr">231 </span>    8b/-&gt; *(ebp+0xc) 6/r32/esi
-<span id="L232" class="LineNr">232 </span>    <span class="subxComment">#</span>
-<span id="L233" class="LineNr">233 </span>    bb/copy-to-ebx 0/imm32
-<span id="L234" class="LineNr">234 </span>    <span class="subxComment"># var ycurr/edx: int = y*16</span>
-<span id="L235" class="LineNr">235 </span>    8b/-&gt; *(ebp+0x14) 2/r32/edx
-<span id="L236" class="LineNr">236 </span>    c1 4/subop/shift-left %edx 4/imm8
-<span id="L237" class="LineNr">237 </span>    <span class="subxComment"># var ymax/edi: int = ycurr + 16</span>
-<span id="L238" class="LineNr">238 </span>    8b/-&gt; *(ebp+0x14) 7/r32/edi
-<span id="L239" class="LineNr">239 </span>    c1 4/subop/shift-left %edi 4/imm8
-<span id="L240" class="LineNr">240 </span>    81 0/subop/add %edi 0x10/imm32
-<span id="L241" class="LineNr">241 </span>    {
-<span id="L242" class="LineNr">242 </span>      <span class="subxComment"># if (ycurr &gt;= ymax) break</span>
-<span id="L243" class="LineNr">243 </span>      39/compare %edx 7/r32/edi
-<span id="L244" class="LineNr">244 </span>      0f 8d/jump-if-&gt;= <span class="Constant">break</span>/disp32
-<span id="L245" class="LineNr">245 </span>      <span class="subxComment"># var row-bitmap/ebx: byte = *letter-bitmap</span>
-<span id="L246" class="LineNr">246 </span>      8a/byte-&gt; *esi 3/r32/BL
-<span id="L247" class="LineNr">247 </span>      <span class="subxComment"># ecx = x</span>
-<span id="L248" class="LineNr">248 </span>      8b/-&gt; *(ebp+0x10) 1/r32/ecx
-<span id="L249" class="LineNr">249 </span>      <span class="subxComment"># first half-row</span>
-<span id="L250" class="LineNr">250 </span>      (<a href='103glyph.subx.html#L276'>draw-run-of-pixels-from-glyph</a> *(ebp+8) %ebx %ecx %edx *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
-<span id="L251" class="LineNr">251 </span>      <span class="subxComment"># second half-row</span>
-<span id="L252" class="LineNr">252 </span>      8a/byte-&gt; *(esi+1) 3/r32/BL
-<span id="L253" class="LineNr">253 </span>      41/increment-ecx
-<span id="L254" class="LineNr">254 </span>      (<a href='103glyph.subx.html#L276'>draw-run-of-pixels-from-glyph</a> *(ebp+8) %ebx %ecx %edx *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
-<span id="L255" class="LineNr">255 </span>      <span class="subxComment"># ++y</span>
-<span id="L256" class="LineNr">256 </span>      42/increment-edx
-<span id="L257" class="LineNr">257 </span>      <span class="subxComment"># next bitmap row</span>
-<span id="L258" class="LineNr">258 </span>      81 0/subop/add %esi 2/imm32
-<span id="L259" class="LineNr">259 </span>      <span class="subxComment">#</span>
-<span id="L260" class="LineNr">260 </span>      e9/jump <span class="Constant">loop</span>/disp32
-<span id="L261" class="LineNr">261 </span>    }
-<span id="L262" class="LineNr">262 </span><span class="Constant">$draw-wide-code-point-on-screen-buffer:end</span>:
-<span id="L263" class="LineNr">263 </span>    <span class="subxS1Comment"># . restore registers</span>
-<span id="L264" class="LineNr">264 </span>    5f/pop-to-edi
-<span id="L265" class="LineNr">265 </span>    5e/pop-to-esi
-<span id="L266" class="LineNr">266 </span>    5b/pop-to-ebx
-<span id="L267" class="LineNr">267 </span>    5a/pop-to-edx
-<span id="L268" class="LineNr">268 </span>    59/pop-to-ecx
-<span id="L269" class="LineNr">269 </span>    58/pop-to-eax
-<span id="L270" class="LineNr">270 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L271" class="LineNr">271 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L272" class="LineNr">272 </span>    5d/pop-to-ebp
-<span id="L273" class="LineNr">273 </span>    c3/return
-<span id="L274" class="LineNr">274 </span>
-<span id="L275" class="LineNr">275 </span><span class="subxComment"># draw 8 pixels from a single glyph byte in a font bitmap</span>
-<span id="L276" class="LineNr">276 </span><span class="subxFunction">draw-run-of-pixels-from-glyph</span>:  <span class="subxComment"># buffer: (addr byte), glyph-byte: byte, x: int, y: int, color: int, background-color: int, overlay?: boolean, screen-width: int, screen-height: int</span>
-<span id="L277" class="LineNr">277 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L278" class="LineNr">278 </span>    55/push-ebp
-<span id="L279" class="LineNr">279 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L280" class="LineNr">280 </span>    <span class="subxS1Comment"># . save registers</span>
-<span id="L281" class="LineNr">281 </span>    50/push-eax
-<span id="L282" class="LineNr">282 </span>    51/push-ecx
-<span id="L283" class="LineNr">283 </span>    56/push-esi
-<span id="L284" class="LineNr">284 </span>    <span class="subxComment"># esi = glyph-byte</span>
-<span id="L285" class="LineNr">285 </span>    8b/-&gt; *(ebp+0xc) 6/r32/esi
-<span id="L286" class="LineNr">286 </span>    <span class="subxComment"># var xcurr/eax: int = x*8 + 7</span>
-<span id="L287" class="LineNr">287 </span>    8b/-&gt; *(ebp+0x10) 0/r32/eax
-<span id="L288" class="LineNr">288 </span>    c1 4/subop/shift-left %eax 3/imm8
-<span id="L289" class="LineNr">289 </span>    05/add-to-eax 7/imm32
-<span id="L290" class="LineNr">290 </span>    <span class="subxComment"># var xmin/ecx: int = x*8</span>
-<span id="L291" class="LineNr">291 </span>    8b/-&gt; *(ebp+0x10) 1/r32/ecx
-<span id="L292" class="LineNr">292 </span>    c1 4/subop/shift-left %ecx 3/imm8
-<span id="L293" class="LineNr">293 </span>    {
-<span id="L294" class="LineNr">294 </span>      <span class="subxComment"># if (xcurr &lt; xmin) break</span>
-<span id="L295" class="LineNr">295 </span>      39/compare %eax 1/r32/ecx
-<span id="L296" class="LineNr">296 </span>      7c/jump-if-&lt; <span class="Constant">break</span>/disp8
-<span id="L297" class="LineNr">297 </span>      <span class="subxComment"># shift LSB from row-bitmap into carry flag (CF)</span>
-<span id="L298" class="LineNr">298 </span>      c1 5/subop/shift-right-logical %esi 1/imm8
-<span id="L299" class="LineNr">299 </span>      <span class="subxComment"># if LSB, draw a pixel in the given color</span>
-<span id="L300" class="LineNr">300 </span>      {
-<span id="L301" class="LineNr">301 </span>        73/jump-if-not-CF <span class="Constant">break</span>/disp8
-<span id="L302" class="LineNr">302 </span>        (<a href='101screen.subx.html#L21'>pixel-on-screen-buffer</a> *(ebp+8) %eax *(ebp+0x14) *(ebp+0x18) *(ebp+0x24) *(ebp+0x28))
-<span id="L303" class="LineNr">303 </span>        eb/jump $draw-code-point-on-screen-buffer:continue/disp8
-<span id="L304" class="LineNr">304 </span>      }
-<span id="L305" class="LineNr">305 </span>      <span class="subxComment"># otherwise use the background color (except when overlay?)</span>
-<span id="L306" class="LineNr">306 </span>      {
-<span id="L307" class="LineNr">307 </span>        81 7/subop/compare *(ebp+0x20) 0/imm32/false
-<span id="L308" class="LineNr">308 </span>        75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L309" class="LineNr">309 </span>        (<a href='101screen.subx.html#L21'>pixel-on-screen-buffer</a> *(ebp+8) %eax *(ebp+0x14) *(ebp+0x1c) *(ebp+0x24) *(ebp+0x28))
-<span id="L310" class="LineNr">310 </span>      }
-<span id="L311" class="LineNr">311 </span><span class="Constant">$draw-code-point-on-screen-buffer:continue</span>:
-<span id="L312" class="LineNr">312 </span>      <span class="subxComment"># --x</span>
-<span id="L313" class="LineNr">313 </span>      48/decrement-eax
-<span id="L314" class="LineNr">314 </span>      <span class="subxComment">#</span>
-<span id="L315" class="LineNr">315 </span>      eb/jump <span class="Constant">loop</span>/disp8
-<span id="L316" class="LineNr">316 </span>    }
-<span id="L317" class="LineNr">317 </span><span class="Constant">$draw-run-of-pixels-from-glyph:end</span>:
-<span id="L318" class="LineNr">318 </span>    <span class="subxS1Comment"># . restore registers</span>
-<span id="L319" class="LineNr">319 </span>    5e/pop-to-esi
-<span id="L320" class="LineNr">320 </span>    59/pop-to-ecx
-<span id="L321" class="LineNr">321 </span>    58/pop-to-eax
-<span id="L322" class="LineNr">322 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L323" class="LineNr">323 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L324" class="LineNr">324 </span>    5d/pop-to-ebp
-<span id="L325" class="LineNr">325 </span>    c3/return
-<span id="L326" class="LineNr">326 </span>
-<span id="L327" class="LineNr">327 </span><span class="subxFunction">cursor-position-on-real-screen</span>:  <span class="subxComment"># -&gt; _/eax: int, _/ecx: int</span>
-<span id="L328" class="LineNr">328 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L329" class="LineNr">329 </span>    55/push-ebp
-<span id="L330" class="LineNr">330 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L331" class="LineNr">331 </span>    <span class="subxComment"># TODO: support fake screen; we currently assume 'screen' is always 0 (real)</span>
-<span id="L332" class="LineNr">332 </span>    8b/-&gt; *<span class="SpecialChar"><a href='103glyph.subx.html#L401'>Real-screen-cursor-x</a></span> 0/r32/eax
-<span id="L333" class="LineNr">333 </span>    8b/-&gt; *<span class="SpecialChar"><a href='103glyph.subx.html#L403'>Real-screen-cursor-y</a></span> 1/r32/ecx
-<span id="L334" class="LineNr">334 </span><span class="Constant">$cursor-position-on-real-screen:end</span>:
-<span id="L335" class="LineNr">335 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L336" class="LineNr">336 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L337" class="LineNr">337 </span>    5d/pop-to-ebp
-<span id="L338" class="LineNr">338 </span>    c3/return
-<span id="L339" class="LineNr">339 </span>
-<span id="L340" class="LineNr">340 </span><span class="subxFunction">set-cursor-position-on-real-screen</span>:  <span class="subxComment"># x: int, y: int</span>
-<span id="L341" class="LineNr">341 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L342" class="LineNr">342 </span>    55/push-ebp
-<span id="L343" class="LineNr">343 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L344" class="LineNr">344 </span>    <span class="subxS1Comment"># . save registers</span>
-<span id="L345" class="LineNr">345 </span>    50/push-eax
-<span id="L346" class="LineNr">346 </span>    <span class="subxComment">#</span>
-<span id="L347" class="LineNr">347 </span>    8b/-&gt; *(ebp+8) 0/r32/eax
-<span id="L348" class="LineNr">348 </span>    89/&lt;- *<span class="SpecialChar"><a href='103glyph.subx.html#L401'>Real-screen-cursor-x</a></span> 0/r32/eax
-<span id="L349" class="LineNr">349 </span>    8b/-&gt; *(ebp+0xc) 0/r32/eax
-<span id="L350" class="LineNr">350 </span>    89/&lt;- *<span class="SpecialChar"><a href='103glyph.subx.html#L403'>Real-screen-cursor-y</a></span> 0/r32/eax
-<span id="L351" class="LineNr">351 </span><span class="Constant">$set-cursor-position-on-real-screen:end</span>:
-<span id="L352" class="LineNr">352 </span>    <span class="subxS1Comment"># . restore registers</span>
-<span id="L353" class="LineNr">353 </span>    58/pop-to-eax
-<span id="L354" class="LineNr">354 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L355" class="LineNr">355 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L356" class="LineNr">356 </span>    5d/pop-to-ebp
-<span id="L357" class="LineNr">357 </span>    c3/return
-<span id="L358" class="LineNr">358 </span>
-<span id="L359" class="LineNr">359 </span><span class="subxComment"># Not a real `show-cursor` primitive:</span>
-<span id="L360" class="LineNr">360 </span><span class="subxComment">#   - does not clear previous location cursor was shown at.</span>
-<span id="L361" class="LineNr">361 </span><span class="subxComment">#   - does not preserve what was at the cursor. Caller is responsible for</span>
-<span id="L362" class="LineNr">362 </span><span class="subxComment">#     tracking what was on the screen at this position before and passing it</span>
-<span id="L363" class="LineNr">363 </span><span class="subxComment">#     in again.</span>
-<span id="L364" class="LineNr">364 </span><span class="subxComment">#   - does not stop showing the cursor at this location when the cursor moves</span>
-<span id="L365" class="LineNr">365 </span><span class="subxFunction">draw-cursor-on-real-screen</span>:  <span class="subxComment"># c: code-point</span>
-<span id="L366" class="LineNr">366 </span>    <span class="subxS1Comment"># . prologue</span>
-<span id="L367" class="LineNr">367 </span>    55/push-ebp
-<span id="L368" class="LineNr">368 </span>    89/&lt;- %ebp 4/r32/esp
-<span id="L369" class="LineNr">369 </span>    <span class="subxS1Comment"># . save registers</span>
-<span id="L370" class="LineNr">370 </span>    50/push-eax
-<span id="L371" class="LineNr">371 </span>    51/push-ecx
-<span id="L372" class="LineNr">372 </span>    <span class="subxComment">#</span>
-<span id="L373" class="LineNr">373 </span>    (<a href='103glyph.subx.html#L327'>cursor-position-on-real-screen</a>)  <span class="subxComment"># =&gt; eax, ecx</span>
-<span id="L374" class="LineNr">374 </span>    (<a href='103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> *(ebp+8) %eax %ecx 0 7)  <span class="subxComment"># =&gt; eax</span>
-<span id="L375" class="LineNr">375 </span><span class="Constant">$draw-cursor-on-real-screen:end</span>:
-<span id="L376" class="LineNr">376 </span>    <span class="subxS1Comment"># . restore registers</span>
-<span id="L377" class="LineNr">377 </span>    59/pop-to-ecx
-<span id="L378" class="LineNr">378 </span>    58/pop-to-eax
-<span id="L379" class="LineNr">379 </span>    <span class="subxS1Comment"># . epilogue</span>
-<span id="L380" class="LineNr">380 </span>    89/&lt;- %esp 5/r32/ebp
-<span id="L381" class="LineNr">381 </span>    5d/pop-to-ebp
-<span id="L382" class="LineNr">382 </span>    c3/return
-<span id="L383" class="LineNr">383 </span>
-<span id="L384" class="LineNr">384 </span>== data
-<span id="L385" class="LineNr">385 </span>
-<span id="L386" class="LineNr">386 </span><span class="subxComment"># The cursor is where certain Mu functions (usually of the form</span>
-<span id="L387" class="LineNr">387 </span><span class="subxComment"># 'draw*cursor*') print to by default.</span>
-<span id="L388" class="LineNr">388 </span><span class="subxComment">#</span>
-<span id="L389" class="LineNr">389 </span><span class="subxComment"># We don't bother displaying the cursor when drawing. It only becomes visible</span>
-<span id="L390" class="LineNr">390 </span><span class="subxComment"># on draw-cursor, which is quite rickety (see above)</span>
-<span id="L391" class="LineNr">391 </span><span class="subxComment">#</span>
-<span id="L392" class="LineNr">392 </span><span class="subxComment"># It's up to applications to manage cursor display:</span>
-<span id="L393" class="LineNr">393 </span><span class="subxComment">#   - clean up where it used to be</span>
-<span id="L394" class="LineNr">394 </span><span class="subxComment">#   - display the cursor before waiting for a key</span>
-<span id="L395" class="LineNr">395 </span><span class="subxComment">#   - ensure its location appropriately suggests the effect keystrokes will have</span>
-<span id="L396" class="LineNr">396 </span><span class="subxComment">#   - ensure its contents (and colors) appropriately reflect the state of the</span>
-<span id="L397" class="LineNr">397 </span><span class="subxComment">#     screen</span>
-<span id="L398" class="LineNr">398 </span><span class="subxComment">#</span>
-<span id="L399" class="LineNr">399 </span><span class="subxComment"># There's no blinking, etc. We aren't using any hardware-supported text mode</span>
-<span id="L400" class="LineNr">400 </span><span class="subxComment"># here.</span>
-<span id="L401" class="LineNr">401 </span><span class="SpecialChar">Real-screen-cursor-x</span>:
-<span id="L402" class="LineNr">402 </span>  0/imm32
-<span id="L403" class="LineNr">403 </span><span class="SpecialChar">Real-screen-cursor-y</span>:
-<span id="L404" class="LineNr">404 </span>  0/imm32
+<span id="L150" class="LineNr">150 </span><span class="Constant">$wide-code-point?:return-false</span>:
+<span id="L151" class="LineNr">151 </span>    b8/copy-to-eax 0/imm32/false
+<span id="L152" class="LineNr">152 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L153" class="LineNr">153 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L154" class="LineNr">154 </span>    5d/pop-to-ebp
+<span id="L155" class="LineNr">155 </span>    c3/return
+<span id="L156" class="LineNr">156 </span>
+<span id="L157" class="LineNr">157 </span><span class="subxFunction">combining-code-point?</span>:  <span class="subxComment"># c: code-point -&gt; _/eax: boolean</span>
+<span id="L158" class="LineNr">158 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L159" class="LineNr">159 </span>    55/push-ebp
+<span id="L160" class="LineNr">160 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L161" class="LineNr">161 </span>    <span class="subxComment"># eax = c</span>
+<span id="L162" class="LineNr">162 </span>    8b/-&gt; *(ebp+8) 0/r32/eax
+<span id="L163" class="LineNr">163 </span>    <span class="subxComment"># if (c &gt;= 4352) return false</span>
+<span id="L164" class="LineNr">164 </span>    3d/compare-eax-and 0x1100/imm32
+<span id="L165" class="LineNr">165 </span>    0f 8d/jump-if-&gt;= $combining-code-point?:return-false/disp32
+<span id="L166" class="LineNr">166 </span>    <span class="subxComment"># var letter-bitmap/eax = font[c]</span>
+<span id="L167" class="LineNr">167 </span>    69/multiply %eax 0x22/imm32/glyph-size 0/r32/eax
+<span id="L168" class="LineNr">168 </span>    05/add-to-eax 0x0010000c/imm32/Font  <span class="subxComment"># see boot.subx</span>
+<span id="L169" class="LineNr">169 </span>    <span class="subxComment"># dispatch based on letter-bitmap-&gt;is-combine?</span>
+<span id="L170" class="LineNr">170 </span>    8a/byte-&gt; *(eax+1) 0/r32/AL
+<span id="L171" class="LineNr">171 </span>    25/and-eax-with  0xff/imm32
+<span id="L172" class="LineNr">172 </span><span class="Constant">$combining-code-point?:end</span>:
+<span id="L173" class="LineNr">173 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L174" class="LineNr">174 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L175" class="LineNr">175 </span>    5d/pop-to-ebp
+<span id="L176" class="LineNr">176 </span>    c3/return
+<span id="L177" class="LineNr">177 </span>
+<span id="L178" class="LineNr">178 </span><span class="Constant">$combining-code-point?:return-false</span>:
+<span id="L179" class="LineNr">179 </span>    b8/copy-to-eax 0/imm32/false
+<span id="L180" class="LineNr">180 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L181" class="LineNr">181 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L182" class="LineNr">182 </span>    5d/pop-to-ebp
+<span id="L183" class="LineNr">183 </span>    c3/return
+<span id="L184" class="LineNr">184 </span>
+<span id="L185" class="LineNr">185 </span><span class="subxComment"># buffer: naked address to raw screen RAM without a length</span>
+<span id="L186" class="LineNr">186 </span><span class="subxComment"># letter-bitmap: naked address to 8-pixel wide font glyph</span>
+<span id="L187" class="LineNr">187 </span><span class="subxFunction">draw-narrow-code-point-on-screen-buffer</span>:  <span class="subxComment"># buffer: (addr byte), letter-bitmap: (addr byte), x: int, y: int, color: int, background-color: int, overlay?: boolean, screen-width: int, screen-height: int</span>
+<span id="L188" class="LineNr">188 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L189" class="LineNr">189 </span>    55/push-ebp
+<span id="L190" class="LineNr">190 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L191" class="LineNr">191 </span>    <span class="subxS1Comment"># . save registers</span>
+<span id="L192" class="LineNr">192 </span>    52/push-edx
+<span id="L193" class="LineNr">193 </span>    53/push-ebx
+<span id="L194" class="LineNr">194 </span>    56/push-esi
+<span id="L195" class="LineNr">195 </span>    57/push-edi
+<span id="L196" class="LineNr">196 </span>    <span class="subxComment"># esi = letter-bitmap</span>
+<span id="L197" class="LineNr">197 </span>    8b/-&gt; *(ebp+0xc) 6/r32/esi
+<span id="L198" class="LineNr">198 </span>    <span class="subxComment"># var ycurr/edx: int = y*16</span>
+<span id="L199" class="LineNr">199 </span>    8b/-&gt; *(ebp+0x14) 2/r32/edx
+<span id="L200" class="LineNr">200 </span>    c1 4/subop/shift-left %edx 4/imm8
+<span id="L201" class="LineNr">201 </span>    <span class="subxComment"># var ymax/edi: int = ycurr + 16</span>
+<span id="L202" class="LineNr">202 </span>    8b/-&gt; *(ebp+0x14) 7/r32/edi
+<span id="L203" class="LineNr">203 </span>    c1 4/subop/shift-left %edi 4/imm8
+<span id="L204" class="LineNr">204 </span>    81 0/subop/add %edi 0x10/imm32
+<span id="L205" class="LineNr">205 </span>    {
+<span id="L206" class="LineNr">206 </span>      <span class="subxComment"># if (ycurr &gt;= ymax) break</span>
+<span id="L207" class="LineNr">207 </span>      39/compare %edx 7/r32/edi
+<span id="L208" class="LineNr">208 </span>      0f 8d/jump-if-&gt;= <span class="Constant">break</span>/disp32
+<span id="L209" class="LineNr">209 </span>      <span class="subxComment"># var row-bitmap/ebx: byte = *letter-bitmap</span>
+<span id="L210" class="LineNr">210 </span>      bb/copy-to-ebx 0/imm32
+<span id="L211" class="LineNr">211 </span>      8a/byte-&gt; *esi 3/r32/BL
+<span id="L212" class="LineNr">212 </span>      (<a href='103glyph.subx.html#L290'>draw-run-of-pixels-from-glyph</a> *(ebp+8) %ebx *(ebp+0x10) %edx *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
+<span id="L213" class="LineNr">213 </span>      <span class="subxComment"># ++y</span>
+<span id="L214" class="LineNr">214 </span>      42/increment-edx
+<span id="L215" class="LineNr">215 </span>      <span class="subxComment"># next bitmap row</span>
+<span id="L216" class="LineNr">216 </span>      46/increment-esi
+<span id="L217" class="LineNr">217 </span>      <span class="subxComment">#</span>
+<span id="L218" class="LineNr">218 </span>      e9/jump <span class="Constant">loop</span>/disp32
+<span id="L219" class="LineNr">219 </span>    }
+<span id="L220" class="LineNr">220 </span><span class="Constant">$draw-narrow-code-point-on-screen-buffer:end</span>:
+<span id="L221" class="LineNr">221 </span>    <span class="subxS1Comment"># . restore registers</span>
+<span id="L222" class="LineNr">222 </span>    5f/pop-to-edi
+<span id="L223" class="LineNr">223 </span>    5e/pop-to-esi
+<span id="L224" class="LineNr">224 </span>    5b/pop-to-ebx
+<span id="L225" class="LineNr">225 </span>    5a/pop-to-edx
+<span id="L226" class="LineNr">226 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L227" class="LineNr">227 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L228" class="LineNr">228 </span>    5d/pop-to-ebp
+<span id="L229" class="LineNr">229 </span>    c3/return
+<span id="L230" class="LineNr">230 </span>
+<span id="L231" class="LineNr">231 </span><span class="subxComment"># buffer: naked address to raw screen RAM without a length</span>
+<span id="L232" class="LineNr">232 </span><span class="subxComment"># letter-bitmap: naked address to 16-pixel wide font glyph</span>
+<span id="L233" class="LineNr">233 </span><span class="subxFunction">draw-wide-code-point-on-screen-buffer</span>:  <span class="subxComment"># buffer: (addr byte), letter-bitmap: (addr byte), x: int, y: int, color: int, background-color: int, overlay?: boolean, screen-width: int, screen-height: int</span>
+<span id="L234" class="LineNr">234 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L235" class="LineNr">235 </span>    55/push-ebp
+<span id="L236" class="LineNr">236 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L237" class="LineNr">237 </span>    <span class="subxS1Comment"># . save registers</span>
+<span id="L238" class="LineNr">238 </span>    50/push-eax
+<span id="L239" class="LineNr">239 </span>    51/push-ecx
+<span id="L240" class="LineNr">240 </span>    52/push-edx
+<span id="L241" class="LineNr">241 </span>    53/push-ebx
+<span id="L242" class="LineNr">242 </span>    56/push-esi
+<span id="L243" class="LineNr">243 </span>    57/push-edi
+<span id="L244" class="LineNr">244 </span>    <span class="subxComment"># esi = letter-bitmap</span>
+<span id="L245" class="LineNr">245 </span>    8b/-&gt; *(ebp+0xc) 6/r32/esi
+<span id="L246" class="LineNr">246 </span>    <span class="subxComment">#</span>
+<span id="L247" class="LineNr">247 </span>    bb/copy-to-ebx 0/imm32
+<span id="L248" class="LineNr">248 </span>    <span class="subxComment"># var ycurr/edx: int = y*16</span>
+<span id="L249" class="LineNr">249 </span>    8b/-&gt; *(ebp+0x14) 2/r32/edx
+<span id="L250" class="LineNr">250 </span>    c1 4/subop/shift-left %edx 4/imm8
+<span id="L251" class="LineNr">251 </span>    <span class="subxComment"># var ymax/edi: int = ycurr + 16</span>
+<span id="L252" class="LineNr">252 </span>    8b/-&gt; *(ebp+0x14) 7/r32/edi
+<span id="L253" class="LineNr">253 </span>    c1 4/subop/shift-left %edi 4/imm8
+<span id="L254" class="LineNr">254 </span>    81 0/subop/add %edi 0x10/imm32
+<span id="L255" class="LineNr">255 </span>    {
+<span id="L256" class="LineNr">256 </span>      <span class="subxComment"># if (ycurr &gt;= ymax) break</span>
+<span id="L257" class="LineNr">257 </span>      39/compare %edx 7/r32/edi
+<span id="L258" class="LineNr">258 </span>      0f 8d/jump-if-&gt;= <span class="Constant">break</span>/disp32
+<span id="L259" class="LineNr">259 </span>      <span class="subxComment"># var row-bitmap/ebx: byte = *letter-bitmap</span>
+<span id="L260" class="LineNr">260 </span>      8a/byte-&gt; *esi 3/r32/BL
+<span id="L261" class="LineNr">261 </span>      <span class="subxComment"># ecx = x</span>
+<span id="L262" class="LineNr">262 </span>      8b/-&gt; *(ebp+0x10) 1/r32/ecx
+<span id="L263" class="LineNr">263 </span>      <span class="subxComment"># first half-row</span>
+<span id="L264" class="LineNr">264 </span>      (<a href='103glyph.subx.html#L290'>draw-run-of-pixels-from-glyph</a> *(ebp+8) %ebx %ecx %edx *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
+<span id="L265" class="LineNr">265 </span>      <span class="subxComment"># second half-row</span>
+<span id="L266" class="LineNr">266 </span>      8a/byte-&gt; *(esi+1) 3/r32/BL
+<span id="L267" class="LineNr">267 </span>      41/increment-ecx
+<span id="L268" class="LineNr">268 </span>      (<a href='103glyph.subx.html#L290'>draw-run-of-pixels-from-glyph</a> *(ebp+8) %ebx %ecx %edx *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24) *(ebp+0x28))
+<span id="L269" class="LineNr">269 </span>      <span class="subxComment"># ++y</span>
+<span id="L270" class="LineNr">270 </span>      42/increment-edx
+<span id="L271" class="LineNr">271 </span>      <span class="subxComment"># next bitmap row</span>
+<span id="L272" class="LineNr">272 </span>      81 0/subop/add %esi 2/imm32
+<span id="L273" class="LineNr">273 </span>      <span class="subxComment">#</span>
+<span id="L274" class="LineNr">274 </span>      e9/jump <span class="Constant">loop</span>/disp32
+<span id="L275" class="LineNr">275 </span>    }
+<span id="L276" class="LineNr">276 </span><span class="Constant">$draw-wide-code-point-on-screen-buffer:end</span>:
+<span id="L277" class="LineNr">277 </span>    <span class="subxS1Comment"># . restore registers</span>
+<span id="L278" class="LineNr">278 </span>    5f/pop-to-edi
+<span id="L279" class="LineNr">279 </span>    5e/pop-to-esi
+<span id="L280" class="LineNr">280 </span>    5b/pop-to-ebx
+<span id="L281" class="LineNr">281 </span>    5a/pop-to-edx
+<span id="L282" class="LineNr">282 </span>    59/pop-to-ecx
+<span id="L283" class="LineNr">283 </span>    58/pop-to-eax
+<span id="L284" class="LineNr">284 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L285" class="LineNr">285 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L286" class="LineNr">286 </span>    5d/pop-to-ebp
+<span id="L287" class="LineNr">287 </span>    c3/return
+<span id="L288" class="LineNr">288 </span>
+<span id="L289" class="LineNr">289 </span><span class="subxComment"># draw 8 pixels from a single glyph byte in a font bitmap</span>
+<span id="L290" class="LineNr">290 </span><span class="subxFunction">draw-run-of-pixels-from-glyph</span>:  <span class="subxComment"># buffer: (addr byte), glyph-byte: byte, x: int, y: int, color: int, background-color: int, overlay?: boolean, screen-width: int, screen-height: int</span>
+<span id="L291" class="LineNr">291 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L292" class="LineNr">292 </span>    55/push-ebp
+<span id="L293" class="LineNr">293 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L294" class="LineNr">294 </span>    <span class="subxS1Comment"># . save registers</span>
+<span id="L295" class="LineNr">295 </span>    50/push-eax
+<span id="L296" class="LineNr">296 </span>    51/push-ecx
+<span id="L297" class="LineNr">297 </span>    56/push-esi
+<span id="L298" class="LineNr">298 </span>    <span class="subxComment"># esi = glyph-byte</span>
+<span id="L299" class="LineNr">299 </span>    8b/-&gt; *(ebp+0xc) 6/r32/esi
+<span id="L300" class="LineNr">300 </span>    <span class="subxComment"># var xcurr/eax: int = x*8 + 7</span>
+<span id="L301" class="LineNr">301 </span>    8b/-&gt; *(ebp+0x10) 0/r32/eax
+<span id="L302" class="LineNr">302 </span>    c1 4/subop/shift-left %eax 3/imm8
+<span id="L303" class="LineNr">303 </span>    05/add-to-eax 7/imm32
+<span id="L304" class="LineNr">304 </span>    <span class="subxComment"># var xmin/ecx: int = x*8</span>
+<span id="L305" class="LineNr">305 </span>    8b/-&gt; *(ebp+0x10) 1/r32/ecx
+<span id="L306" class="LineNr">306 </span>    c1 4/subop/shift-left %ecx 3/imm8
+<span id="L307" class="LineNr">307 </span>    {
+<span id="L308" class="LineNr">308 </span>      <span class="subxComment"># if (xcurr &lt; xmin) break</span>
+<span id="L309" class="LineNr">309 </span>      39/compare %eax 1/r32/ecx
+<span id="L310" class="LineNr">310 </span>      7c/jump-if-&lt; <span class="Constant">break</span>/disp8
+<span id="L311" class="LineNr">311 </span>      <span class="subxComment"># shift LSB from row-bitmap into carry flag (CF)</span>
+<span id="L312" class="LineNr">312 </span>      c1 5/subop/shift-right-logical %esi 1/imm8
+<span id="L313" class="LineNr">313 </span>      <span class="subxComment"># if LSB, draw a pixel in the given color</span>
+<span id="L314" class="LineNr">314 </span>      {
+<span id="L315" class="LineNr">315 </span>        73/jump-if-not-CF <span class="Constant">break</span>/disp8
+<span id="L316" class="LineNr">316 </span>        (<a href='101screen.subx.html#L21'>pixel-on-screen-buffer</a> *(ebp+8) %eax *(ebp+0x14) *(ebp+0x18) *(ebp+0x24) *(ebp+0x28))
+<span id="L317" class="LineNr">317 </span>        eb/jump $draw-code-point-on-screen-buffer:continue/disp8
+<span id="L318" class="LineNr">318 </span>      }
+<span id="L319" class="LineNr">319 </span>      <span class="subxComment"># otherwise use the background color (except when overlay?)</span>
+<span id="L320" class="LineNr">320 </span>      {
+<span id="L321" class="LineNr">321 </span>        81 7/subop/compare *(ebp+0x20) 0/imm32/false
+<span id="L322" class="LineNr">322 </span>        75/jump-if-!= <span class="Constant">break</span>/disp8
+<span id="L323" class="LineNr">323 </span>        (<a href='101screen.subx.html#L21'>pixel-on-screen-buffer</a> *(ebp+8) %eax *(ebp+0x14) *(ebp+0x1c) *(ebp+0x24) *(ebp+0x28))
+<span id="L324" class="LineNr">324 </span>      }
+<span id="L325" class="LineNr">325 </span><span class="Constant">$draw-code-point-on-screen-buffer:continue</span>:
+<span id="L326" class="LineNr">326 </span>      <span class="subxComment"># --x</span>
+<span id="L327" class="LineNr">327 </span>      48/decrement-eax
+<span id="L328" class="LineNr">328 </span>      <span class="subxComment">#</span>
+<span id="L329" class="LineNr">329 </span>      eb/jump <span class="Constant">loop</span>/disp8
+<span id="L330" class="LineNr">330 </span>    }
+<span id="L331" class="LineNr">331 </span><span class="Constant">$draw-run-of-pixels-from-glyph:end</span>:
+<span id="L332" class="LineNr">332 </span>    <span class="subxS1Comment"># . restore registers</span>
+<span id="L333" class="LineNr">333 </span>    5e/pop-to-esi
+<span id="L334" class="LineNr">334 </span>    59/pop-to-ecx
+<span id="L335" class="LineNr">335 </span>    58/pop-to-eax
+<span id="L336" class="LineNr">336 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L337" class="LineNr">337 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L338" class="LineNr">338 </span>    5d/pop-to-ebp
+<span id="L339" class="LineNr">339 </span>    c3/return
+<span id="L340" class="LineNr">340 </span>
+<span id="L341" class="LineNr">341 </span><span class="subxFunction">cursor-position-on-real-screen</span>:  <span class="subxComment"># -&gt; _/eax: int, _/ecx: int</span>
+<span id="L342" class="LineNr">342 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L343" class="LineNr">343 </span>    55/push-ebp
+<span id="L344" class="LineNr">344 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L345" class="LineNr">345 </span>    <span class="subxComment"># TODO: support fake screen; we currently assume 'screen' is always 0 (real)</span>
+<span id="L346" class="LineNr">346 </span>    8b/-&gt; *<span class="SpecialChar"><a href='103glyph.subx.html#L415'>Real-screen-cursor-x</a></span> 0/r32/eax
+<span id="L347" class="LineNr">347 </span>    8b/-&gt; *<span class="SpecialChar"><a href='103glyph.subx.html#L417'>Real-screen-cursor-y</a></span> 1/r32/ecx
+<span id="L348" class="LineNr">348 </span><span class="Constant">$cursor-position-on-real-screen:end</span>:
+<span id="L349" class="LineNr">349 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L350" class="LineNr">350 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L351" class="LineNr">351 </span>    5d/pop-to-ebp
+<span id="L352" class="LineNr">352 </span>    c3/return
+<span id="L353" class="LineNr">353 </span>
+<span id="L354" class="LineNr">354 </span><span class="subxFunction">set-cursor-position-on-real-screen</span>:  <span class="subxComment"># x: int, y: int</span>
+<span id="L355" class="LineNr">355 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L356" class="LineNr">356 </span>    55/push-ebp
+<span id="L357" class="LineNr">357 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L358" class="LineNr">358 </span>    <span class="subxS1Comment"># . save registers</span>
+<span id="L359" class="LineNr">359 </span>    50/push-eax
+<span id="L360" class="LineNr">360 </span>    <span class="subxComment">#</span>
+<span id="L361" class="LineNr">361 </span>    8b/-&gt; *(ebp+8) 0/r32/eax
+<span id="L362" class="LineNr">362 </span>    89/&lt;- *<span class="SpecialChar"><a href='103glyph.subx.html#L415'>Real-screen-cursor-x</a></span> 0/r32/eax
+<span id="L363" class="LineNr">363 </span>    8b/-&gt; *(ebp+0xc) 0/r32/eax
+<span id="L364" class="LineNr">364 </span>    89/&lt;- *<span class="SpecialChar"><a href='103glyph.subx.html#L417'>Real-screen-cursor-y</a></span> 0/r32/eax
+<span id="L365" class="LineNr">365 </span><span class="Constant">$set-cursor-position-on-real-screen:end</span>:
+<span id="L366" class="LineNr">366 </span>    <span class="subxS1Comment"># . restore registers</span>
+<span id="L367" class="LineNr">367 </span>    58/pop-to-eax
+<span id="L368" class="LineNr">368 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L369" class="LineNr">369 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L370" class="LineNr">370 </span>    5d/pop-to-ebp
+<span id="L371" class="LineNr">371 </span>    c3/return
+<span id="L372" class="LineNr">372 </span>
+<span id="L373" class="LineNr">373 </span><span class="subxComment"># Not a real `show-cursor` primitive:</span>
+<span id="L374" class="LineNr">374 </span><span class="subxComment">#   - does not clear previous location cursor was shown at.</span>
+<span id="L375" class="LineNr">375 </span><span class="subxComment">#   - does not preserve what was at the cursor. Caller is responsible for</span>
+<span id="L376" class="LineNr">376 </span><span class="subxComment">#     tracking what was on the screen at this position before and passing it</span>
+<span id="L377" class="LineNr">377 </span><span class="subxComment">#     in again.</span>
+<span id="L378" class="LineNr">378 </span><span class="subxComment">#   - does not stop showing the cursor at this location when the cursor moves</span>
+<span id="L379" class="LineNr">379 </span><span class="subxFunction">draw-cursor-on-real-screen</span>:  <span class="subxComment"># c: code-point</span>
+<span id="L380" class="LineNr">380 </span>    <span class="subxS1Comment"># . prologue</span>
+<span id="L381" class="LineNr">381 </span>    55/push-ebp
+<span id="L382" class="LineNr">382 </span>    89/&lt;- %ebp 4/r32/esp
+<span id="L383" class="LineNr">383 </span>    <span class="subxS1Comment"># . save registers</span>
+<span id="L384" class="LineNr">384 </span>    50/push-eax
+<span id="L385" class="LineNr">385 </span>    51/push-ecx
+<span id="L386" class="LineNr">386 </span>    <span class="subxComment">#</span>
+<span id="L387" class="LineNr">387 </span>    (<a href='103glyph.subx.html#L341'>cursor-position-on-real-screen</a>)  <span class="subxComment"># =&gt; eax, ecx</span>
+<span id="L388" class="LineNr">388 </span>    (<a href='103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> *(ebp+8) %eax %ecx 0 7)  <span class="subxComment"># =&gt; eax</span>
+<span id="L389" class="LineNr">389 </span><span class="Constant">$draw-cursor-on-real-screen:end</span>:
+<span id="L390" class="LineNr">390 </span>    <span class="subxS1Comment"># . restore registers</span>
+<span id="L391" class="LineNr">391 </span>    59/pop-to-ecx
+<span id="L392" class="LineNr">392 </span>    58/pop-to-eax
+<span id="L393" class="LineNr">393 </span>    <span class="subxS1Comment"># . epilogue</span>
+<span id="L394" class="LineNr">394 </span>    89/&lt;- %esp 5/r32/ebp
+<span id="L395" class="LineNr">395 </span>    5d/pop-to-ebp
+<span id="L396" class="LineNr">396 </span>    c3/return
+<span id="L397" class="LineNr">397 </span>
+<span id="L398" class="LineNr">398 </span>== data
+<span id="L399" class="LineNr">399 </span>
+<span id="L400" class="LineNr">400 </span><span class="subxComment"># The cursor is where certain Mu functions (usually of the form</span>
+<span id="L401" class="LineNr">401 </span><span class="subxComment"># 'draw*cursor*') print to by default.</span>
+<span id="L402" class="LineNr">402 </span><span class="subxComment">#</span>
+<span id="L403" class="LineNr">403 </span><span class="subxComment"># We don't bother displaying the cursor when drawing. It only becomes visible</span>
+<span id="L404" class="LineNr">404 </span><span class="subxComment"># on draw-cursor, which is quite rickety (see above)</span>
+<span id="L405" class="LineNr">405 </span><span class="subxComment">#</span>
+<span id="L406" class="LineNr">406 </span><span class="subxComment"># It's up to applications to manage cursor display:</span>
+<span id="L407" class="LineNr">407 </span><span class="subxComment">#   - clean up where it used to be</span>
+<span id="L408" class="LineNr">408 </span><span class="subxComment">#   - display the cursor before waiting for a key</span>
+<span id="L409" class="LineNr">409 </span><span class="subxComment">#   - ensure its location appropriately suggests the effect keystrokes will have</span>
+<span id="L410" class="LineNr">410 </span><span class="subxComment">#   - ensure its contents (and colors) appropriately reflect the state of the</span>
+<span id="L411" class="LineNr">411 </span><span class="subxComment">#     screen</span>
+<span id="L412" class="LineNr">412 </span><span class="subxComment">#</span>
+<span id="L413" class="LineNr">413 </span><span class="subxComment"># There's no blinking, etc. We aren't using any hardware-supported text mode</span>
+<span id="L414" class="LineNr">414 </span><span class="subxComment"># here.</span>
+<span id="L415" class="LineNr">415 </span><span class="SpecialChar">Real-screen-cursor-x</span>:
+<span id="L416" class="LineNr">416 </span>  0/imm32
+<span id="L417" class="LineNr">417 </span><span class="SpecialChar">Real-screen-cursor-y</span>:
+<span id="L418" class="LineNr">418 </span>  0/imm32
 </pre>
 </body>
 </html>
diff --git a/html/104test.subx.html b/html/104test.subx.html
index 19370ca7..2eaa060b 100644
--- a/html/104test.subx.html
+++ b/html/104test.subx.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 - 104test.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/105string-equal.subx.html b/html/105string-equal.subx.html
index ea61cdb7..b2c9dd56 100644
--- a/html/105string-equal.subx.html
+++ b/html/105string-equal.subx.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 - 105string-equal.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/106stream.subx.html b/html/106stream.subx.html
index 42b4da7d..a059ab84 100644
--- a/html/106stream.subx.html
+++ b/html/106stream.subx.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 - 106stream.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/108write.subx.html b/html/108write.subx.html
index dd8b52d5..044886b8 100644
--- a/html/108write.subx.html
+++ b/html/108write.subx.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 - 108write.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -364,8 +364,8 @@ if ('onhashchange' in window) {
 <span id="L304" class="LineNr">304 </span>    c3/return
 <span id="L305" class="LineNr">305 </span>
 <span id="L306" class="LineNr">306 </span><span class="Constant">$_append-4:<a href='317abort.subx.html#L5'>abort</a></span>:
-<span id="L307" class="LineNr">307 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;_append-4: stream full at &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L308" class="LineNr">308 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %eax 3 0)
+<span id="L307" class="LineNr">307 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;_append-4: stream full at &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L308" class="LineNr">308 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %eax 3 0)
 <span id="L309" class="LineNr">309 </span>    (<a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;&quot;</span>)
 <span id="L310" class="LineNr">310 </span>    <span class="subxComment"># never gets here</span>
 <span id="L311" class="LineNr">311 </span>
diff --git a/html/109stream-equal.subx.html b/html/109stream-equal.subx.html
index e7117a7b..9c21c8d2 100644
--- a/html/109stream-equal.subx.html
+++ b/html/109stream-equal.subx.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 - 109stream-equal.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/112read-byte.subx.html b/html/112read-byte.subx.html
index cfdfe994..99b1855d 100644
--- a/html/112read-byte.subx.html
+++ b/html/112read-byte.subx.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 - 112read-byte.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/113write-stream.subx.html b/html/113write-stream.subx.html
index 549b8628..e10d3e59 100644
--- a/html/113write-stream.subx.html
+++ b/html/113write-stream.subx.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 - 113write-stream.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/115write-byte.subx.html b/html/115write-byte.subx.html
index 3b62dd1f..79ffa2c9 100644
--- a/html/115write-byte.subx.html
+++ b/html/115write-byte.subx.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 - 115write-byte.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/117write-int-hex.subx.html b/html/117write-int-hex.subx.html
index 3e9ae37b..5911e228 100644
--- a/html/117write-int-hex.subx.html
+++ b/html/117write-int-hex.subx.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 - 117write-int-hex.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/118parse-hex-int.subx.html b/html/118parse-hex-int.subx.html
index 545e7c84..db66b984 100644
--- a/html/118parse-hex-int.subx.html
+++ b/html/118parse-hex-int.subx.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 - 118parse-hex-int.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/120allocate.subx.html b/html/120allocate.subx.html
index 666281d7..7629e36d 100644
--- a/html/120allocate.subx.html
+++ b/html/120allocate.subx.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 - 120allocate.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -27,7 +27,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -322,36 +322,36 @@ if ('onhashchange' in window) {
 <span id="L261" class="LineNr">261 </span>    c3/return
 <span id="L262" class="LineNr">262 </span>
 <span id="L263" class="LineNr">263 </span><span class="Constant">$lookup:<a href='317abort.subx.html#L5'>abort</a></span>:
-<span id="L264" class="LineNr">264 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;lookup failed: (&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L265" class="LineNr">265 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+8) 3 0)
-<span id="L266" class="LineNr">266 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;, &quot;</span> 3 0)
-<span id="L267" class="LineNr">267 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0xc) 3 0)
-<span id="L268" class="LineNr">268 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;) -&gt; &quot;</span> 3 0)
-<span id="L269" class="LineNr">269 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L270" class="LineNr">270 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;. Contents of a few words starting from address 0: &quot;</span> 3 0)
+<span id="L264" class="LineNr">264 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;lookup failed: (&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L265" class="LineNr">265 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+8) 3 0)
+<span id="L266" class="LineNr">266 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;, &quot;</span> 3 0)
+<span id="L267" class="LineNr">267 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0xc) 3 0)
+<span id="L268" class="LineNr">268 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;) -&gt; &quot;</span> 3 0)
+<span id="L269" class="LineNr">269 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L270" class="LineNr">270 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;. Contents of a few words starting from address 0: &quot;</span> 3 0)
 <span id="L271" class="LineNr">271 </span>    b8/copy-to-eax 0/imm32
-<span id="L272" class="LineNr">272 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 2 0)
-<span id="L273" class="LineNr">273 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L272" class="LineNr">272 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 2 0)
+<span id="L273" class="LineNr">273 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L274" class="LineNr">274 </span>    40/increment-eax
-<span id="L275" class="LineNr">275 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L276" class="LineNr">276 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L275" class="LineNr">275 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L276" class="LineNr">276 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L277" class="LineNr">277 </span>    40/increment-eax
-<span id="L278" class="LineNr">278 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L279" class="LineNr">279 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L278" class="LineNr">278 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L279" class="LineNr">279 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L280" class="LineNr">280 </span>    40/increment-eax
-<span id="L281" class="LineNr">281 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L282" class="LineNr">282 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L281" class="LineNr">281 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L282" class="LineNr">282 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L283" class="LineNr">283 </span>    40/increment-eax
-<span id="L284" class="LineNr">284 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L285" class="LineNr">285 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L284" class="LineNr">284 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L285" class="LineNr">285 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L286" class="LineNr">286 </span>    40/increment-eax
-<span id="L287" class="LineNr">287 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L288" class="LineNr">288 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L287" class="LineNr">287 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L288" class="LineNr">288 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L289" class="LineNr">289 </span>    40/increment-eax
-<span id="L290" class="LineNr">290 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
-<span id="L291" class="LineNr">291 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
+<span id="L290" class="LineNr">290 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L291" class="LineNr">291 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 2 0)
 <span id="L292" class="LineNr">292 </span>    40/increment-eax
-<span id="L293" class="LineNr">293 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
+<span id="L293" class="LineNr">293 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *eax 3 0)
 <span id="L294" class="LineNr">294 </span>    (<a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;\n&quot;</span>)
 <span id="L295" class="LineNr">295 </span>    <span class="subxComment"># never gets here</span>
 <span id="L296" class="LineNr">296 </span>
diff --git a/html/121new-stream.subx.html b/html/121new-stream.subx.html
index 894a6005..fa2cac9c 100644
--- a/html/121new-stream.subx.html
+++ b/html/121new-stream.subx.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 - 121new-stream.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/123slice.subx.html b/html/123slice.subx.html
index b295b3be..624011b4 100644
--- a/html/123slice.subx.html
+++ b/html/123slice.subx.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 - 123slice.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -27,7 +27,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -1071,7 +1071,7 @@ if ('onhashchange' in window) {
 <span id="L1010" class="LineNr">1010 </span>    8b/copy                         1/mod/*+disp8   3/rm32/ebx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebx+4) to eax</span>
 <span id="L1011" class="LineNr">1011 </span>    <span class="subxComment"># skip payload-&gt;allocid</span>
 <span id="L1012" class="LineNr">1012 </span>    05/add-to-eax  4/imm32
-<span id="L1013" class="Folded">1013 </span><span class="Folded">+-- 26 lines: #?     # dump eax -------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L1013" class="Folded">1013 </span><span class="Folded">+-- 26 lines: #?     # dump eax ---------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L1039" class="LineNr">1039 </span>    <span class="subxComment"># eax = string-equal?(eax, &quot;Abc&quot;)</span>
 <span id="L1040" class="LineNr">1040 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L1041" class="LineNr">1041 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
diff --git a/html/124next-token.subx.html b/html/124next-token.subx.html
index 5e5e98d2..c5eedfc2 100644
--- a/html/124next-token.subx.html
+++ b/html/124next-token.subx.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 - 124next-token.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/126write-int-decimal.subx.html b/html/126write-int-decimal.subx.html
index 5b3fd295..4f87aa51 100644
--- a/html/126write-int-decimal.subx.html
+++ b/html/126write-int-decimal.subx.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 - 126write-int-decimal.subx</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,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
+<meta name="settings" content="number_lines,use_css,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 { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
@@ -27,7 +27,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -286,7 +286,7 @@ if ('onhashchange' in window) {
 <span id="L225" class="LineNr">225 </span>    e8/call  <a href='126write-int-decimal.subx.html#L8'>write-int32-decimal</a>/disp32
 <span id="L226" class="LineNr">226 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L227" class="LineNr">227 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to esp</span>
-<span id="L228" class="Folded">228 </span><span class="Folded">+-- 26 lines: #?     # dump _test-stream ----------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L228" class="Folded">228 </span><span class="Folded">+-- 26 lines: #?     # dump _test-stream ------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L254" class="LineNr">254 </span>    <span class="subxComment"># check-stream-equal(_test-stream, &quot;-9&quot;, msg)</span>
 <span id="L255" class="LineNr">255 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L256" class="LineNr">256 </span>    68/push  <span class="Constant">&quot;F - test-write-int32-decimal-negative&quot;</span>/imm32
diff --git a/html/127next-word.subx.html b/html/127next-word.subx.html
index 70618251..4e826d5c 100644
--- a/html/127next-word.subx.html
+++ b/html/127next-word.subx.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 - 127next-word.subx</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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/301array-equal.subx.html b/html/301array-equal.subx.html
index 650da278..73335c78 100644
--- a/html/301array-equal.subx.html
+++ b/html/301array-equal.subx.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 - 301array-equal.subx</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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/302stack_allocate.subx.html b/html/302stack_allocate.subx.html
index 67a2df92..057c0e58 100644
--- a/html/302stack_allocate.subx.html
+++ b/html/302stack_allocate.subx.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 - 302stack_allocate.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/308allocate-array.subx.html b/html/308allocate-array.subx.html
index 36bd1d02..8acca921 100644
--- a/html/308allocate-array.subx.html
+++ b/html/308allocate-array.subx.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 - 308allocate-array.subx</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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/309stream.subx.html b/html/309stream.subx.html
index 82855340..d6ce071b 100644
--- a/html/309stream.subx.html
+++ b/html/309stream.subx.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 - 309stream.subx</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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/310copy-bytes.subx.html b/html/310copy-bytes.subx.html
index 859eb844..de219b4a 100644
--- a/html/310copy-bytes.subx.html
+++ b/html/310copy-bytes.subx.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 - 310copy-bytes.subx</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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/311decimal-int.subx.html b/html/311decimal-int.subx.html
index 30f103f2..6be2d021 100644
--- a/html/311decimal-int.subx.html
+++ b/html/311decimal-int.subx.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 - 311decimal-int.subx</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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/312copy.subx.html b/html/312copy.subx.html
index ba937a53..d2378b3a 100644
--- a/html/312copy.subx.html
+++ b/html/312copy.subx.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 - 312copy.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/313index-bounds-check.subx.html b/html/313index-bounds-check.subx.html
index 340e7239..ac783092 100644
--- a/html/313index-bounds-check.subx.html
+++ b/html/313index-bounds-check.subx.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 - 313index-bounds-check.subx</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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -82,13 +82,13 @@ if ('onhashchange' in window) {
 <span id="L26" class="LineNr">26 </span>    39/compare %eax 1/r32/ecx
 <span id="L27" class="LineNr">27 </span>    0f 82/jump-if-unsigned&lt; $__check-mu-array-bounds:end/disp32  <span class="subxComment"># negative index should always abort</span>
 <span id="L28" class="LineNr">28 </span>    <span class="subxComment"># abort if necessary</span>
-<span id="L29" class="LineNr">29 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;fn &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L30" class="LineNr">30 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x14) 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L31" class="LineNr">31 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;: offset &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L32" class="LineNr">32 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %eax 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L33" class="LineNr">33 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; is too large for array '&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L34" class="LineNr">34 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x18) 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L35" class="LineNr">35 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;'&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L29" class="LineNr">29 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;fn &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L30" class="LineNr">30 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x14) 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L31" class="LineNr">31 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;: offset &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L32" class="LineNr">32 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %eax 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L33" class="LineNr">33 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; is too large for array '&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L34" class="LineNr">34 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x18) 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L35" class="LineNr">35 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;'&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
 <span id="L36" class="LineNr">36 </span>    (<a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;&quot;</span>)
 <span id="L37" class="LineNr">37 </span>    <span class="subxComment"># never gets here</span>
 <span id="L38" class="LineNr">38 </span><span class="Constant">$__check-mu-array-bounds:end</span>:
@@ -102,11 +102,11 @@ if ('onhashchange' in window) {
 <span id="L46" class="LineNr">46 </span>    c3/return
 <span id="L47" class="LineNr">47 </span>
 <span id="L48" class="LineNr">48 </span><span class="subxMinorFunction">__check-mu-array-bounds:overflow</span>:
-<span id="L49" class="LineNr">49 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;fn &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L50" class="LineNr">50 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x14) 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L51" class="LineNr">51 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;: offset to array '&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L52" class="LineNr">52 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x18) 3 0)  <span class="subxComment"># 3=cyan</span>
-<span id="L53" class="LineNr">53 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;' overflowed 32 bits&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L49" class="LineNr">49 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;fn &quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L50" class="LineNr">50 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x14) 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L51" class="LineNr">51 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;: offset to array '&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L52" class="LineNr">52 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0x18) 3 0)  <span class="subxComment"># 3=cyan</span>
+<span id="L53" class="LineNr">53 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;' overflowed 32 bits&quot;</span> 3 0)  <span class="subxComment"># 3=cyan</span>
 <span id="L54" class="LineNr">54 </span>    (<a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;&quot;</span>)
 <span id="L55" class="LineNr">55 </span>    <span class="subxComment"># never gets here</span>
 <span id="L56" class="LineNr">56 </span>
diff --git a/html/314divide.subx.html b/html/314divide.subx.html
index 79c784ae..f0010665 100644
--- a/html/314divide.subx.html
+++ b/html/314divide.subx.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 - 314divide.subx</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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/315stack-debug.subx.html b/html/315stack-debug.subx.html
index f670aa25..c7f1e1a9 100644
--- a/html/315stack-debug.subx.html
+++ b/html/315stack-debug.subx.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 - 315stack-debug.subx</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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -92,12 +92,12 @@ if ('onhashchange' in window) {
 <span id="L34" class="LineNr"> 34 </span>    <span class="subxComment">#</span>
 <span id="L35" class="LineNr"> 35 </span>    89/&lt;- %edx 4/r32/esp
 <span id="L36" class="LineNr"> 36 </span>    <span class="subxComment"># save old cursor position</span>
-<span id="L37" class="LineNr"> 37 </span>    (<a href='500fake-screen.mu.html#L230'>cursor-position</a> 0)  <span class="subxComment"># =&gt; eax, ecx</span>
+<span id="L37" class="LineNr"> 37 </span>    (<a href='500fake-screen.mu.html#L251'>cursor-position</a> 0)  <span class="subxComment"># =&gt; eax, ecx</span>
 <span id="L38" class="LineNr"> 38 </span>    <span class="subxComment"># print at top-right</span>
-<span id="L39" class="LineNr"> 39 </span>    (<a href='500fake-screen.mu.html#L246'>set-cursor-position</a> 0 0x70 0)
-<span id="L40" class="LineNr"> 40 </span>    (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %edx 0xf 0xc)
+<span id="L39" class="LineNr"> 39 </span>    (<a href='500fake-screen.mu.html#L267'>set-cursor-position</a> 0 0x70 0)
+<span id="L40" class="LineNr"> 40 </span>    (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %edx 0xf 0xc)
 <span id="L41" class="LineNr"> 41 </span>    <span class="subxComment"># restore cursor position</span>
-<span id="L42" class="LineNr"> 42 </span>    (<a href='500fake-screen.mu.html#L246'>set-cursor-position</a> %eax %ecx)
+<span id="L42" class="LineNr"> 42 </span>    (<a href='500fake-screen.mu.html#L267'>set-cursor-position</a> %eax %ecx)
 <span id="L43" class="LineNr"> 43 </span><span class="Constant">$show-stack-state:end</span>:
 <span id="L44" class="LineNr"> 44 </span>    <span class="subxS1Comment"># . restore registers</span>
 <span id="L45" class="LineNr"> 45 </span>    5a/pop-to-edx
@@ -122,13 +122,13 @@ if ('onhashchange' in window) {
 <span id="L64" class="LineNr"> 64 </span>    {
 <span id="L65" class="LineNr"> 65 </span>      81 7/subop/compare *<span class="SpecialChar"><a href='315stack-debug.subx.html#L121'>Really-debug-print</a></span> 0/imm32/false
 <span id="L66" class="LineNr"> 66 </span>      74/jump-if-= <span class="Constant">break</span>/disp8
-<span id="L67" class="LineNr"> 67 </span>      (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+8) *(ebp+0xc) *(ebp+0x10))
+<span id="L67" class="LineNr"> 67 </span>      (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+8) *(ebp+0xc) *(ebp+0x10))
 <span id="L68" class="LineNr"> 68 </span>      <span class="subxComment"># clear the screen and continue if we got too close to the bottom</span>
-<span id="L69" class="LineNr"> 69 </span>      (<a href='500fake-screen.mu.html#L230'>cursor-position</a> 0)  <span class="subxComment"># =&gt; eax, ecx</span>
+<span id="L69" class="LineNr"> 69 </span>      (<a href='500fake-screen.mu.html#L251'>cursor-position</a> 0)  <span class="subxComment"># =&gt; eax, ecx</span>
 <span id="L70" class="LineNr"> 70 </span>      81 7/subop/compare %ecx 0x28/imm32
 <span id="L71" class="LineNr"> 71 </span>      75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L72" class="LineNr"> 72 </span>      (<a href='500fake-screen.mu.html#L307'>clear-screen</a> 0)
-<span id="L73" class="LineNr"> 73 </span>      (<a href='500fake-screen.mu.html#L246'>set-cursor-position</a> 0 0 0)
+<span id="L72" class="LineNr"> 72 </span>      (<a href='500fake-screen.mu.html#L328'>clear-screen</a> 0)
+<span id="L73" class="LineNr"> 73 </span>      (<a href='500fake-screen.mu.html#L267'>set-cursor-position</a> 0 0 0)
 <span id="L74" class="LineNr"> 74 </span>    }
 <span id="L75" class="LineNr"> 75 </span><span class="Constant">$debug-print:end</span>:
 <span id="L76" class="LineNr"> 76 </span>    <span class="subxS1Comment"># . restore registers</span>
diff --git a/html/316colors.subx.html b/html/316colors.subx.html
index c6b65f7d..d4ac5947 100644
--- a/html/316colors.subx.html
+++ b/html/316colors.subx.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 - 316colors.subx</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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/317abort.subx.html b/html/317abort.subx.html
index d22d2ec5..cedc6e56 100644
--- a/html/317abort.subx.html
+++ b/html/317abort.subx.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 - 317abort.subx</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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -65,8 +65,8 @@ if ('onhashchange' in window) {
 <span id="L7" class="LineNr">  7 </span>    55/push-ebp
 <span id="L8" class="LineNr">  8 </span>    89/&lt;- %ebp 4/r32/esp
 <span id="L9" class="LineNr">  9 </span>    <span class="subxComment">#</span>
-<span id="L10" class="LineNr"> 10 </span>    (<a href='103glyph.subx.html#L340'>set-cursor-position-on-real-screen</a> 0 0)
-<span id="L11" class="LineNr"> 11 </span>    (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+8) 0xf 0xc)  <span class="subxComment"># 0/real-screen, 0xf/fg=white, 0xc/bg=red</span>
+<span id="L10" class="LineNr"> 10 </span>    (<a href='103glyph.subx.html#L354'>set-cursor-position-on-real-screen</a> 0 0)
+<span id="L11" class="LineNr"> 11 </span>    (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+8) 0xf 0xc)  <span class="subxComment"># 0/real-screen, 0xf/fg=white, 0xc/bg=red</span>
 <span id="L12" class="LineNr"> 12 </span>    (<a href='317abort.subx.html#L21'>dump-call-stack</a>)
 <span id="L13" class="LineNr"> 13 </span>    <span class="subxComment"># crash</span>
 <span id="L14" class="LineNr"> 14 </span>    {
@@ -101,9 +101,9 @@ if ('onhashchange' in window) {
 <span id="L43" class="LineNr"> 43 </span>      81 7/subop/compare %ebx 0/imm32
 <span id="L44" class="LineNr"> 44 </span>      0f 84/jump-if-= <span class="Constant">break</span>/disp32
 <span id="L45" class="LineNr"> 45 </span>      <span class="subxComment"># loop body</span>
-<span id="L46" class="LineNr"> 46 </span>      (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;\n&quot;</span> 0 0xc)
-<span id="L47" class="LineNr"> 47 </span>      (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebx+4) 0xf 0xc)
-<span id="L48" class="LineNr"> 48 </span>      (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 0 0xc)
+<span id="L46" class="LineNr"> 46 </span>      (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;\n&quot;</span> 0 0xc)
+<span id="L47" class="LineNr"> 47 </span>      (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebx+4) 0xf 0xc)
+<span id="L48" class="LineNr"> 48 </span>      (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot; &quot;</span> 0 0xc)
 <span id="L49" class="LineNr"> 49 </span>      (<a href='317abort.subx.html#L233'>containing-function</a> %edx *(ebx+4))  <span class="subxComment"># =&gt; eax, ecx</span>
 <span id="L50" class="LineNr"> 50 </span>      (<a href='317abort.subx.html#L294'>draw-slice-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 %eax %ecx 0 0xc)
 <span id="L51" class="LineNr"> 51 </span>      <span class="subxComment"># loop update</span>
@@ -190,7 +190,7 @@ if ('onhashchange' in window) {
 <span id="L132" class="LineNr">132 </span>      3d/compare-eax-and 0/imm32
 <span id="L133" class="LineNr">133 </span>      {
 <span id="L134" class="LineNr">134 </span>        75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L135" class="LineNr">135 </span>        (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;done loading&quot;</span> 7 0)
+<span id="L135" class="LineNr">135 </span>        (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;done loading&quot;</span> 7 0)
 <span id="L136" class="LineNr">136 </span>        {
 <span id="L137" class="LineNr">137 </span>          eb/jump <span class="Constant">loop</span>/disp8
 <span id="L138" class="LineNr">138 </span>        }
@@ -198,7 +198,7 @@ if ('onhashchange' in window) {
 <span id="L140" class="LineNr">140 </span>      3d/compare-eax-and 0xa/imm32/newline
 <span id="L141" class="LineNr">141 </span>      {
 <span id="L142" class="LineNr">142 </span>        75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L143" class="LineNr">143 </span>        (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;unexpected newline&quot;</span> 7 0)
+<span id="L143" class="LineNr">143 </span>        (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;unexpected newline&quot;</span> 7 0)
 <span id="L144" class="LineNr">144 </span>        {
 <span id="L145" class="LineNr">145 </span>          eb/jump <span class="Constant">loop</span>/disp8
 <span id="L146" class="LineNr">146 </span>        }
@@ -231,7 +231,7 @@ if ('onhashchange' in window) {
 <span id="L173" class="LineNr">173 </span>      3d/compare-eax-and 0/imm32
 <span id="L174" class="LineNr">174 </span>      {
 <span id="L175" class="LineNr">175 </span>        75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L176" class="LineNr">176 </span>        (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;done loading&quot;</span> 7 0)
+<span id="L176" class="LineNr">176 </span>        (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;done loading&quot;</span> 7 0)
 <span id="L177" class="LineNr">177 </span>        {
 <span id="L178" class="LineNr">178 </span>          eb/jump <span class="Constant">loop</span>/disp8
 <span id="L179" class="LineNr">179 </span>        }
@@ -239,7 +239,7 @@ if ('onhashchange' in window) {
 <span id="L181" class="LineNr">181 </span>      3d/compare-eax-and 0x20/imm32/space
 <span id="L182" class="LineNr">182 </span>      {
 <span id="L183" class="LineNr">183 </span>        75/jump-if-!= <span class="Constant">break</span>/disp8
-<span id="L184" class="LineNr">184 </span>        (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;unexpected space&quot;</span> 7 0)
+<span id="L184" class="LineNr">184 </span>        (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;unexpected space&quot;</span> 7 0)
 <span id="L185" class="LineNr">185 </span>        {
 <span id="L186" class="LineNr">186 </span>          eb/jump <span class="Constant">loop</span>/disp8
 <span id="L187" class="LineNr">187 </span>        }
@@ -310,8 +310,8 @@ if ('onhashchange' in window) {
 <span id="L252" class="LineNr">252 </span>      39/compare %ecx 2/r32/edx
 <span id="L253" class="LineNr">253 </span>      {
 <span id="L254" class="LineNr">254 </span>        0f 82/jump-if-addr&lt; <span class="Constant">break</span>/disp32
-<span id="L255" class="LineNr">255 </span>        (<a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;failed to find function for address &quot;</span> 7 0)
-<span id="L256" class="LineNr">256 </span>        (<a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0xc) 7 0)
+<span id="L255" class="LineNr">255 </span>        (<a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">&quot;failed to find function for address &quot;</span> 7 0)
+<span id="L256" class="LineNr">256 </span>        (<a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 *(ebp+0xc) 7 0)
 <span id="L257" class="LineNr">257 </span>        {
 <span id="L258" class="LineNr">258 </span>          eb/jump <span class="Constant">loop</span>/disp8
 <span id="L259" class="LineNr">259 </span>        }
@@ -369,7 +369,7 @@ if ('onhashchange' in window) {
 <span id="L311" class="LineNr">311 </span>      73/jump-if-addr&gt;= <span class="Constant">break</span>/disp8
 <span id="L312" class="LineNr">312 </span>      <span class="subxComment"># print *curr</span>
 <span id="L313" class="LineNr">313 </span>      8a/byte-&gt; *ecx 0/r32/eax
-<span id="L314" class="LineNr">314 </span>      (<a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> *(ebp+8) %eax *(ebp+0x14) *(ebp+0x18))
+<span id="L314" class="LineNr">314 </span>      (<a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> *(ebp+8) %eax *(ebp+0x14) *(ebp+0x18))
 <span id="L315" class="LineNr">315 </span>      <span class="subxComment">#</span>
 <span id="L316" class="LineNr">316 </span>      41/increment-ecx
 <span id="L317" class="LineNr">317 </span>      <span class="subxComment">#</span>
diff --git a/html/318debug-counter.subx.html b/html/318debug-counter.subx.html
index 4a2bdde7..ba203bbe 100644
--- a/html/318debug-counter.subx.html
+++ b/html/318debug-counter.subx.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 - 318debug-counter.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/319timer.subx.html b/html/319timer.subx.html
index 13f078cc..64510310 100644
--- a/html/319timer.subx.html
+++ b/html/319timer.subx.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 - 319timer.subx</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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/400.mu.html b/html/400.mu.html
index 7470c121..653aa867 100644
--- a/html/400.mu.html
+++ b/html/400.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 - 400.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; }
@@ -23,7 +23,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -61,10 +61,10 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr">  4 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> c: code-point, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int
 <span id="L5" class="LineNr">  5 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L43'>draw-code-point-on-screen-array</a> screen-data: (addr array byte), c: code-point, x: int, y: int, color: int, background-color: int, screen-width: int, screen-height: int<span class="PreProc"> -&gt; </span>_/eax: int
 <span id="L6" class="LineNr">  6 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L127'>wide-code-point?</a> c: code-point<span class="PreProc"> -&gt; </span>_/eax: boolean
-<span id="L7" class="LineNr">  7 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L150'>combining-code-point?</a> c: code-point<span class="PreProc"> -&gt; </span>_/eax: boolean
-<span id="L8" class="LineNr">  8 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L327'>cursor-position-on-real-screen</a><span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int
-<span id="L9" class="LineNr">  9 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L340'>set-cursor-position-on-real-screen</a> x: int, y: int
-<span id="L10" class="LineNr"> 10 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L365'>draw-cursor-on-real-screen</a> c: code-point
+<span id="L7" class="LineNr">  7 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L157'>combining-code-point?</a> c: code-point<span class="PreProc"> -&gt; </span>_/eax: boolean
+<span id="L8" class="LineNr">  8 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L341'>cursor-position-on-real-screen</a><span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int
+<span id="L9" class="LineNr">  9 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L354'>set-cursor-position-on-real-screen</a> x: int, y: int
+<span id="L10" class="LineNr"> 10 </span><span class="PreProc">sig</span> <a href='103glyph.subx.html#L379'>draw-cursor-on-real-screen</a> c: code-point
 <span id="L11" class="LineNr"> 11 </span><span class="PreProc">sig</span> <a href='316colors.subx.html#L7'>color-rgb</a> color: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int, _/<span class="muRegEdx">edx</span>: int, _/<span class="muRegEbx">ebx</span>: int
 <span id="L12" class="LineNr"> 12 </span>
 <span id="L13" class="LineNr"> 13 </span><span class="muComment"># timer</span>
diff --git a/html/403unicode.mu.html b/html/403unicode.mu.html
index e8a93129..62acddf2 100644
--- a/html/403unicode.mu.html
+++ b/html/403unicode.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 - 403unicode.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -95,21 +95,21 @@ if ('onhashchange' in window) {
 <span id="L31" class="LineNr"> 31 </span>      <span class="Delimiter">{</span>
 <span id="L32" class="LineNr"> 32 </span>        compare init?, <span class="Constant">0</span>/false
 <span id="L33" class="LineNr"> 33 </span>        <span class="PreProc">break-if-=</span>
-<span id="L34" class="LineNr"> 34 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;F - <a href='403unicode.mu.html#L17'>test-unicode-serialization-and-deserialization</a>: &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L34" class="LineNr"> 34 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;F - <a href='403unicode.mu.html#L17'>test-unicode-serialization-and-deserialization</a>: &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L35" class="LineNr"> 35 </span>      <span class="Delimiter">}</span>
 <span id="L36" class="LineNr"> 36 </span>      init? <span class="Special">&lt;-</span> copy <span class="Constant">0</span>/false
-<span id="L37" class="LineNr"> 37 </span>      <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, i, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L38" class="LineNr"> 38 </span>      <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;/&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L37" class="LineNr"> 37 </span>      <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, i, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L38" class="LineNr"> 38 </span>      <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;/&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L39" class="LineNr"> 39 </span>      <span class="Delimiter">{</span>
 <span id="L40" class="LineNr"> 40 </span>        <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy g
-<span id="L41" class="LineNr"> 41 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L41" class="LineNr"> 41 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L42" class="LineNr"> 42 </span>      <span class="Delimiter">}</span>
-<span id="L43" class="LineNr"> 43 </span>      <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;/&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L43" class="LineNr"> 43 </span>      <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;/&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L44" class="LineNr"> 44 </span>      <span class="Delimiter">{</span>
 <span id="L45" class="LineNr"> 45 </span>        <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy c2
-<span id="L46" class="LineNr"> 46 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x2, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L46" class="LineNr"> 46 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x2, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L47" class="LineNr"> 47 </span>      <span class="Delimiter">}</span>
-<span id="L48" class="LineNr"> 48 </span>      <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L48" class="LineNr"> 48 </span>      <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L49" class="LineNr"> 49 </span>    <span class="Delimiter">}</span>
 <span id="L50" class="LineNr"> 50 </span>    i <span class="Special">&lt;-</span> add <span class="Constant">0xf</span>  <span class="muComment"># to speed things up; ensure increment is not a power of 2</span>
 <span id="L51" class="LineNr"> 51 </span>    <span class="PreProc">loop</span>
diff --git a/html/408float.mu.html b/html/408float.mu.html
index 0377314b..633faee8 100644
--- a/html/408float.mu.html
+++ b/html/408float.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 - 408float.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/411string.mu.html b/html/411string.mu.html
index b2515fec..3677f1f8 100644
--- a/html/411string.mu.html
+++ b/html/411string.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 - 411string.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/412render-float-decimal.mu.html b/html/412render-float-decimal.mu.html
index 93fdb100..89183c1a 100644
--- a/html/412render-float-decimal.mu.html
+++ b/html/412render-float-decimal.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 - 412render-float-decimal.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -219,7 +219,7 @@ if ('onhashchange' in window) {
 <span id="L155" class="LineNr">155 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L156" class="LineNr">156 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L157" class="LineNr">157 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L158" class="LineNr">158 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L117'>draw-stream-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, s, x, width, y, color, background-color
+<span id="L158" class="LineNr">158 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L124'>draw-stream-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, s, x, width, y, color, background-color
 <span id="L159" class="LineNr">159 </span>  <span class="PreProc">return</span> result
 <span id="L160" class="LineNr">160 </span><span class="Delimiter">}</span>
 <span id="L161" class="LineNr">161 </span>
diff --git a/html/500fake-screen.mu.html b/html/500fake-screen.mu.html
index d19d508d..330bf534 100644
--- a/html/500fake-screen.mu.html
+++ b/html/500fake-screen.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 - 500fake-screen.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -86,7 +86,7 @@ if ('onhashchange' in window) {
 <span id="L23" class="LineNr"> 23 </span><span class="Delimiter">}</span>
 <span id="L24" class="LineNr"> 24 </span>
 <span id="L25" class="LineNr"> 25 </span><span class="PreProc">type</span> <a href='500fake-screen.mu.html#L25'>screen-cell</a> <span class="Delimiter">{</span>
-<span id="L26" class="LineNr"> 26 </span>  data: code-point
+<span id="L26" class="LineNr"> 26 </span>  data: code-point  <span class="muComment"># TODO: support combining characters overlaid on another character</span>
 <span id="L27" class="LineNr"> 27 </span>  color: int
 <span id="L28" class="LineNr"> 28 </span>  background-color: int
 <span id="L29" class="LineNr"> 29 </span>  unused?: boolean
@@ -165,601 +165,622 @@ if ('onhashchange' in window) {
 <span id="L102" class="LineNr">102 </span>  compare wide?, <span class="Constant">0</span>/false
 <span id="L103" class="LineNr">103 </span>  <span class="Delimiter">{</span>
 <span id="L104" class="LineNr">104 </span>    <span class="PreProc">break-if-=</span>
-<span id="L105" class="LineNr">105 </span>    <a href='500fake-screen.mu.html#L161'>draw-wide-code-point-on-fake-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
+<span id="L105" class="LineNr">105 </span>    <a href='500fake-screen.mu.html#L182'>draw-wide-code-point-on-fake-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
 <span id="L106" class="LineNr">106 </span>    <span class="PreProc">return</span> <span class="Constant">2</span>
 <span id="L107" class="LineNr">107 </span>  <span class="Delimiter">}</span>
-<span id="L108" class="LineNr">108 </span>  <a href='500fake-screen.mu.html#L112'>draw-narrow-code-point-on-fake-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
+<span id="L108" class="LineNr">108 </span>  <a href='500fake-screen.mu.html#L133'>draw-narrow-code-point-on-fake-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
 <span id="L109" class="LineNr">109 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>
 <span id="L110" class="LineNr">110 </span><span class="Delimiter">}</span>
 <span id="L111" class="LineNr">111 </span>
-<span id="L112" class="LineNr">112 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L112'>draw-narrow-code-point-on-fake-screen</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, x: int, y: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L112" class="LineNr">112 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L112'>overlay-code-point</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
 <span id="L113" class="LineNr">113 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L114" class="LineNr">114 </span>  <span class="muComment"># ignore if out of bounds</span>
-<span id="L115" class="LineNr">115 </span>  <span class="Delimiter">{</span>
-<span id="L116" class="LineNr">116 </span>    compare x, <span class="Constant">0</span>
-<span id="L117" class="LineNr">117 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L118" class="LineNr">118 </span>    <span class="PreProc">return</span>
+<span id="L114" class="LineNr">114 </span>  <span class="Delimiter">{</span>
+<span id="L115" class="LineNr">115 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L116" class="LineNr">116 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L117" class="LineNr">117 </span>    <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> c, x, y, color, background-color
+<span id="L118" class="LineNr">118 </span>    <span class="PreProc">return</span> result
 <span id="L119" class="LineNr">119 </span>  <span class="Delimiter">}</span>
-<span id="L120" class="LineNr">120 </span>  <span class="Delimiter">{</span>
-<span id="L121" class="LineNr">121 </span>    <span class="PreProc">var</span> xmax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L122" class="LineNr">122 </span>    <span class="PreProc">var</span> xmax/eax: int <span class="Special">&lt;-</span> copy *xmax-addr
-<span id="L123" class="LineNr">123 </span>    compare x, xmax
-<span id="L124" class="LineNr">124 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L125" class="LineNr">125 </span>    <span class="Delimiter">{</span>
-<span id="L126" class="LineNr">126 </span>      <span class="PreProc">loop</span>
-<span id="L127" class="LineNr">127 </span>    <span class="Delimiter">}</span>
-<span id="L128" class="LineNr">128 </span>    <span class="PreProc">return</span>
-<span id="L129" class="LineNr">129 </span>  <span class="Delimiter">}</span>
-<span id="L130" class="LineNr">130 </span>  <span class="Delimiter">{</span>
-<span id="L131" class="LineNr">131 </span>    compare y, <span class="Constant">0</span>
-<span id="L132" class="LineNr">132 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L133" class="LineNr">133 </span>    <span class="PreProc">return</span>
-<span id="L134" class="LineNr">134 </span>  <span class="Delimiter">}</span>
-<span id="L135" class="LineNr">135 </span>  <span class="Delimiter">{</span>
-<span id="L136" class="LineNr">136 </span>    <span class="PreProc">var</span> ymax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L137" class="LineNr">137 </span>    <span class="PreProc">var</span> ymax/eax: int <span class="Special">&lt;-</span> copy *ymax-addr
-<span id="L138" class="LineNr">138 </span>    compare y, ymax
-<span id="L139" class="LineNr">139 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L140" class="LineNr">140 </span>    <span class="PreProc">return</span>
-<span id="L141" class="LineNr">141 </span>  <span class="Delimiter">}</span>
-<span id="L142" class="LineNr">142 </span>  <span class="muComment">#</span>
-<span id="L143" class="LineNr">143 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L144" class="LineNr">144 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L145" class="LineNr">145 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L146" class="LineNr">146 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L147" class="LineNr">147 </span>  <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L148" class="LineNr">148 </span>  <span class="PreProc">var</span> dest-code-point/eax: (addr code-point) <span class="Special">&lt;-</span> get dest-cell, data
-<span id="L149" class="LineNr">149 </span>  <span class="PreProc">var</span> c2/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy c
-<span id="L150" class="LineNr">150 </span>  copy-to *dest-code-point, c2
-<span id="L151" class="LineNr">151 </span>  <span class="PreProc">var</span> dest-color/eax: (addr int) <span class="Special">&lt;-</span> get dest-cell, color
-<span id="L152" class="LineNr">152 </span>  <span class="PreProc">var</span> src-color/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy color
-<span id="L153" class="LineNr">153 </span>  copy-to *dest-color, src-color
-<span id="L154" class="LineNr">154 </span>  dest-color <span class="Special">&lt;-</span> get dest-cell, background-color
-<span id="L155" class="LineNr">155 </span>  src-color <span class="Special">&lt;-</span> copy background-color
-<span id="L156" class="LineNr">156 </span>  copy-to *dest-color, src-color
-<span id="L157" class="LineNr">157 </span>  <span class="PreProc">var</span> dest/eax: (addr boolean) <span class="Special">&lt;-</span> get dest-cell, unused?
-<span id="L158" class="LineNr">158 </span>  copy-to *dest, <span class="Constant">0</span>/false
-<span id="L159" class="LineNr">159 </span><span class="Delimiter">}</span>
-<span id="L160" class="LineNr">160 </span>
-<span id="L161" class="LineNr">161 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L161'>draw-wide-code-point-on-fake-screen</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, x: int, y: int, color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L162" class="LineNr">162 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L163" class="LineNr">163 </span>  <span class="muComment"># ignore if out of bounds</span>
-<span id="L164" class="LineNr">164 </span>  <span class="Delimiter">{</span>
-<span id="L165" class="LineNr">165 </span>    compare x, <span class="Constant">0</span>
-<span id="L166" class="LineNr">166 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L167" class="LineNr">167 </span>    <span class="PreProc">return</span>
-<span id="L168" class="LineNr">168 </span>  <span class="Delimiter">}</span>
-<span id="L169" class="LineNr">169 </span>  <span class="Delimiter">{</span>
-<span id="L170" class="LineNr">170 </span>    <span class="PreProc">var</span> xmax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L171" class="LineNr">171 </span>    <span class="PreProc">var</span> xmax/eax: int <span class="Special">&lt;-</span> copy *xmax-addr
-<span id="L172" class="LineNr">172 </span>    xmax <span class="Special">&lt;-</span> decrement  <span class="muComment"># wide code-points need an extra unit</span>
-<span id="L173" class="LineNr">173 </span>    compare x, xmax
-<span id="L174" class="LineNr">174 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L175" class="LineNr">175 </span>    <span class="PreProc">return</span>
-<span id="L176" class="LineNr">176 </span>  <span class="Delimiter">}</span>
-<span id="L177" class="LineNr">177 </span>  <span class="Delimiter">{</span>
-<span id="L178" class="LineNr">178 </span>    compare y, <span class="Constant">0</span>
-<span id="L179" class="LineNr">179 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L180" class="LineNr">180 </span>    <span class="PreProc">return</span>
-<span id="L181" class="LineNr">181 </span>  <span class="Delimiter">}</span>
-<span id="L182" class="LineNr">182 </span>  <span class="Delimiter">{</span>
-<span id="L183" class="LineNr">183 </span>    <span class="PreProc">var</span> ymax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L184" class="LineNr">184 </span>    <span class="PreProc">var</span> ymax/eax: int <span class="Special">&lt;-</span> copy *ymax-addr
-<span id="L185" class="LineNr">185 </span>    compare y, ymax
-<span id="L186" class="LineNr">186 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L187" class="LineNr">187 </span>    <span class="PreProc">return</span>
-<span id="L188" class="LineNr">188 </span>  <span class="Delimiter">}</span>
-<span id="L189" class="LineNr">189 </span>  <span class="muComment">#</span>
-<span id="L190" class="LineNr">190 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L191" class="LineNr">191 </span>  <span class="Delimiter">{</span>
-<span id="L192" class="LineNr">192 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L193" class="LineNr">193 </span>    <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L194" class="LineNr">194 </span>    <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L195" class="LineNr">195 </span>    <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L196" class="LineNr">196 </span>    <span class="PreProc">var</span> dest-code-point/eax: (addr code-point) <span class="Special">&lt;-</span> get dest-cell, data
-<span id="L197" class="LineNr">197 </span>    <span class="PreProc">var</span> c2/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy c
-<span id="L198" class="LineNr">198 </span>    copy-to *dest-code-point, c2
-<span id="L199" class="LineNr">199 </span>    <span class="PreProc">var</span> dest-color/eax: (addr int) <span class="Special">&lt;-</span> get dest-cell, color
-<span id="L200" class="LineNr">200 </span>    <span class="PreProc">var</span> src-color/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy color
-<span id="L201" class="LineNr">201 </span>    copy-to *dest-color, src-color
-<span id="L202" class="LineNr">202 </span>    dest-color <span class="Special">&lt;-</span> get dest-cell, background-color
-<span id="L203" class="LineNr">203 </span>    src-color <span class="Special">&lt;-</span> copy background-color
-<span id="L204" class="LineNr">204 </span>    copy-to *dest-color, src-color
-<span id="L205" class="LineNr">205 </span>    <span class="PreProc">var</span> dest/eax: (addr boolean) <span class="Special">&lt;-</span> get dest-cell, unused?
-<span id="L206" class="LineNr">206 </span>    copy-to *dest, <span class="Constant">0</span>/false
-<span id="L207" class="LineNr">207 </span>  <span class="Delimiter">}</span>
-<span id="L208" class="LineNr">208 </span>  <span class="muComment"># set next screen-cell to unused</span>
-<span id="L209" class="LineNr">209 </span>  index <span class="Special">&lt;-</span> increment
-<span id="L210" class="LineNr">210 </span>  <span class="Delimiter">{</span>
-<span id="L211" class="LineNr">211 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L212" class="LineNr">212 </span>    <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L213" class="LineNr">213 </span>    <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L214" class="LineNr">214 </span>    <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L215" class="LineNr">215 </span>    <span class="PreProc">var</span> dest/eax: (addr boolean) <span class="Special">&lt;-</span> get dest-cell, unused?
-<span id="L216" class="LineNr">216 </span>    copy-to *dest, <span class="Constant">1</span>/true
-<span id="L217" class="LineNr">217 </span>  <span class="Delimiter">}</span>
-<span id="L218" class="LineNr">218 </span><span class="Delimiter">}</span>
-<span id="L219" class="LineNr">219 </span>
-<span id="L220" class="LineNr">220 </span><span class="muComment"># fake screens only</span>
-<span id="L221" class="LineNr">221 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L221'>screen-cell-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L222" class="LineNr">222 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L223" class="LineNr">223 </span>  <span class="PreProc">var</span> width-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L224" class="LineNr">224 </span>  <span class="PreProc">var</span> result/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L225" class="LineNr">225 </span>  result <span class="Special">&lt;-</span> multiply *width-addr
-<span id="L226" class="LineNr">226 </span>  result <span class="Special">&lt;-</span> add x
-<span id="L227" class="LineNr">227 </span>  <span class="PreProc">return</span> result
-<span id="L228" class="LineNr">228 </span><span class="Delimiter">}</span>
-<span id="L229" class="LineNr">229 </span>
-<span id="L230" class="LineNr">230 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L230'>cursor-position</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>)<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L231" class="LineNr">231 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L232" class="LineNr">232 </span>  <span class="Delimiter">{</span>
-<span id="L233" class="LineNr">233 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
-<span id="L234" class="LineNr">234 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L235" class="LineNr">235 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L236" class="LineNr">236 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L237" class="LineNr">237 </span>    x, y <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L327'>cursor-position-on-real-screen</a>
-<span id="L238" class="LineNr">238 </span>    <span class="PreProc">return</span> x, y
-<span id="L239" class="LineNr">239 </span>  <span class="Delimiter">}</span>
-<span id="L240" class="LineNr">240 </span>  <span class="muComment"># fake screen</span>
-<span id="L241" class="LineNr">241 </span>  <span class="PreProc">var</span> cursor-x-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x
-<span id="L242" class="LineNr">242 </span>  <span class="PreProc">var</span> cursor-y-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-y
-<span id="L243" class="LineNr">243 </span>  <span class="PreProc">return</span> *cursor-x-addr, *cursor-y-addr
-<span id="L244" class="LineNr">244 </span><span class="Delimiter">}</span>
-<span id="L245" class="LineNr">245 </span>
-<span id="L246" class="LineNr">246 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L246'>set-cursor-position</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int <span class="Delimiter">{</span>
-<span id="L247" class="LineNr">247 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L248" class="LineNr">248 </span>  <span class="Delimiter">{</span>
-<span id="L249" class="LineNr">249 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
-<span id="L250" class="LineNr">250 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L251" class="LineNr">251 </span>    <a href='103glyph.subx.html#L340'>set-cursor-position-on-real-screen</a> x, y
-<span id="L252" class="LineNr">252 </span>    <span class="PreProc">return</span>
-<span id="L253" class="LineNr">253 </span>  <span class="Delimiter">}</span>
-<span id="L254" class="LineNr">254 </span>  <span class="muComment"># fake screen</span>
-<span id="L255" class="LineNr">255 </span>  <span class="muComment"># ignore x &lt; 0</span>
-<span id="L256" class="LineNr">256 </span>  <span class="Delimiter">{</span>
-<span id="L257" class="LineNr">257 </span>    compare x, <span class="Constant">0</span>
-<span id="L258" class="LineNr">258 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L259" class="LineNr">259 </span>    <span class="PreProc">return</span>
+<span id="L120" class="LineNr">120 </span>  <span class="muComment"># fake screen</span>
+<span id="L121" class="LineNr">121 </span>  <span class="muComment"># TODO: support overlays in fake screen</span>
+<span id="L122" class="LineNr">122 </span>  <span class="PreProc">var</span> wide?/eax: boolean <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L127'>wide-code-point?</a> c
+<span id="L123" class="LineNr">123 </span>  compare wide?, <span class="Constant">0</span>/false
+<span id="L124" class="LineNr">124 </span>  <span class="Delimiter">{</span>
+<span id="L125" class="LineNr">125 </span>    <span class="PreProc">break-if-=</span>
+<span id="L126" class="LineNr">126 </span>    <a href='500fake-screen.mu.html#L182'>draw-wide-code-point-on-fake-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
+<span id="L127" class="LineNr">127 </span>    <span class="PreProc">return</span> <span class="Constant">2</span>
+<span id="L128" class="LineNr">128 </span>  <span class="Delimiter">}</span>
+<span id="L129" class="LineNr">129 </span>  <a href='500fake-screen.mu.html#L133'>draw-narrow-code-point-on-fake-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
+<span id="L130" class="LineNr">130 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>
+<span id="L131" class="LineNr">131 </span><span class="Delimiter">}</span>
+<span id="L132" class="LineNr">132 </span>
+<span id="L133" class="LineNr">133 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L133'>draw-narrow-code-point-on-fake-screen</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, x: int, y: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L134" class="LineNr">134 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L135" class="LineNr">135 </span>  <span class="muComment"># ignore if out of bounds</span>
+<span id="L136" class="LineNr">136 </span>  <span class="Delimiter">{</span>
+<span id="L137" class="LineNr">137 </span>    compare x, <span class="Constant">0</span>
+<span id="L138" class="LineNr">138 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L139" class="LineNr">139 </span>    <span class="PreProc">return</span>
+<span id="L140" class="LineNr">140 </span>  <span class="Delimiter">}</span>
+<span id="L141" class="LineNr">141 </span>  <span class="Delimiter">{</span>
+<span id="L142" class="LineNr">142 </span>    <span class="PreProc">var</span> xmax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L143" class="LineNr">143 </span>    <span class="PreProc">var</span> xmax/eax: int <span class="Special">&lt;-</span> copy *xmax-addr
+<span id="L144" class="LineNr">144 </span>    compare x, xmax
+<span id="L145" class="LineNr">145 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L146" class="LineNr">146 </span>    <span class="Delimiter">{</span>
+<span id="L147" class="LineNr">147 </span>      <span class="PreProc">loop</span>
+<span id="L148" class="LineNr">148 </span>    <span class="Delimiter">}</span>
+<span id="L149" class="LineNr">149 </span>    <span class="PreProc">return</span>
+<span id="L150" class="LineNr">150 </span>  <span class="Delimiter">}</span>
+<span id="L151" class="LineNr">151 </span>  <span class="Delimiter">{</span>
+<span id="L152" class="LineNr">152 </span>    compare y, <span class="Constant">0</span>
+<span id="L153" class="LineNr">153 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L154" class="LineNr">154 </span>    <span class="PreProc">return</span>
+<span id="L155" class="LineNr">155 </span>  <span class="Delimiter">}</span>
+<span id="L156" class="LineNr">156 </span>  <span class="Delimiter">{</span>
+<span id="L157" class="LineNr">157 </span>    <span class="PreProc">var</span> ymax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L158" class="LineNr">158 </span>    <span class="PreProc">var</span> ymax/eax: int <span class="Special">&lt;-</span> copy *ymax-addr
+<span id="L159" class="LineNr">159 </span>    compare y, ymax
+<span id="L160" class="LineNr">160 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L161" class="LineNr">161 </span>    <span class="PreProc">return</span>
+<span id="L162" class="LineNr">162 </span>  <span class="Delimiter">}</span>
+<span id="L163" class="LineNr">163 </span>  <span class="muComment">#</span>
+<span id="L164" class="LineNr">164 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L165" class="LineNr">165 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L166" class="LineNr">166 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L167" class="LineNr">167 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L168" class="LineNr">168 </span>  <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L169" class="LineNr">169 </span>  <span class="PreProc">var</span> dest-code-point/eax: (addr code-point) <span class="Special">&lt;-</span> get dest-cell, data
+<span id="L170" class="LineNr">170 </span>  <span class="PreProc">var</span> c2/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy c
+<span id="L171" class="LineNr">171 </span>  copy-to *dest-code-point, c2
+<span id="L172" class="LineNr">172 </span>  <span class="PreProc">var</span> dest-color/eax: (addr int) <span class="Special">&lt;-</span> get dest-cell, color
+<span id="L173" class="LineNr">173 </span>  <span class="PreProc">var</span> src-color/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy color
+<span id="L174" class="LineNr">174 </span>  copy-to *dest-color, src-color
+<span id="L175" class="LineNr">175 </span>  dest-color <span class="Special">&lt;-</span> get dest-cell, background-color
+<span id="L176" class="LineNr">176 </span>  src-color <span class="Special">&lt;-</span> copy background-color
+<span id="L177" class="LineNr">177 </span>  copy-to *dest-color, src-color
+<span id="L178" class="LineNr">178 </span>  <span class="PreProc">var</span> dest/eax: (addr boolean) <span class="Special">&lt;-</span> get dest-cell, unused?
+<span id="L179" class="LineNr">179 </span>  copy-to *dest, <span class="Constant">0</span>/false
+<span id="L180" class="LineNr">180 </span><span class="Delimiter">}</span>
+<span id="L181" class="LineNr">181 </span>
+<span id="L182" class="LineNr">182 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L182'>draw-wide-code-point-on-fake-screen</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, x: int, y: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L183" class="LineNr">183 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L184" class="LineNr">184 </span>  <span class="muComment"># ignore if out of bounds</span>
+<span id="L185" class="LineNr">185 </span>  <span class="Delimiter">{</span>
+<span id="L186" class="LineNr">186 </span>    compare x, <span class="Constant">0</span>
+<span id="L187" class="LineNr">187 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L188" class="LineNr">188 </span>    <span class="PreProc">return</span>
+<span id="L189" class="LineNr">189 </span>  <span class="Delimiter">}</span>
+<span id="L190" class="LineNr">190 </span>  <span class="Delimiter">{</span>
+<span id="L191" class="LineNr">191 </span>    <span class="PreProc">var</span> xmax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L192" class="LineNr">192 </span>    <span class="PreProc">var</span> xmax/eax: int <span class="Special">&lt;-</span> copy *xmax-addr
+<span id="L193" class="LineNr">193 </span>    xmax <span class="Special">&lt;-</span> decrement  <span class="muComment"># wide code-points need an extra unit</span>
+<span id="L194" class="LineNr">194 </span>    compare x, xmax
+<span id="L195" class="LineNr">195 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L196" class="LineNr">196 </span>    <span class="PreProc">return</span>
+<span id="L197" class="LineNr">197 </span>  <span class="Delimiter">}</span>
+<span id="L198" class="LineNr">198 </span>  <span class="Delimiter">{</span>
+<span id="L199" class="LineNr">199 </span>    compare y, <span class="Constant">0</span>
+<span id="L200" class="LineNr">200 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L201" class="LineNr">201 </span>    <span class="PreProc">return</span>
+<span id="L202" class="LineNr">202 </span>  <span class="Delimiter">}</span>
+<span id="L203" class="LineNr">203 </span>  <span class="Delimiter">{</span>
+<span id="L204" class="LineNr">204 </span>    <span class="PreProc">var</span> ymax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L205" class="LineNr">205 </span>    <span class="PreProc">var</span> ymax/eax: int <span class="Special">&lt;-</span> copy *ymax-addr
+<span id="L206" class="LineNr">206 </span>    compare y, ymax
+<span id="L207" class="LineNr">207 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L208" class="LineNr">208 </span>    <span class="PreProc">return</span>
+<span id="L209" class="LineNr">209 </span>  <span class="Delimiter">}</span>
+<span id="L210" class="LineNr">210 </span>  <span class="muComment">#</span>
+<span id="L211" class="LineNr">211 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L212" class="LineNr">212 </span>  <span class="Delimiter">{</span>
+<span id="L213" class="LineNr">213 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L214" class="LineNr">214 </span>    <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L215" class="LineNr">215 </span>    <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L216" class="LineNr">216 </span>    <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L217" class="LineNr">217 </span>    <span class="PreProc">var</span> dest-code-point/eax: (addr code-point) <span class="Special">&lt;-</span> get dest-cell, data
+<span id="L218" class="LineNr">218 </span>    <span class="PreProc">var</span> c2/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy c
+<span id="L219" class="LineNr">219 </span>    copy-to *dest-code-point, c2
+<span id="L220" class="LineNr">220 </span>    <span class="PreProc">var</span> dest-color/eax: (addr int) <span class="Special">&lt;-</span> get dest-cell, color
+<span id="L221" class="LineNr">221 </span>    <span class="PreProc">var</span> src-color/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy color
+<span id="L222" class="LineNr">222 </span>    copy-to *dest-color, src-color
+<span id="L223" class="LineNr">223 </span>    dest-color <span class="Special">&lt;-</span> get dest-cell, background-color
+<span id="L224" class="LineNr">224 </span>    src-color <span class="Special">&lt;-</span> copy background-color
+<span id="L225" class="LineNr">225 </span>    copy-to *dest-color, src-color
+<span id="L226" class="LineNr">226 </span>    <span class="PreProc">var</span> dest/eax: (addr boolean) <span class="Special">&lt;-</span> get dest-cell, unused?
+<span id="L227" class="LineNr">227 </span>    copy-to *dest, <span class="Constant">0</span>/false
+<span id="L228" class="LineNr">228 </span>  <span class="Delimiter">}</span>
+<span id="L229" class="LineNr">229 </span>  <span class="muComment"># set next screen-cell to unused</span>
+<span id="L230" class="LineNr">230 </span>  index <span class="Special">&lt;-</span> increment
+<span id="L231" class="LineNr">231 </span>  <span class="Delimiter">{</span>
+<span id="L232" class="LineNr">232 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L233" class="LineNr">233 </span>    <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L234" class="LineNr">234 </span>    <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L235" class="LineNr">235 </span>    <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L236" class="LineNr">236 </span>    <span class="PreProc">var</span> dest/eax: (addr boolean) <span class="Special">&lt;-</span> get dest-cell, unused?
+<span id="L237" class="LineNr">237 </span>    copy-to *dest, <span class="Constant">1</span>/true
+<span id="L238" class="LineNr">238 </span>  <span class="Delimiter">}</span>
+<span id="L239" class="LineNr">239 </span><span class="Delimiter">}</span>
+<span id="L240" class="LineNr">240 </span>
+<span id="L241" class="LineNr">241 </span><span class="muComment"># fake screens only</span>
+<span id="L242" class="LineNr">242 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L242'>screen-cell-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L243" class="LineNr">243 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L244" class="LineNr">244 </span>  <span class="PreProc">var</span> width-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L245" class="LineNr">245 </span>  <span class="PreProc">var</span> result/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L246" class="LineNr">246 </span>  result <span class="Special">&lt;-</span> multiply *width-addr
+<span id="L247" class="LineNr">247 </span>  result <span class="Special">&lt;-</span> add x
+<span id="L248" class="LineNr">248 </span>  <span class="PreProc">return</span> result
+<span id="L249" class="LineNr">249 </span><span class="Delimiter">}</span>
+<span id="L250" class="LineNr">250 </span>
+<span id="L251" class="LineNr">251 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L251'>cursor-position</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>)<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L252" class="LineNr">252 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L253" class="LineNr">253 </span>  <span class="Delimiter">{</span>
+<span id="L254" class="LineNr">254 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L255" class="LineNr">255 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L256" class="LineNr">256 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L257" class="LineNr">257 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L258" class="LineNr">258 </span>    x, y <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L341'>cursor-position-on-real-screen</a>
+<span id="L259" class="LineNr">259 </span>    <span class="PreProc">return</span> x, y
 <span id="L260" class="LineNr">260 </span>  <span class="Delimiter">}</span>
-<span id="L261" class="LineNr">261 </span>  <span class="muComment"># ignore x &gt;= width</span>
-<span id="L262" class="LineNr">262 </span>  <span class="Delimiter">{</span>
-<span id="L263" class="LineNr">263 </span>    <span class="PreProc">var</span> width-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L264" class="LineNr">264 </span>    <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy *width-addr
-<span id="L265" class="LineNr">265 </span>    compare x, width
-<span id="L266" class="LineNr">266 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L267" class="LineNr">267 </span>    <span class="PreProc">return</span>
-<span id="L268" class="LineNr">268 </span>  <span class="Delimiter">}</span>
-<span id="L269" class="LineNr">269 </span>  <span class="muComment"># ignore y &lt; 0</span>
-<span id="L270" class="LineNr">270 </span>  <span class="Delimiter">{</span>
-<span id="L271" class="LineNr">271 </span>    compare y, <span class="Constant">0</span>
-<span id="L272" class="LineNr">272 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L261" class="LineNr">261 </span>  <span class="muComment"># fake screen</span>
+<span id="L262" class="LineNr">262 </span>  <span class="PreProc">var</span> cursor-x-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x
+<span id="L263" class="LineNr">263 </span>  <span class="PreProc">var</span> cursor-y-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-y
+<span id="L264" class="LineNr">264 </span>  <span class="PreProc">return</span> *cursor-x-addr, *cursor-y-addr
+<span id="L265" class="LineNr">265 </span><span class="Delimiter">}</span>
+<span id="L266" class="LineNr">266 </span>
+<span id="L267" class="LineNr">267 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L267'>set-cursor-position</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int <span class="Delimiter">{</span>
+<span id="L268" class="LineNr">268 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L269" class="LineNr">269 </span>  <span class="Delimiter">{</span>
+<span id="L270" class="LineNr">270 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L271" class="LineNr">271 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L272" class="LineNr">272 </span>    <a href='103glyph.subx.html#L354'>set-cursor-position-on-real-screen</a> x, y
 <span id="L273" class="LineNr">273 </span>    <span class="PreProc">return</span>
 <span id="L274" class="LineNr">274 </span>  <span class="Delimiter">}</span>
-<span id="L275" class="LineNr">275 </span>  <span class="muComment"># ignore y &gt;= height</span>
-<span id="L276" class="LineNr">276 </span>  <span class="Delimiter">{</span>
-<span id="L277" class="LineNr">277 </span>    <span class="PreProc">var</span> height-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L278" class="LineNr">278 </span>    <span class="PreProc">var</span> height/eax: int <span class="Special">&lt;-</span> copy *height-addr
-<span id="L279" class="LineNr">279 </span>    compare y, height
-<span id="L280" class="LineNr">280 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L281" class="LineNr">281 </span>    <span class="PreProc">return</span>
-<span id="L282" class="LineNr">282 </span>  <span class="Delimiter">}</span>
-<span id="L283" class="LineNr">283 </span>  <span class="muComment"># screen-&gt;cursor-x = x</span>
-<span id="L284" class="LineNr">284 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x
-<span id="L285" class="LineNr">285 </span>  <span class="PreProc">var</span> src/eax: int <span class="Special">&lt;-</span> copy x
-<span id="L286" class="LineNr">286 </span>  copy-to *dest, src
-<span id="L287" class="LineNr">287 </span>  <span class="muComment"># screen-&gt;cursor-y = y</span>
-<span id="L288" class="LineNr">288 </span>  dest <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-y
-<span id="L289" class="LineNr">289 </span>  src <span class="Special">&lt;-</span> copy y
-<span id="L290" class="LineNr">290 </span>  copy-to *dest, src
-<span id="L291" class="LineNr">291 </span><span class="Delimiter">}</span>
-<span id="L292" class="LineNr">292 </span>
-<span id="L293" class="LineNr">293 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L293'>draw-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point <span class="Delimiter">{</span>
-<span id="L294" class="LineNr">294 </span>  <span class="Delimiter">{</span>
-<span id="L295" class="LineNr">295 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
-<span id="L296" class="LineNr">296 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L297" class="LineNr">297 </span>    <a href='103glyph.subx.html#L365'>draw-cursor-on-real-screen</a> c
-<span id="L298" class="LineNr">298 </span>    <span class="PreProc">return</span>
-<span id="L299" class="LineNr">299 </span>  <span class="Delimiter">}</span>
-<span id="L300" class="LineNr">300 </span>  <span class="muComment"># fake screen</span>
-<span id="L301" class="LineNr">301 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L302" class="LineNr">302 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L303" class="LineNr">303 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L304" class="LineNr">304 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, cursor-x, cursor-y, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg
-<span id="L305" class="LineNr">305 </span><span class="Delimiter">}</span>
-<span id="L306" class="LineNr">306 </span>
-<span id="L307" class="LineNr">307 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L307'>clear-screen</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
-<span id="L308" class="LineNr">308 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L309" class="LineNr">309 </span>  <span class="Delimiter">{</span>
-<span id="L310" class="LineNr">310 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
-<span id="L311" class="LineNr">311 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L312" class="LineNr">312 </span>    <a href='500fake-screen.mu.html#L441'>clear-real-screen</a>
-<span id="L313" class="LineNr">313 </span>    <span class="PreProc">return</span>
-<span id="L314" class="LineNr">314 </span>  <span class="Delimiter">}</span>
-<span id="L315" class="LineNr">315 </span>  <span class="muComment"># fake screen</span>
-<span id="L316" class="LineNr">316 </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>, <span class="Constant">0</span>
-<span id="L317" class="LineNr">317 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L318" class="LineNr">318 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L319" class="LineNr">319 </span>  <span class="Delimiter">{</span>
-<span id="L320" class="LineNr">320 </span>    compare y, *height
-<span id="L321" class="LineNr">321 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L322" class="LineNr">322 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L323" class="LineNr">323 </span>    <span class="PreProc">var</span> width/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L324" class="LineNr">324 </span>    <span class="Delimiter">{</span>
-<span id="L325" class="LineNr">325 </span>      compare x, *width
-<span id="L326" class="LineNr">326 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L327" class="LineNr">327 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/nul, x, y, <span class="Constant">0</span>/fg=black, <span class="Constant">0</span>/bg=black
-<span id="L328" class="LineNr">328 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L329" class="LineNr">329 </span>      <span class="PreProc">loop</span>
-<span id="L330" class="LineNr">330 </span>    <span class="Delimiter">}</span>
-<span id="L331" class="LineNr">331 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L332" class="LineNr">332 </span>    <span class="PreProc">loop</span>
-<span id="L333" class="LineNr">333 </span>  <span class="Delimiter">}</span>
-<span id="L334" class="LineNr">334 </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>, <span class="Constant">0</span>
-<span id="L335" class="LineNr">335 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
-<span id="L336" class="LineNr">336 </span>  <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
-<span id="L337" class="LineNr">337 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L338" class="LineNr">338 </span>  <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length pixels
-<span id="L339" class="LineNr">339 </span>  <span class="Delimiter">{</span>
-<span id="L340" class="LineNr">340 </span>    compare i, max
-<span id="L341" class="LineNr">341 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L342" class="LineNr">342 </span>    <span class="PreProc">var</span> curr/eax: (addr byte) <span class="Special">&lt;-</span> index pixels, i
-<span id="L343" class="LineNr">343 </span>    <span class="PreProc">var</span> zero/<span class="muRegEbx">ebx</span>: byte <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L344" class="LineNr">344 </span>    copy-byte-to *curr, zero
-<span id="L345" class="LineNr">345 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L346" class="LineNr">346 </span>    <span class="PreProc">loop</span>
-<span id="L347" class="LineNr">347 </span>  <span class="Delimiter">}</span>
-<span id="L348" class="LineNr">348 </span><span class="Delimiter">}</span>
-<span id="L349" class="LineNr">349 </span>
-<span id="L350" class="LineNr">350 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L350'>fake-screen-empty?</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L351" class="LineNr">351 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L352" class="LineNr">352 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L353" class="LineNr">353 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L354" class="LineNr">354 </span>  <span class="Delimiter">{</span>
-<span id="L355" class="LineNr">355 </span>    compare y, *height
-<span id="L356" class="LineNr">356 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L357" class="LineNr">357 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L358" class="LineNr">358 </span>    <span class="PreProc">var</span> width/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L359" class="LineNr">359 </span>    <span class="Delimiter">{</span>
-<span id="L360" class="LineNr">360 </span>      compare x, *width
-<span id="L361" class="LineNr">361 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L362" class="LineNr">362 </span>      <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L501'>screen-code-point-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L363" class="LineNr">363 </span>      <span class="Delimiter">{</span>
-<span id="L364" class="LineNr">364 </span>        compare c, <span class="Constant">0</span>
-<span id="L365" class="LineNr">365 </span>        <span class="PreProc">break-if-=</span>
-<span id="L366" class="LineNr">366 </span>        compare c, <span class="Constant">0x20</span>/space
-<span id="L367" class="LineNr">367 </span>        <span class="PreProc">break-if-=</span>
-<span id="L368" class="LineNr">368 </span>        <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L369" class="LineNr">369 </span>      <span class="Delimiter">}</span>
-<span id="L370" class="LineNr">370 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L371" class="LineNr">371 </span>      <span class="PreProc">loop</span>
-<span id="L372" class="LineNr">372 </span>    <span class="Delimiter">}</span>
-<span id="L373" class="LineNr">373 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L374" class="LineNr">374 </span>    <span class="PreProc">loop</span>
-<span id="L375" class="LineNr">375 </span>  <span class="Delimiter">}</span>
-<span id="L376" class="LineNr">376 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
-<span id="L377" class="LineNr">377 </span>  <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
-<span id="L378" class="LineNr">378 </span>  <span class="PreProc">var</span> y/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L379" class="LineNr">379 </span>  <span class="PreProc">var</span> height-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L380" class="LineNr">380 </span>  <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *height-addr
-<span id="L381" class="LineNr">381 </span>  height <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
-<span id="L382" class="LineNr">382 </span>  <span class="Delimiter">{</span>
-<span id="L383" class="LineNr">383 </span>    compare y, height
-<span id="L384" class="LineNr">384 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L385" class="LineNr">385 </span>    <span class="PreProc">var</span> width-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L386" class="LineNr">386 </span>    <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *width-addr
-<span id="L387" class="LineNr">387 </span>    width <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
-<span id="L388" class="LineNr">388 </span>    <span class="PreProc">var</span> x/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L389" class="LineNr">389 </span>    <span class="Delimiter">{</span>
-<span id="L390" class="LineNr">390 </span>      compare x, width
-<span id="L391" class="LineNr">391 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L392" class="LineNr">392 </span>      <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L607'>pixel-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L393" class="LineNr">393 </span>      <span class="PreProc">var</span> color-addr/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, index
-<span id="L394" class="LineNr">394 </span>      <span class="PreProc">var</span> color/<span class="muRegEcx">ecx</span>: byte <span class="Special">&lt;-</span> copy-byte *color-addr
-<span id="L395" class="LineNr">395 </span>      compare color, <span class="Constant">0</span>
-<span id="L396" class="LineNr">396 </span>      <span class="Delimiter">{</span>
-<span id="L397" class="LineNr">397 </span>        <span class="PreProc">break-if-=</span>
-<span id="L398" class="LineNr">398 </span>        <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L399" class="LineNr">399 </span>      <span class="Delimiter">}</span>
-<span id="L400" class="LineNr">400 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L401" class="LineNr">401 </span>      <span class="PreProc">loop</span>
-<span id="L402" class="LineNr">402 </span>    <span class="Delimiter">}</span>
-<span id="L403" class="LineNr">403 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L404" class="LineNr">404 </span>    <span class="PreProc">loop</span>
-<span id="L405" class="LineNr">405 </span>  <span class="Delimiter">}</span>
-<span id="L406" class="LineNr">406 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L407" class="LineNr">407 </span><span class="Delimiter">}</span>
-<span id="L408" class="LineNr">408 </span>
-<span id="L409" class="LineNr">409 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L409'>clear-rect</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), xmin: int, ymin: int, xmax: int, ymax: int, background-color: int <span class="Delimiter">{</span>
-<span id="L410" class="LineNr">410 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L411" class="LineNr">411 </span>  <span class="Delimiter">{</span>
-<span id="L412" class="LineNr">412 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
-<span id="L413" class="LineNr">413 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L414" class="LineNr">414 </span>    <a href='500fake-screen.mu.html#L459'>clear-rect-on-real-screen</a> xmin, ymin, xmax, ymax, background-color
-<span id="L415" class="LineNr">415 </span>    <span class="PreProc">return</span>
-<span id="L416" class="LineNr">416 </span>  <span class="Delimiter">}</span>
-<span id="L417" class="LineNr">417 </span>  <span class="muComment"># fake screen</span>
-<span id="L418" class="LineNr">418 </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>, <span class="Constant">0</span>
-<span id="L419" class="LineNr">419 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy ymin
-<span id="L420" class="LineNr">420 </span>  <span class="PreProc">var</span> ymax/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymax
-<span id="L421" class="LineNr">421 </span>  <span class="Delimiter">{</span>
-<span id="L422" class="LineNr">422 </span>    compare y, ymax
-<span id="L423" class="LineNr">423 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L424" class="LineNr">424 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy xmin
-<span id="L425" class="LineNr">425 </span>    <span class="PreProc">var</span> xmax/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy xmax
-<span id="L426" class="LineNr">426 </span>    <span class="Delimiter">{</span>
-<span id="L427" class="LineNr">427 </span>      compare x, xmax
-<span id="L428" class="LineNr">428 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L429" class="LineNr">429 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, x, y, <span class="Constant">0</span>/fg, background-color
-<span id="L430" class="LineNr">430 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L431" class="LineNr">431 </span>      <span class="PreProc">loop</span>
-<span id="L432" class="LineNr">432 </span>    <span class="Delimiter">}</span>
-<span id="L433" class="LineNr">433 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L434" class="LineNr">434 </span>    <span class="PreProc">loop</span>
-<span id="L435" class="LineNr">435 </span>  <span class="Delimiter">}</span>
-<span id="L436" class="LineNr">436 </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>, <span class="Constant">0</span>
-<span id="L437" class="LineNr">437 </span><span class="Delimiter">}</span>
-<span id="L438" class="LineNr">438 </span>
-<span id="L439" class="LineNr">439 </span><span class="muComment"># there's no grapheme that guarantees to cover every pixel, so we'll bump down</span>
-<span id="L440" class="LineNr">440 </span><span class="muComment"># to pixels for a real screen</span>
-<span id="L441" class="LineNr">441 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L441'>clear-real-screen</a></span> <span class="Delimiter">{</span>
-<span id="L442" class="LineNr">442 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L443" class="LineNr">443 </span>  <span class="Delimiter">{</span>
-<span id="L444" class="LineNr">444 </span>    compare y, <span class="Constant">0x300</span>/screen-height=<span class="Constant">768</span>
-<span id="L445" class="LineNr">445 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L446" class="LineNr">446 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L275" class="LineNr">275 </span>  <span class="muComment"># fake screen</span>
+<span id="L276" class="LineNr">276 </span>  <span class="muComment"># ignore x &lt; 0</span>
+<span id="L277" class="LineNr">277 </span>  <span class="Delimiter">{</span>
+<span id="L278" class="LineNr">278 </span>    compare x, <span class="Constant">0</span>
+<span id="L279" class="LineNr">279 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L280" class="LineNr">280 </span>    <span class="PreProc">return</span>
+<span id="L281" class="LineNr">281 </span>  <span class="Delimiter">}</span>
+<span id="L282" class="LineNr">282 </span>  <span class="muComment"># ignore x &gt;= width</span>
+<span id="L283" class="LineNr">283 </span>  <span class="Delimiter">{</span>
+<span id="L284" class="LineNr">284 </span>    <span class="PreProc">var</span> width-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L285" class="LineNr">285 </span>    <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy *width-addr
+<span id="L286" class="LineNr">286 </span>    compare x, width
+<span id="L287" class="LineNr">287 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L288" class="LineNr">288 </span>    <span class="PreProc">return</span>
+<span id="L289" class="LineNr">289 </span>  <span class="Delimiter">}</span>
+<span id="L290" class="LineNr">290 </span>  <span class="muComment"># ignore y &lt; 0</span>
+<span id="L291" class="LineNr">291 </span>  <span class="Delimiter">{</span>
+<span id="L292" class="LineNr">292 </span>    compare y, <span class="Constant">0</span>
+<span id="L293" class="LineNr">293 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L294" class="LineNr">294 </span>    <span class="PreProc">return</span>
+<span id="L295" class="LineNr">295 </span>  <span class="Delimiter">}</span>
+<span id="L296" class="LineNr">296 </span>  <span class="muComment"># ignore y &gt;= height</span>
+<span id="L297" class="LineNr">297 </span>  <span class="Delimiter">{</span>
+<span id="L298" class="LineNr">298 </span>    <span class="PreProc">var</span> height-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L299" class="LineNr">299 </span>    <span class="PreProc">var</span> height/eax: int <span class="Special">&lt;-</span> copy *height-addr
+<span id="L300" class="LineNr">300 </span>    compare y, height
+<span id="L301" class="LineNr">301 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L302" class="LineNr">302 </span>    <span class="PreProc">return</span>
+<span id="L303" class="LineNr">303 </span>  <span class="Delimiter">}</span>
+<span id="L304" class="LineNr">304 </span>  <span class="muComment"># screen-&gt;cursor-x = x</span>
+<span id="L305" class="LineNr">305 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x
+<span id="L306" class="LineNr">306 </span>  <span class="PreProc">var</span> src/eax: int <span class="Special">&lt;-</span> copy x
+<span id="L307" class="LineNr">307 </span>  copy-to *dest, src
+<span id="L308" class="LineNr">308 </span>  <span class="muComment"># screen-&gt;cursor-y = y</span>
+<span id="L309" class="LineNr">309 </span>  dest <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-y
+<span id="L310" class="LineNr">310 </span>  src <span class="Special">&lt;-</span> copy y
+<span id="L311" class="LineNr">311 </span>  copy-to *dest, src
+<span id="L312" class="LineNr">312 </span><span class="Delimiter">}</span>
+<span id="L313" class="LineNr">313 </span>
+<span id="L314" class="LineNr">314 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L314'>draw-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point <span class="Delimiter">{</span>
+<span id="L315" class="LineNr">315 </span>  <span class="Delimiter">{</span>
+<span id="L316" class="LineNr">316 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L317" class="LineNr">317 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L318" class="LineNr">318 </span>    <a href='103glyph.subx.html#L379'>draw-cursor-on-real-screen</a> c
+<span id="L319" class="LineNr">319 </span>    <span class="PreProc">return</span>
+<span id="L320" class="LineNr">320 </span>  <span class="Delimiter">}</span>
+<span id="L321" class="LineNr">321 </span>  <span class="muComment"># fake screen</span>
+<span id="L322" class="LineNr">322 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L323" class="LineNr">323 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L324" class="LineNr">324 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L325" class="LineNr">325 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, cursor-x, cursor-y, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg
+<span id="L326" class="LineNr">326 </span><span class="Delimiter">}</span>
+<span id="L327" class="LineNr">327 </span>
+<span id="L328" class="LineNr">328 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L328'>clear-screen</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
+<span id="L329" class="LineNr">329 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L330" class="LineNr">330 </span>  <span class="Delimiter">{</span>
+<span id="L331" class="LineNr">331 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L332" class="LineNr">332 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L333" class="LineNr">333 </span>    <a href='500fake-screen.mu.html#L462'>clear-real-screen</a>
+<span id="L334" class="LineNr">334 </span>    <span class="PreProc">return</span>
+<span id="L335" class="LineNr">335 </span>  <span class="Delimiter">}</span>
+<span id="L336" class="LineNr">336 </span>  <span class="muComment"># fake screen</span>
+<span id="L337" class="LineNr">337 </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>, <span class="Constant">0</span>
+<span id="L338" class="LineNr">338 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L339" class="LineNr">339 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L340" class="LineNr">340 </span>  <span class="Delimiter">{</span>
+<span id="L341" class="LineNr">341 </span>    compare y, *height
+<span id="L342" class="LineNr">342 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L343" class="LineNr">343 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L344" class="LineNr">344 </span>    <span class="PreProc">var</span> width/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L345" class="LineNr">345 </span>    <span class="Delimiter">{</span>
+<span id="L346" class="LineNr">346 </span>      compare x, *width
+<span id="L347" class="LineNr">347 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L348" class="LineNr">348 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/nul, x, y, <span class="Constant">0</span>/fg=black, <span class="Constant">0</span>/bg=black
+<span id="L349" class="LineNr">349 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L350" class="LineNr">350 </span>      <span class="PreProc">loop</span>
+<span id="L351" class="LineNr">351 </span>    <span class="Delimiter">}</span>
+<span id="L352" class="LineNr">352 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L353" class="LineNr">353 </span>    <span class="PreProc">loop</span>
+<span id="L354" class="LineNr">354 </span>  <span class="Delimiter">}</span>
+<span id="L355" class="LineNr">355 </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>, <span class="Constant">0</span>
+<span id="L356" class="LineNr">356 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
+<span id="L357" class="LineNr">357 </span>  <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
+<span id="L358" class="LineNr">358 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L359" class="LineNr">359 </span>  <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length pixels
+<span id="L360" class="LineNr">360 </span>  <span class="Delimiter">{</span>
+<span id="L361" class="LineNr">361 </span>    compare i, max
+<span id="L362" class="LineNr">362 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L363" class="LineNr">363 </span>    <span class="PreProc">var</span> curr/eax: (addr byte) <span class="Special">&lt;-</span> index pixels, i
+<span id="L364" class="LineNr">364 </span>    <span class="PreProc">var</span> zero/<span class="muRegEbx">ebx</span>: byte <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L365" class="LineNr">365 </span>    copy-byte-to *curr, zero
+<span id="L366" class="LineNr">366 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L367" class="LineNr">367 </span>    <span class="PreProc">loop</span>
+<span id="L368" class="LineNr">368 </span>  <span class="Delimiter">}</span>
+<span id="L369" class="LineNr">369 </span><span class="Delimiter">}</span>
+<span id="L370" class="LineNr">370 </span>
+<span id="L371" class="LineNr">371 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L371'>fake-screen-empty?</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L372" class="LineNr">372 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L373" class="LineNr">373 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L374" class="LineNr">374 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L375" class="LineNr">375 </span>  <span class="Delimiter">{</span>
+<span id="L376" class="LineNr">376 </span>    compare y, *height
+<span id="L377" class="LineNr">377 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L378" class="LineNr">378 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L379" class="LineNr">379 </span>    <span class="PreProc">var</span> width/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L380" class="LineNr">380 </span>    <span class="Delimiter">{</span>
+<span id="L381" class="LineNr">381 </span>      compare x, *width
+<span id="L382" class="LineNr">382 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L383" class="LineNr">383 </span>      <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L522'>screen-code-point-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L384" class="LineNr">384 </span>      <span class="Delimiter">{</span>
+<span id="L385" class="LineNr">385 </span>        compare c, <span class="Constant">0</span>
+<span id="L386" class="LineNr">386 </span>        <span class="PreProc">break-if-=</span>
+<span id="L387" class="LineNr">387 </span>        compare c, <span class="Constant">0x20</span>/space
+<span id="L388" class="LineNr">388 </span>        <span class="PreProc">break-if-=</span>
+<span id="L389" class="LineNr">389 </span>        <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L390" class="LineNr">390 </span>      <span class="Delimiter">}</span>
+<span id="L391" class="LineNr">391 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L392" class="LineNr">392 </span>      <span class="PreProc">loop</span>
+<span id="L393" class="LineNr">393 </span>    <span class="Delimiter">}</span>
+<span id="L394" class="LineNr">394 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L395" class="LineNr">395 </span>    <span class="PreProc">loop</span>
+<span id="L396" class="LineNr">396 </span>  <span class="Delimiter">}</span>
+<span id="L397" class="LineNr">397 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
+<span id="L398" class="LineNr">398 </span>  <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
+<span id="L399" class="LineNr">399 </span>  <span class="PreProc">var</span> y/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L400" class="LineNr">400 </span>  <span class="PreProc">var</span> height-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L401" class="LineNr">401 </span>  <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *height-addr
+<span id="L402" class="LineNr">402 </span>  height <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
+<span id="L403" class="LineNr">403 </span>  <span class="Delimiter">{</span>
+<span id="L404" class="LineNr">404 </span>    compare y, height
+<span id="L405" class="LineNr">405 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L406" class="LineNr">406 </span>    <span class="PreProc">var</span> width-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L407" class="LineNr">407 </span>    <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *width-addr
+<span id="L408" class="LineNr">408 </span>    width <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
+<span id="L409" class="LineNr">409 </span>    <span class="PreProc">var</span> x/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L410" class="LineNr">410 </span>    <span class="Delimiter">{</span>
+<span id="L411" class="LineNr">411 </span>      compare x, width
+<span id="L412" class="LineNr">412 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L413" class="LineNr">413 </span>      <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L628'>pixel-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L414" class="LineNr">414 </span>      <span class="PreProc">var</span> color-addr/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, index
+<span id="L415" class="LineNr">415 </span>      <span class="PreProc">var</span> color/<span class="muRegEcx">ecx</span>: byte <span class="Special">&lt;-</span> copy-byte *color-addr
+<span id="L416" class="LineNr">416 </span>      compare color, <span class="Constant">0</span>
+<span id="L417" class="LineNr">417 </span>      <span class="Delimiter">{</span>
+<span id="L418" class="LineNr">418 </span>        <span class="PreProc">break-if-=</span>
+<span id="L419" class="LineNr">419 </span>        <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L420" class="LineNr">420 </span>      <span class="Delimiter">}</span>
+<span id="L421" class="LineNr">421 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L422" class="LineNr">422 </span>      <span class="PreProc">loop</span>
+<span id="L423" class="LineNr">423 </span>    <span class="Delimiter">}</span>
+<span id="L424" class="LineNr">424 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L425" class="LineNr">425 </span>    <span class="PreProc">loop</span>
+<span id="L426" class="LineNr">426 </span>  <span class="Delimiter">}</span>
+<span id="L427" class="LineNr">427 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L428" class="LineNr">428 </span><span class="Delimiter">}</span>
+<span id="L429" class="LineNr">429 </span>
+<span id="L430" class="LineNr">430 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L430'>clear-rect</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), xmin: int, ymin: int, xmax: int, ymax: int, background-color: int <span class="Delimiter">{</span>
+<span id="L431" class="LineNr">431 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L432" class="LineNr">432 </span>  <span class="Delimiter">{</span>
+<span id="L433" class="LineNr">433 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L434" class="LineNr">434 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L435" class="LineNr">435 </span>    <a href='500fake-screen.mu.html#L480'>clear-rect-on-real-screen</a> xmin, ymin, xmax, ymax, background-color
+<span id="L436" class="LineNr">436 </span>    <span class="PreProc">return</span>
+<span id="L437" class="LineNr">437 </span>  <span class="Delimiter">}</span>
+<span id="L438" class="LineNr">438 </span>  <span class="muComment"># fake screen</span>
+<span id="L439" class="LineNr">439 </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>, <span class="Constant">0</span>
+<span id="L440" class="LineNr">440 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy ymin
+<span id="L441" class="LineNr">441 </span>  <span class="PreProc">var</span> ymax/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymax
+<span id="L442" class="LineNr">442 </span>  <span class="Delimiter">{</span>
+<span id="L443" class="LineNr">443 </span>    compare y, ymax
+<span id="L444" class="LineNr">444 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L445" class="LineNr">445 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy xmin
+<span id="L446" class="LineNr">446 </span>    <span class="PreProc">var</span> xmax/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy xmax
 <span id="L447" class="LineNr">447 </span>    <span class="Delimiter">{</span>
-<span id="L448" class="LineNr">448 </span>      compare x, <span class="Constant">0x400</span>/screen-width=<span class="Constant">1024</span>
+<span id="L448" class="LineNr">448 </span>      compare x, xmax
 <span id="L449" class="LineNr">449 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L450" class="LineNr">450 </span>      <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, <span class="Constant">0</span>/color=black
+<span id="L450" class="LineNr">450 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, x, y, <span class="Constant">0</span>/fg, background-color
 <span id="L451" class="LineNr">451 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L452" class="LineNr">452 </span>      <span class="PreProc">loop</span>
 <span id="L453" class="LineNr">453 </span>    <span class="Delimiter">}</span>
 <span id="L454" class="LineNr">454 </span>    y <span class="Special">&lt;-</span> increment
 <span id="L455" class="LineNr">455 </span>    <span class="PreProc">loop</span>
 <span id="L456" class="LineNr">456 </span>  <span class="Delimiter">}</span>
-<span id="L457" class="LineNr">457 </span><span class="Delimiter">}</span>
-<span id="L458" class="LineNr">458 </span>
-<span id="L459" class="LineNr">459 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L459'>clear-rect-on-real-screen</a></span> xmin: int, ymin: int, xmax: int, ymax: int, background-color: int <span class="Delimiter">{</span>
-<span id="L460" class="LineNr">460 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy ymin
-<span id="L461" class="LineNr">461 </span>  y <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
-<span id="L462" class="LineNr">462 </span>  <span class="PreProc">var</span> ymax/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymax
-<span id="L463" class="LineNr">463 </span>  ymax <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
+<span id="L457" class="LineNr">457 </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>, <span class="Constant">0</span>
+<span id="L458" class="LineNr">458 </span><span class="Delimiter">}</span>
+<span id="L459" class="LineNr">459 </span>
+<span id="L460" class="LineNr">460 </span><span class="muComment"># there's no grapheme that guarantees to cover every pixel, so we'll bump down</span>
+<span id="L461" class="LineNr">461 </span><span class="muComment"># to pixels for a real screen</span>
+<span id="L462" class="LineNr">462 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L462'>clear-real-screen</a></span> <span class="Delimiter">{</span>
+<span id="L463" class="LineNr">463 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L464" class="LineNr">464 </span>  <span class="Delimiter">{</span>
-<span id="L465" class="LineNr">465 </span>    compare y, ymax
+<span id="L465" class="LineNr">465 </span>    compare y, <span class="Constant">0x300</span>/screen-height=<span class="Constant">768</span>
 <span id="L466" class="LineNr">466 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L467" class="LineNr">467 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy xmin
-<span id="L468" class="LineNr">468 </span>    x <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
-<span id="L469" class="LineNr">469 </span>    <span class="PreProc">var</span> xmax/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy xmax
-<span id="L470" class="LineNr">470 </span>    xmax <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
-<span id="L471" class="LineNr">471 </span>    <span class="Delimiter">{</span>
-<span id="L472" class="LineNr">472 </span>      compare x, xmax
-<span id="L473" class="LineNr">473 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L474" class="LineNr">474 </span>      <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, background-color
-<span id="L475" class="LineNr">475 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L476" class="LineNr">476 </span>      <span class="PreProc">loop</span>
-<span id="L477" class="LineNr">477 </span>    <span class="Delimiter">}</span>
-<span id="L478" class="LineNr">478 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L479" class="LineNr">479 </span>    <span class="PreProc">loop</span>
-<span id="L480" class="LineNr">480 </span>  <span class="Delimiter">}</span>
-<span id="L481" class="LineNr">481 </span><span class="Delimiter">}</span>
-<span id="L482" class="LineNr">482 </span>
-<span id="L483" class="LineNr">483 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L483'>screen-cell-unused-at?</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L484" class="LineNr">484 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L485" class="LineNr">485 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L486" class="LineNr">486 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L490'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
-<span id="L487" class="LineNr">487 </span>  <span class="PreProc">return</span> result
-<span id="L488" class="LineNr">488 </span><span class="Delimiter">}</span>
-<span id="L489" class="LineNr">489 </span>
-<span id="L490" class="LineNr">490 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L490'>screen-cell-unused-at-index?</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L491" class="LineNr">491 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L492" class="LineNr">492 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L493" class="LineNr">493 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L494" class="LineNr">494 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
-<span id="L495" class="LineNr">495 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L496" class="LineNr">496 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L497" class="LineNr">497 </span>  <span class="PreProc">var</span> src/eax: (addr boolean) <span class="Special">&lt;-</span> get cell, unused?
-<span id="L498" class="LineNr">498 </span>  <span class="PreProc">return</span> *src
-<span id="L499" class="LineNr">499 </span><span class="Delimiter">}</span>
-<span id="L500" class="LineNr">500 </span>
-<span id="L501" class="LineNr">501 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L501'>screen-code-point-at</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: code-point <span class="Delimiter">{</span>
-<span id="L502" class="LineNr">502 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L503" class="LineNr">503 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L504" class="LineNr">504 </span>  <span class="PreProc">var</span> result/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L508'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
-<span id="L505" class="LineNr">505 </span>  <span class="PreProc">return</span> result
-<span id="L506" class="LineNr">506 </span><span class="Delimiter">}</span>
-<span id="L507" class="LineNr">507 </span>
-<span id="L508" class="LineNr">508 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L508'>screen-code-point-at-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: code-point <span class="Delimiter">{</span>
-<span id="L509" class="LineNr">509 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L510" class="LineNr">510 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L511" class="LineNr">511 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L512" class="LineNr">512 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
-<span id="L513" class="LineNr">513 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L514" class="LineNr">514 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L515" class="LineNr">515 </span>  <span class="PreProc">var</span> src/eax: (addr code-point) <span class="Special">&lt;-</span> get cell, data
-<span id="L516" class="LineNr">516 </span>  <span class="PreProc">return</span> *src
-<span id="L517" class="LineNr">517 </span><span class="Delimiter">}</span>
-<span id="L518" class="LineNr">518 </span>
-<span id="L519" class="LineNr">519 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L519'>screen-color-at</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L520" class="LineNr">520 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L521" class="LineNr">521 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L522" class="LineNr">522 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L526'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
-<span id="L523" class="LineNr">523 </span>  <span class="PreProc">return</span> result
-<span id="L524" class="LineNr">524 </span><span class="Delimiter">}</span>
-<span id="L525" class="LineNr">525 </span>
-<span id="L526" class="LineNr">526 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L526'>screen-color-at-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L527" class="LineNr">527 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L528" class="LineNr">528 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L529" class="LineNr">529 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L530" class="LineNr">530 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
-<span id="L531" class="LineNr">531 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L532" class="LineNr">532 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L533" class="LineNr">533 </span>  <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> get cell, color
-<span id="L534" class="LineNr">534 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *src
-<span id="L535" class="LineNr">535 </span>  <span class="PreProc">return</span> result
-<span id="L536" class="LineNr">536 </span><span class="Delimiter">}</span>
-<span id="L537" class="LineNr">537 </span>
-<span id="L538" class="LineNr">538 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L538'>screen-background-color-at</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L539" class="LineNr">539 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L540" class="LineNr">540 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L541" class="LineNr">541 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L545'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
-<span id="L542" class="LineNr">542 </span>  <span class="PreProc">return</span> result
-<span id="L543" class="LineNr">543 </span><span class="Delimiter">}</span>
-<span id="L544" class="LineNr">544 </span>
-<span id="L545" class="LineNr">545 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L545'>screen-background-color-at-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L546" class="LineNr">546 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L547" class="LineNr">547 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
-<span id="L548" class="LineNr">548 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L549" class="LineNr">549 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
-<span id="L550" class="LineNr">550 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
-<span id="L551" class="LineNr">551 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
-<span id="L552" class="LineNr">552 </span>  <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> get cell, background-color
-<span id="L553" class="LineNr">553 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *src
-<span id="L554" class="LineNr">554 </span>  <span class="PreProc">return</span> result
-<span id="L555" class="LineNr">555 </span><span class="Delimiter">}</span>
-<span id="L556" class="LineNr">556 </span>
-<span id="L557" class="LineNr">557 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L557'>pixel</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int, color: int <span class="Delimiter">{</span>
-<span id="L558" class="LineNr">558 </span>  <span class="Delimiter">{</span>
-<span id="L559" class="LineNr">559 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
-<span id="L560" class="LineNr">560 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L561" class="LineNr">561 </span>    <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, color
-<span id="L562" class="LineNr">562 </span>    <span class="PreProc">return</span>
-<span id="L563" class="LineNr">563 </span>  <span class="Delimiter">}</span>
-<span id="L564" class="LineNr">564 </span>  <span class="muComment"># fake screen</span>
-<span id="L565" class="LineNr">565 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L566" class="LineNr">566 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
-<span id="L567" class="LineNr">567 </span>  <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
-<span id="L568" class="LineNr">568 </span>  <span class="Delimiter">{</span>
-<span id="L569" class="LineNr">569 </span>    compare pixels, <span class="Constant">0</span>
-<span id="L570" class="LineNr">570 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L571" class="LineNr">571 </span>    <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;pixel graphics not enabled for this screen&quot;</span>
-<span id="L572" class="LineNr">572 </span>  <span class="Delimiter">}</span>
-<span id="L573" class="LineNr">573 </span>  <span class="muComment"># ignore if out of bounds</span>
-<span id="L574" class="LineNr">574 </span>  <span class="Delimiter">{</span>
-<span id="L575" class="LineNr">575 </span>    compare x, <span class="Constant">0</span>
-<span id="L576" class="LineNr">576 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L577" class="LineNr">577 </span>    <span class="PreProc">return</span>
-<span id="L578" class="LineNr">578 </span>  <span class="Delimiter">}</span>
+<span id="L467" class="LineNr">467 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L468" class="LineNr">468 </span>    <span class="Delimiter">{</span>
+<span id="L469" class="LineNr">469 </span>      compare x, <span class="Constant">0x400</span>/screen-width=<span class="Constant">1024</span>
+<span id="L470" class="LineNr">470 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L471" class="LineNr">471 </span>      <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, <span class="Constant">0</span>/color=black
+<span id="L472" class="LineNr">472 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L473" class="LineNr">473 </span>      <span class="PreProc">loop</span>
+<span id="L474" class="LineNr">474 </span>    <span class="Delimiter">}</span>
+<span id="L475" class="LineNr">475 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L476" class="LineNr">476 </span>    <span class="PreProc">loop</span>
+<span id="L477" class="LineNr">477 </span>  <span class="Delimiter">}</span>
+<span id="L478" class="LineNr">478 </span><span class="Delimiter">}</span>
+<span id="L479" class="LineNr">479 </span>
+<span id="L480" class="LineNr">480 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L480'>clear-rect-on-real-screen</a></span> xmin: int, ymin: int, xmax: int, ymax: int, background-color: int <span class="Delimiter">{</span>
+<span id="L481" class="LineNr">481 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy ymin
+<span id="L482" class="LineNr">482 </span>  y <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
+<span id="L483" class="LineNr">483 </span>  <span class="PreProc">var</span> ymax/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymax
+<span id="L484" class="LineNr">484 </span>  ymax <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
+<span id="L485" class="LineNr">485 </span>  <span class="Delimiter">{</span>
+<span id="L486" class="LineNr">486 </span>    compare y, ymax
+<span id="L487" class="LineNr">487 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L488" class="LineNr">488 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy xmin
+<span id="L489" class="LineNr">489 </span>    x <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
+<span id="L490" class="LineNr">490 </span>    <span class="PreProc">var</span> xmax/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy xmax
+<span id="L491" class="LineNr">491 </span>    xmax <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
+<span id="L492" class="LineNr">492 </span>    <span class="Delimiter">{</span>
+<span id="L493" class="LineNr">493 </span>      compare x, xmax
+<span id="L494" class="LineNr">494 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L495" class="LineNr">495 </span>      <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, background-color
+<span id="L496" class="LineNr">496 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L497" class="LineNr">497 </span>      <span class="PreProc">loop</span>
+<span id="L498" class="LineNr">498 </span>    <span class="Delimiter">}</span>
+<span id="L499" class="LineNr">499 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L500" class="LineNr">500 </span>    <span class="PreProc">loop</span>
+<span id="L501" class="LineNr">501 </span>  <span class="Delimiter">}</span>
+<span id="L502" class="LineNr">502 </span><span class="Delimiter">}</span>
+<span id="L503" class="LineNr">503 </span>
+<span id="L504" class="LineNr">504 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L504'>screen-cell-unused-at?</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L505" class="LineNr">505 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L506" class="LineNr">506 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L507" class="LineNr">507 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L508" class="LineNr">508 </span>  <span class="PreProc">return</span> result
+<span id="L509" class="LineNr">509 </span><span class="Delimiter">}</span>
+<span id="L510" class="LineNr">510 </span>
+<span id="L511" class="LineNr">511 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L512" class="LineNr">512 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L513" class="LineNr">513 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L514" class="LineNr">514 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L515" class="LineNr">515 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
+<span id="L516" class="LineNr">516 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L517" class="LineNr">517 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L518" class="LineNr">518 </span>  <span class="PreProc">var</span> src/eax: (addr boolean) <span class="Special">&lt;-</span> get cell, unused?
+<span id="L519" class="LineNr">519 </span>  <span class="PreProc">return</span> *src
+<span id="L520" class="LineNr">520 </span><span class="Delimiter">}</span>
+<span id="L521" class="LineNr">521 </span>
+<span id="L522" class="LineNr">522 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L522'>screen-code-point-at</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: code-point <span class="Delimiter">{</span>
+<span id="L523" class="LineNr">523 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L524" class="LineNr">524 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L525" class="LineNr">525 </span>  <span class="PreProc">var</span> result/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L526" class="LineNr">526 </span>  <span class="PreProc">return</span> result
+<span id="L527" class="LineNr">527 </span><span class="Delimiter">}</span>
+<span id="L528" class="LineNr">528 </span>
+<span id="L529" class="LineNr">529 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: code-point <span class="Delimiter">{</span>
+<span id="L530" class="LineNr">530 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L531" class="LineNr">531 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L532" class="LineNr">532 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L533" class="LineNr">533 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
+<span id="L534" class="LineNr">534 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L535" class="LineNr">535 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L536" class="LineNr">536 </span>  <span class="PreProc">var</span> src/eax: (addr code-point) <span class="Special">&lt;-</span> get cell, data
+<span id="L537" class="LineNr">537 </span>  <span class="PreProc">return</span> *src
+<span id="L538" class="LineNr">538 </span><span class="Delimiter">}</span>
+<span id="L539" class="LineNr">539 </span>
+<span id="L540" class="LineNr">540 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L540'>screen-color-at</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L541" class="LineNr">541 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L542" class="LineNr">542 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L543" class="LineNr">543 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L547'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L544" class="LineNr">544 </span>  <span class="PreProc">return</span> result
+<span id="L545" class="LineNr">545 </span><span class="Delimiter">}</span>
+<span id="L546" class="LineNr">546 </span>
+<span id="L547" class="LineNr">547 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L547'>screen-color-at-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L548" class="LineNr">548 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L549" class="LineNr">549 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L550" class="LineNr">550 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L551" class="LineNr">551 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
+<span id="L552" class="LineNr">552 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L553" class="LineNr">553 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L554" class="LineNr">554 </span>  <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> get cell, color
+<span id="L555" class="LineNr">555 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *src
+<span id="L556" class="LineNr">556 </span>  <span class="PreProc">return</span> result
+<span id="L557" class="LineNr">557 </span><span class="Delimiter">}</span>
+<span id="L558" class="LineNr">558 </span>
+<span id="L559" class="LineNr">559 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L559'>screen-background-color-at</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L560" class="LineNr">560 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L561" class="LineNr">561 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L562" class="LineNr">562 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L563" class="LineNr">563 </span>  <span class="PreProc">return</span> result
+<span id="L564" class="LineNr">564 </span><span class="Delimiter">}</span>
+<span id="L565" class="LineNr">565 </span>
+<span id="L566" class="LineNr">566 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _index: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L567" class="LineNr">567 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L568" class="LineNr">568 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data
+<span id="L569" class="LineNr">569 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L570" class="LineNr">570 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _index
+<span id="L571" class="LineNr">571 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
+<span id="L572" class="LineNr">572 </span>  <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
+<span id="L573" class="LineNr">573 </span>  <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> get cell, background-color
+<span id="L574" class="LineNr">574 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *src
+<span id="L575" class="LineNr">575 </span>  <span class="PreProc">return</span> result
+<span id="L576" class="LineNr">576 </span><span class="Delimiter">}</span>
+<span id="L577" class="LineNr">577 </span>
+<span id="L578" class="LineNr">578 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L578'>pixel</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int, color: int <span class="Delimiter">{</span>
 <span id="L579" class="LineNr">579 </span>  <span class="Delimiter">{</span>
-<span id="L580" class="LineNr">580 </span>    <span class="PreProc">var</span> xmax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L581" class="LineNr">581 </span>    <span class="PreProc">var</span> xmax/eax: int <span class="Special">&lt;-</span> copy *xmax-addr
-<span id="L582" class="LineNr">582 </span>    xmax <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
-<span id="L583" class="LineNr">583 </span>    compare x, xmax
-<span id="L584" class="LineNr">584 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L585" class="LineNr">585 </span>    <span class="PreProc">return</span>
-<span id="L586" class="LineNr">586 </span>  <span class="Delimiter">}</span>
-<span id="L587" class="LineNr">587 </span>  <span class="Delimiter">{</span>
-<span id="L588" class="LineNr">588 </span>    compare y, <span class="Constant">0</span>
-<span id="L589" class="LineNr">589 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L590" class="LineNr">590 </span>    <span class="PreProc">return</span>
-<span id="L591" class="LineNr">591 </span>  <span class="Delimiter">}</span>
-<span id="L592" class="LineNr">592 </span>  <span class="Delimiter">{</span>
-<span id="L593" class="LineNr">593 </span>    <span class="PreProc">var</span> ymax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L594" class="LineNr">594 </span>    <span class="PreProc">var</span> ymax/eax: int <span class="Special">&lt;-</span> copy *ymax-addr
-<span id="L595" class="LineNr">595 </span>    ymax <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
-<span id="L596" class="LineNr">596 </span>    compare y, ymax
-<span id="L597" class="LineNr">597 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L580" class="LineNr">580 </span>    compare <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>
+<span id="L581" class="LineNr">581 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L582" class="LineNr">582 </span>    <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, color
+<span id="L583" class="LineNr">583 </span>    <span class="PreProc">return</span>
+<span id="L584" class="LineNr">584 </span>  <span class="Delimiter">}</span>
+<span id="L585" class="LineNr">585 </span>  <span class="muComment"># fake screen</span>
+<span id="L586" class="LineNr">586 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L587" class="LineNr">587 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
+<span id="L588" class="LineNr">588 </span>  <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
+<span id="L589" class="LineNr">589 </span>  <span class="Delimiter">{</span>
+<span id="L590" class="LineNr">590 </span>    compare pixels, <span class="Constant">0</span>
+<span id="L591" class="LineNr">591 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L592" class="LineNr">592 </span>    <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;pixel graphics not enabled for this screen&quot;</span>
+<span id="L593" class="LineNr">593 </span>  <span class="Delimiter">}</span>
+<span id="L594" class="LineNr">594 </span>  <span class="muComment"># ignore if out of bounds</span>
+<span id="L595" class="LineNr">595 </span>  <span class="Delimiter">{</span>
+<span id="L596" class="LineNr">596 </span>    compare x, <span class="Constant">0</span>
+<span id="L597" class="LineNr">597 </span>    <span class="PreProc">break-if-&gt;=</span>
 <span id="L598" class="LineNr">598 </span>    <span class="PreProc">return</span>
 <span id="L599" class="LineNr">599 </span>  <span class="Delimiter">}</span>
-<span id="L600" class="LineNr">600 </span>  <span class="muComment">#</span>
-<span id="L601" class="LineNr">601 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L607'>pixel-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L602" class="LineNr">602 </span>  <span class="PreProc">var</span> dest/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, index
-<span id="L603" class="LineNr">603 </span>  <span class="PreProc">var</span> src/eax: byte <span class="Special">&lt;-</span> copy-byte color
-<span id="L604" class="LineNr">604 </span>  copy-byte-to *dest, src
-<span id="L605" class="LineNr">605 </span><span class="Delimiter">}</span>
-<span id="L606" class="LineNr">606 </span>
-<span id="L607" class="LineNr">607 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L607'>pixel-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L608" class="LineNr">608 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L609" class="LineNr">609 </span>  <span class="PreProc">var</span> width-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L610" class="LineNr">610 </span>  <span class="PreProc">var</span> result/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L611" class="LineNr">611 </span>  result <span class="Special">&lt;-</span> multiply *width-addr
-<span id="L612" class="LineNr">612 </span>  result <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
-<span id="L613" class="LineNr">613 </span>  result <span class="Special">&lt;-</span> add x
-<span id="L614" class="LineNr">614 </span>  <span class="PreProc">return</span> result
-<span id="L615" class="LineNr">615 </span><span class="Delimiter">}</span>
-<span id="L616" class="LineNr">616 </span>
-<span id="L617" class="LineNr">617 </span><span class="muComment"># double-buffering primitive</span>
-<span id="L618" class="LineNr">618 </span><span class="muComment"># 'screen' must be a fake screen. 'target-screen' is usually real.</span>
-<span id="L619" class="LineNr">619 </span><span class="muComment"># Both screens must have the same size.</span>
-<span id="L620" class="LineNr">620 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L620'>copy-pixels</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), target-screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
-<span id="L621" class="LineNr">621 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L622" class="LineNr">622 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
-<span id="L623" class="LineNr">623 </span>  <span class="PreProc">var</span> _pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
-<span id="L624" class="LineNr">624 </span>  <span class="PreProc">var</span> pixels/<span class="muRegEdi">edi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _pixels
-<span id="L625" class="LineNr">625 </span>  <span class="PreProc">var</span> width-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L626" class="LineNr">626 </span>  <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *width-a
-<span id="L627" class="LineNr">627 </span>  width <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
-<span id="L628" class="LineNr">628 </span>  <span class="PreProc">var</span> height-a/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L629" class="LineNr">629 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *height-a
-<span id="L630" class="LineNr">630 </span>  height <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
-<span id="L631" class="LineNr">631 </span>  <span class="PreProc">var</span> i/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L632" class="LineNr">632 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L633" class="LineNr">633 </span>  <span class="Delimiter">{</span>
-<span id="L634" class="LineNr">634 </span>    <span class="muComment"># screen top left pixels x y width height</span>
-<span id="L635" class="LineNr">635 </span>    compare y, height
-<span id="L636" class="LineNr">636 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L637" class="LineNr">637 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L638" class="LineNr">638 </span>    <span class="Delimiter">{</span>
-<span id="L639" class="LineNr">639 </span>      compare x, width
-<span id="L640" class="LineNr">640 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L641" class="LineNr">641 </span>      <span class="Delimiter">{</span>
-<span id="L642" class="LineNr">642 </span>        <span class="PreProc">var</span> color-addr/<span class="muRegEbx">ebx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, i
-<span id="L643" class="LineNr">643 </span>        <span class="PreProc">var</span> color/<span class="muRegEbx">ebx</span>: byte <span class="Special">&lt;-</span> copy-byte *color-addr
-<span id="L644" class="LineNr">644 </span>        <span class="PreProc">var</span> color2/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy color
-<span id="L645" class="LineNr">645 </span>        <a href='500fake-screen.mu.html#L557'>pixel</a> target-screen, x, y, color2
-<span id="L646" class="LineNr">646 </span>      <span class="Delimiter">}</span>
-<span id="L647" class="LineNr">647 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L648" class="LineNr">648 </span>      i <span class="Special">&lt;-</span> increment
-<span id="L649" class="LineNr">649 </span>      <span class="PreProc">loop</span>
-<span id="L650" class="LineNr">650 </span>    <span class="Delimiter">}</span>
-<span id="L651" class="LineNr">651 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L652" class="LineNr">652 </span>    <span class="PreProc">loop</span>
-<span id="L653" class="LineNr">653 </span>  <span class="Delimiter">}</span>
-<span id="L654" class="LineNr">654 </span><span class="Delimiter">}</span>
-<span id="L655" class="LineNr">655 </span>
-<span id="L656" class="LineNr">656 </span><span class="muComment"># It turns out double-buffering screen-cells is useless because rendering fonts</span>
-<span id="L657" class="LineNr">657 </span><span class="muComment"># takes too long. (At least under Qemu.)</span>
-<span id="L658" class="LineNr">658 </span><span class="muComment"># So we'll instead convert screen-cells to pixels when double-buffering.</span>
-<span id="L659" class="LineNr">659 </span><span class="muComment"># 'screen' must be a fake screen.</span>
-<span id="L660" class="LineNr">660 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L660'>convert-screen-cells-to-pixels</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
-<span id="L661" class="LineNr">661 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L662" class="LineNr">662 </span>  <span class="PreProc">var</span> width-a/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
-<span id="L663" class="LineNr">663 </span>  <span class="PreProc">var</span> height-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
-<span id="L664" class="LineNr">664 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
-<span id="L665" class="LineNr">665 </span>  <span class="PreProc">var</span> _data/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L666" class="LineNr">666 </span>  <span class="PreProc">var</span> data: (addr array byte)
-<span id="L667" class="LineNr">667 </span>  copy-to data, _data
-<span id="L668" class="LineNr">668 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L669" class="LineNr">669 </span>  <span class="Delimiter">{</span>
-<span id="L670" class="LineNr">670 </span>    compare y, *height-a
-<span id="L671" class="LineNr">671 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L672" class="LineNr">672 </span>    <span class="PreProc">var</span> x/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L673" class="LineNr">673 </span>    $convert-screen-cells-to-pixels:loop-x: <span class="Delimiter">{</span>
-<span id="L674" class="LineNr">674 </span>      compare x, *width-a
-<span id="L675" class="LineNr">675 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L676" class="LineNr">676 </span>      <span class="Delimiter">{</span>
-<span id="L677" class="LineNr">677 </span>        <span class="PreProc">var</span> tmp/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L501'>screen-code-point-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L678" class="LineNr">678 </span>        <span class="muComment"># skip null code-points that only get created when clearing screen</span>
-<span id="L679" class="LineNr">679 </span>        <span class="muComment"># there may be other pixels drawn there, and we don't want to clobber them</span>
-<span id="L680" class="LineNr">680 </span>        <span class="muComment"># this is a situation where fake screens aren't faithful to real screens; we don't support overlap between screen-cells and raw pixels</span>
-<span id="L681" class="LineNr">681 </span>        compare tmp, <span class="Constant">0</span>
-<span id="L682" class="LineNr">682 </span>        <span class="PreProc">break-if-=</span>
-<span id="L683" class="LineNr">683 </span>        <span class="PreProc">var</span> c: code-point
-<span id="L684" class="LineNr">684 </span>        copy-to c, tmp
-<span id="L685" class="LineNr">685 </span>        <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L519'>screen-color-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L686" class="LineNr">686 </span>        <span class="PreProc">var</span> fg: int
-<span id="L687" class="LineNr">687 </span>        copy-to fg, tmp
-<span id="L688" class="LineNr">688 </span>        <span class="PreProc">var</span> bg/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L538'>screen-background-color-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
-<span id="L689" class="LineNr">689 </span>        <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L43'>draw-code-point-on-screen-array</a> data, c, x, y, fg, bg, *width-a, *height-a
-<span id="L690" class="LineNr">690 </span>        x <span class="Special">&lt;-</span> add offset
-<span id="L691" class="LineNr">691 </span>        <span class="PreProc">loop</span> $convert-screen-cells-to-pixels:loop-x
-<span id="L692" class="LineNr">692 </span>      <span class="Delimiter">}</span>
-<span id="L693" class="LineNr">693 </span>      x <span class="Special">&lt;-</span> increment
-<span id="L694" class="LineNr">694 </span>      <span class="PreProc">loop</span>
-<span id="L695" class="LineNr">695 </span>    <span class="Delimiter">}</span>
-<span id="L696" class="LineNr">696 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L697" class="LineNr">697 </span>    <span class="PreProc">loop</span>
-<span id="L698" class="LineNr">698 </span>  <span class="Delimiter">}</span>
-<span id="L699" class="LineNr">699 </span><span class="Delimiter">}</span>
+<span id="L600" class="LineNr">600 </span>  <span class="Delimiter">{</span>
+<span id="L601" class="LineNr">601 </span>    <span class="PreProc">var</span> xmax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L602" class="LineNr">602 </span>    <span class="PreProc">var</span> xmax/eax: int <span class="Special">&lt;-</span> copy *xmax-addr
+<span id="L603" class="LineNr">603 </span>    xmax <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
+<span id="L604" class="LineNr">604 </span>    compare x, xmax
+<span id="L605" class="LineNr">605 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L606" class="LineNr">606 </span>    <span class="PreProc">return</span>
+<span id="L607" class="LineNr">607 </span>  <span class="Delimiter">}</span>
+<span id="L608" class="LineNr">608 </span>  <span class="Delimiter">{</span>
+<span id="L609" class="LineNr">609 </span>    compare y, <span class="Constant">0</span>
+<span id="L610" class="LineNr">610 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L611" class="LineNr">611 </span>    <span class="PreProc">return</span>
+<span id="L612" class="LineNr">612 </span>  <span class="Delimiter">}</span>
+<span id="L613" class="LineNr">613 </span>  <span class="Delimiter">{</span>
+<span id="L614" class="LineNr">614 </span>    <span class="PreProc">var</span> ymax-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L615" class="LineNr">615 </span>    <span class="PreProc">var</span> ymax/eax: int <span class="Special">&lt;-</span> copy *ymax-addr
+<span id="L616" class="LineNr">616 </span>    ymax <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
+<span id="L617" class="LineNr">617 </span>    compare y, ymax
+<span id="L618" class="LineNr">618 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L619" class="LineNr">619 </span>    <span class="PreProc">return</span>
+<span id="L620" class="LineNr">620 </span>  <span class="Delimiter">}</span>
+<span id="L621" class="LineNr">621 </span>  <span class="muComment">#</span>
+<span id="L622" class="LineNr">622 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L628'>pixel-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L623" class="LineNr">623 </span>  <span class="PreProc">var</span> dest/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, index
+<span id="L624" class="LineNr">624 </span>  <span class="PreProc">var</span> src/eax: byte <span class="Special">&lt;-</span> copy-byte color
+<span id="L625" class="LineNr">625 </span>  copy-byte-to *dest, src
+<span id="L626" class="LineNr">626 </span><span class="Delimiter">}</span>
+<span id="L627" class="LineNr">627 </span>
+<span id="L628" class="LineNr">628 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L628'>pixel-index</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L629" class="LineNr">629 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L630" class="LineNr">630 </span>  <span class="PreProc">var</span> width-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L631" class="LineNr">631 </span>  <span class="PreProc">var</span> result/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L632" class="LineNr">632 </span>  result <span class="Special">&lt;-</span> multiply *width-addr
+<span id="L633" class="LineNr">633 </span>  result <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
+<span id="L634" class="LineNr">634 </span>  result <span class="Special">&lt;-</span> add x
+<span id="L635" class="LineNr">635 </span>  <span class="PreProc">return</span> result
+<span id="L636" class="LineNr">636 </span><span class="Delimiter">}</span>
+<span id="L637" class="LineNr">637 </span>
+<span id="L638" class="LineNr">638 </span><span class="muComment"># double-buffering primitive</span>
+<span id="L639" class="LineNr">639 </span><span class="muComment"># 'screen' must be a fake screen. 'target-screen' is usually real.</span>
+<span id="L640" class="LineNr">640 </span><span class="muComment"># Both screens must have the same size.</span>
+<span id="L641" class="LineNr">641 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L641'>copy-pixels</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), target-screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
+<span id="L642" class="LineNr">642 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L643" class="LineNr">643 </span>  <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
+<span id="L644" class="LineNr">644 </span>  <span class="PreProc">var</span> _pixels/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah
+<span id="L645" class="LineNr">645 </span>  <span class="PreProc">var</span> pixels/<span class="muRegEdi">edi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _pixels
+<span id="L646" class="LineNr">646 </span>  <span class="PreProc">var</span> width-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L647" class="LineNr">647 </span>  <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *width-a
+<span id="L648" class="LineNr">648 </span>  width <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2-font-width
+<span id="L649" class="LineNr">649 </span>  <span class="PreProc">var</span> height-a/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L650" class="LineNr">650 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *height-a
+<span id="L651" class="LineNr">651 </span>  height <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2-font-height
+<span id="L652" class="LineNr">652 </span>  <span class="PreProc">var</span> i/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L653" class="LineNr">653 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L654" class="LineNr">654 </span>  <span class="Delimiter">{</span>
+<span id="L655" class="LineNr">655 </span>    <span class="muComment"># screen top left pixels x y width height</span>
+<span id="L656" class="LineNr">656 </span>    compare y, height
+<span id="L657" class="LineNr">657 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L658" class="LineNr">658 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L659" class="LineNr">659 </span>    <span class="Delimiter">{</span>
+<span id="L660" class="LineNr">660 </span>      compare x, width
+<span id="L661" class="LineNr">661 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L662" class="LineNr">662 </span>      <span class="Delimiter">{</span>
+<span id="L663" class="LineNr">663 </span>        <span class="PreProc">var</span> color-addr/<span class="muRegEbx">ebx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, i
+<span id="L664" class="LineNr">664 </span>        <span class="PreProc">var</span> color/<span class="muRegEbx">ebx</span>: byte <span class="Special">&lt;-</span> copy-byte *color-addr
+<span id="L665" class="LineNr">665 </span>        <span class="PreProc">var</span> color2/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy color
+<span id="L666" class="LineNr">666 </span>        <a href='500fake-screen.mu.html#L578'>pixel</a> target-screen, x, y, color2
+<span id="L667" class="LineNr">667 </span>      <span class="Delimiter">}</span>
+<span id="L668" class="LineNr">668 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L669" class="LineNr">669 </span>      i <span class="Special">&lt;-</span> increment
+<span id="L670" class="LineNr">670 </span>      <span class="PreProc">loop</span>
+<span id="L671" class="LineNr">671 </span>    <span class="Delimiter">}</span>
+<span id="L672" class="LineNr">672 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L673" class="LineNr">673 </span>    <span class="PreProc">loop</span>
+<span id="L674" class="LineNr">674 </span>  <span class="Delimiter">}</span>
+<span id="L675" class="LineNr">675 </span><span class="Delimiter">}</span>
+<span id="L676" class="LineNr">676 </span>
+<span id="L677" class="LineNr">677 </span><span class="muComment"># It turns out double-buffering screen-cells is useless because rendering fonts</span>
+<span id="L678" class="LineNr">678 </span><span class="muComment"># takes too long. (At least under Qemu.)</span>
+<span id="L679" class="LineNr">679 </span><span class="muComment"># So we'll instead convert screen-cells to pixels when double-buffering.</span>
+<span id="L680" class="LineNr">680 </span><span class="muComment"># 'screen' must be a fake screen.</span>
+<span id="L681" class="LineNr">681 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L681'>convert-screen-cells-to-pixels</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
+<span id="L682" class="LineNr">682 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L683" class="LineNr">683 </span>  <span class="PreProc">var</span> width-a/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width
+<span id="L684" class="LineNr">684 </span>  <span class="PreProc">var</span> height-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height
+<span id="L685" class="LineNr">685 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels
+<span id="L686" class="LineNr">686 </span>  <span class="PreProc">var</span> _data/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L687" class="LineNr">687 </span>  <span class="PreProc">var</span> data: (addr array byte)
+<span id="L688" class="LineNr">688 </span>  copy-to data, _data
+<span id="L689" class="LineNr">689 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L690" class="LineNr">690 </span>  <span class="Delimiter">{</span>
+<span id="L691" class="LineNr">691 </span>    compare y, *height-a
+<span id="L692" class="LineNr">692 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L693" class="LineNr">693 </span>    <span class="PreProc">var</span> x/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L694" class="LineNr">694 </span>    $convert-screen-cells-to-pixels:loop-x: <span class="Delimiter">{</span>
+<span id="L695" class="LineNr">695 </span>      compare x, *width-a
+<span id="L696" class="LineNr">696 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L697" class="LineNr">697 </span>      <span class="Delimiter">{</span>
+<span id="L698" class="LineNr">698 </span>        <span class="PreProc">var</span> tmp/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L522'>screen-code-point-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L699" class="LineNr">699 </span>        <span class="muComment"># skip null code-points that only get created when clearing screen</span>
+<span id="L700" class="LineNr">700 </span>        <span class="muComment"># there may be other pixels drawn there, and we don't want to clobber them</span>
+<span id="L701" class="LineNr">701 </span>        <span class="muComment"># this is a situation where fake screens aren't faithful to real screens; we don't support overlap between screen-cells and raw pixels</span>
+<span id="L702" class="LineNr">702 </span>        compare tmp, <span class="Constant">0</span>
+<span id="L703" class="LineNr">703 </span>        <span class="PreProc">break-if-=</span>
+<span id="L704" class="LineNr">704 </span>        <span class="PreProc">var</span> c: code-point
+<span id="L705" class="LineNr">705 </span>        copy-to c, tmp
+<span id="L706" class="LineNr">706 </span>        <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L540'>screen-color-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L707" class="LineNr">707 </span>        <span class="PreProc">var</span> fg: int
+<span id="L708" class="LineNr">708 </span>        copy-to fg, tmp
+<span id="L709" class="LineNr">709 </span>        <span class="PreProc">var</span> bg/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L559'>screen-background-color-at</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L710" class="LineNr">710 </span>        <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L43'>draw-code-point-on-screen-array</a> data, c, x, y, fg, bg, *width-a, *height-a
+<span id="L711" class="LineNr">711 </span>        x <span class="Special">&lt;-</span> add offset
+<span id="L712" class="LineNr">712 </span>        <span class="PreProc">loop</span> $convert-screen-cells-to-pixels:loop-x
+<span id="L713" class="LineNr">713 </span>      <span class="Delimiter">}</span>
+<span id="L714" class="LineNr">714 </span>      x <span class="Special">&lt;-</span> increment
+<span id="L715" class="LineNr">715 </span>      <span class="PreProc">loop</span>
+<span id="L716" class="LineNr">716 </span>    <span class="Delimiter">}</span>
+<span id="L717" class="LineNr">717 </span>    y <span class="Special">&lt;-</span> increment
+<span id="L718" class="LineNr">718 </span>    <span class="PreProc">loop</span>
+<span id="L719" class="LineNr">719 </span>  <span class="Delimiter">}</span>
+<span id="L720" class="LineNr">720 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>
diff --git a/html/501draw-text.mu.html b/html/501draw-text.mu.html
index 07b0a90d..36e6c0bd 100644
--- a/html/501draw-text.mu.html
+++ b/html/501draw-text.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 - 501draw-text.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -66,14 +66,14 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">  3 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L3'>move-cursor-left</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
 <span id="L4" class="LineNr">  4 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L5" class="LineNr">  5 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L6" class="LineNr">  6 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L6" class="LineNr">  6 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L7" class="LineNr">  7 </span>  compare cursor-x, <span class="Constant">0</span>
 <span id="L8" class="LineNr">  8 </span>  <span class="Delimiter">{</span>
 <span id="L9" class="LineNr">  9 </span>    <span class="PreProc">break-if-&gt;</span>
 <span id="L10" class="LineNr"> 10 </span>    <span class="PreProc">return</span>
 <span id="L11" class="LineNr"> 11 </span>  <span class="Delimiter">}</span>
 <span id="L12" class="LineNr"> 12 </span>  cursor-x <span class="Special">&lt;-</span> decrement
-<span id="L13" class="LineNr"> 13 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
+<span id="L13" class="LineNr"> 13 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L14" class="LineNr"> 14 </span><span class="Delimiter">}</span>
 <span id="L15" class="LineNr"> 15 </span>
 <span id="L16" class="LineNr"> 16 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L16'>move-cursor-right</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
@@ -84,27 +84,27 @@ if ('onhashchange' in window) {
 <span id="L21" class="LineNr"> 21 </span>  limit <span class="Special">&lt;-</span> decrement
 <span id="L22" class="LineNr"> 22 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L23" class="LineNr"> 23 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L24" class="LineNr"> 24 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L24" class="LineNr"> 24 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L25" class="LineNr"> 25 </span>  compare cursor-x, limit
 <span id="L26" class="LineNr"> 26 </span>  <span class="Delimiter">{</span>
 <span id="L27" class="LineNr"> 27 </span>    <span class="PreProc">break-if-&lt;</span>
 <span id="L28" class="LineNr"> 28 </span>    <span class="PreProc">return</span>
 <span id="L29" class="LineNr"> 29 </span>  <span class="Delimiter">}</span>
 <span id="L30" class="LineNr"> 30 </span>  cursor-x <span class="Special">&lt;-</span> increment
-<span id="L31" class="LineNr"> 31 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
+<span id="L31" class="LineNr"> 31 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L32" class="LineNr"> 32 </span><span class="Delimiter">}</span>
 <span id="L33" class="LineNr"> 33 </span>
 <span id="L34" class="LineNr"> 34 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L34'>move-cursor-up</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
 <span id="L35" class="LineNr"> 35 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L36" class="LineNr"> 36 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L37" class="LineNr"> 37 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L37" class="LineNr"> 37 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L38" class="LineNr"> 38 </span>  compare cursor-y, <span class="Constant">0</span>
 <span id="L39" class="LineNr"> 39 </span>  <span class="Delimiter">{</span>
 <span id="L40" class="LineNr"> 40 </span>    <span class="PreProc">break-if-&gt;</span>
 <span id="L41" class="LineNr"> 41 </span>    <span class="PreProc">return</span>
 <span id="L42" class="LineNr"> 42 </span>  <span class="Delimiter">}</span>
 <span id="L43" class="LineNr"> 43 </span>  cursor-y <span class="Special">&lt;-</span> decrement
-<span id="L44" class="LineNr"> 44 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
+<span id="L44" class="LineNr"> 44 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L45" class="LineNr"> 45 </span><span class="Delimiter">}</span>
 <span id="L46" class="LineNr"> 46 </span>
 <span id="L47" class="LineNr"> 47 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L47'>move-cursor-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
@@ -115,14 +115,14 @@ if ('onhashchange' in window) {
 <span id="L52" class="LineNr"> 52 </span>  limit <span class="Special">&lt;-</span> decrement
 <span id="L53" class="LineNr"> 53 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L54" class="LineNr"> 54 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L55" class="LineNr"> 55 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L55" class="LineNr"> 55 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L56" class="LineNr"> 56 </span>  compare cursor-y, limit
 <span id="L57" class="LineNr"> 57 </span>  <span class="Delimiter">{</span>
 <span id="L58" class="LineNr"> 58 </span>    <span class="PreProc">break-if-&lt;</span>
 <span id="L59" class="LineNr"> 59 </span>    <span class="PreProc">return</span>
 <span id="L60" class="LineNr"> 60 </span>  <span class="Delimiter">}</span>
 <span id="L61" class="LineNr"> 61 </span>  cursor-y <span class="Special">&lt;-</span> increment
-<span id="L62" class="LineNr"> 62 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
+<span id="L62" class="LineNr"> 62 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L63" class="LineNr"> 63 </span><span class="Delimiter">}</span>
 <span id="L64" class="LineNr"> 64 </span>
 <span id="L65" class="LineNr"> 65 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
@@ -133,7 +133,7 @@ if ('onhashchange' in window) {
 <span id="L70" class="LineNr"> 70 </span>  limit <span class="Special">&lt;-</span> decrement
 <span id="L71" class="LineNr"> 71 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L72" class="LineNr"> 72 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L73" class="LineNr"> 73 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L73" class="LineNr"> 73 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L74" class="LineNr"> 74 </span>  compare cursor-y, limit
 <span id="L75" class="LineNr"> 75 </span>  <span class="Delimiter">{</span>
 <span id="L76" class="LineNr"> 76 </span>    <span class="PreProc">break-if-&lt;</span>
@@ -141,253 +141,253 @@ if ('onhashchange' in window) {
 <span id="L78" class="LineNr"> 78 </span>  <span class="Delimiter">}</span>
 <span id="L79" class="LineNr"> 79 </span>  cursor-y <span class="Special">&lt;-</span> increment
 <span id="L80" class="LineNr"> 80 </span>  cursor-x <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L81" class="LineNr"> 81 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
+<span id="L81" class="LineNr"> 81 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L82" class="LineNr"> 82 </span><span class="Delimiter">}</span>
 <span id="L83" class="LineNr"> 83 </span>
-<span id="L84" class="LineNr"> 84 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L84" class="LineNr"> 84 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, color: int, background-color: int <span class="Delimiter">{</span>
 <span id="L85" class="LineNr"> 85 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L86" class="LineNr"> 86 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L87" class="LineNr"> 87 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> _offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, cursor-x, cursor-y, color, background-color
-<span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> offset/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy _offset
-<span id="L90" class="LineNr"> 90 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L91" class="LineNr"> 91 </span>  <span class="PreProc">var</span> dummy/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L92" class="LineNr"> 92 </span>  width, dummy <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L93" class="LineNr"> 93 </span>  <a href='501draw-text.mu.html#L247'>move-cursor-rightward-and-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span> width
-<span id="L94" class="LineNr"> 94 </span>  offset <span class="Special">&lt;-</span> decrement
-<span id="L95" class="LineNr"> 95 </span>  compare offset, <span class="Constant">0</span>
-<span id="L96" class="LineNr"> 96 </span>  <span class="Delimiter">{</span>
-<span id="L97" class="LineNr"> 97 </span>    <span class="PreProc">break-if-=</span>
-<span id="L98" class="LineNr"> 98 </span>    <span class="muComment"># should never move downward here</span>
-<span id="L99" class="LineNr"> 99 </span>    <a href='501draw-text.mu.html#L247'>move-cursor-rightward-and-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span> width
-<span id="L100" class="LineNr">100 </span>  <span class="Delimiter">}</span>
-<span id="L101" class="LineNr">101 </span><span class="Delimiter">}</span>
-<span id="L102" class="LineNr">102 </span>
-<span id="L103" class="LineNr">103 </span><span class="muComment"># draw a single line of text from x, y to xmax</span>
-<span id="L104" class="LineNr">104 </span><span class="muComment"># return the next 'x' coordinate</span>
-<span id="L105" class="LineNr">105 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L106" class="LineNr">106 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L106'>draw-text-rightward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, xmax: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L107" class="LineNr">107 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x400</span>/print-buffer-size)
-<span id="L108" class="LineNr">108 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L109" class="LineNr">109 </span>  <a href='108write.subx.html#L11'>write</a> stream, text
-<span id="L110" class="LineNr">110 </span>  <span class="PreProc">var</span> xcurr/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L117'>draw-stream-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, x, xmax, y, color, background-color
-<span id="L111" class="LineNr">111 </span>  <span class="PreProc">return</span> xcurr
-<span id="L112" class="LineNr">112 </span><span class="Delimiter">}</span>
-<span id="L113" class="LineNr">113 </span>
-<span id="L114" class="LineNr">114 </span><span class="muComment"># draw a single-line stream from x, y to xmax</span>
-<span id="L115" class="LineNr">115 </span><span class="muComment"># return the next 'x' coordinate</span>
-<span id="L116" class="LineNr">116 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L117" class="LineNr">117 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L117'>draw-stream-rightward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), x: int, xmax: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L118" class="LineNr">118 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
-<span id="L119" class="LineNr">119 </span>  <span class="Delimiter">{</span>
-<span id="L120" class="LineNr">120 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
-<span id="L121" class="LineNr">121 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L122" class="LineNr">122 </span>    <span class="PreProc">break-if-=</span>
-<span id="L123" class="LineNr">123 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
-<span id="L124" class="LineNr">124 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, y, color, background-color
-<span id="L125" class="LineNr">125 </span>    xcurr <span class="Special">&lt;-</span> add offset
-<span id="L126" class="LineNr">126 </span>    <span class="PreProc">loop</span>
-<span id="L127" class="LineNr">127 </span>  <span class="Delimiter">}</span>
-<span id="L128" class="LineNr">128 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, y
-<span id="L129" class="LineNr">129 </span>  <span class="PreProc">return</span> xcurr
-<span id="L130" class="LineNr">130 </span><span class="Delimiter">}</span>
-<span id="L131" class="LineNr">131 </span>
-<span id="L132" class="LineNr">132 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L132'>draw-text-rightward-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L133" class="LineNr">133 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L134" class="LineNr">134 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L135" class="LineNr">135 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L136" class="LineNr">136 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, x, width, y, color, background-color
-<span id="L137" class="LineNr">137 </span>  <span class="PreProc">return</span> result
-<span id="L138" class="LineNr">138 </span><span class="Delimiter">}</span>
-<span id="L139" class="LineNr">139 </span>
-<span id="L140" class="LineNr">140 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmax: int, color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L141" class="LineNr">141 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L142" class="LineNr">142 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L143" class="LineNr">143 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L144" class="LineNr">144 </span>  cursor-x <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, cursor-x, xmax, cursor-y, color, background-color
-<span id="L145" class="LineNr">145 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
-<span id="L146" class="LineNr">146 </span><span class="Delimiter">}</span>
-<span id="L147" class="LineNr">147 </span>
-<span id="L148" class="LineNr">148 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L148'>draw-text-rightward-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L149" class="LineNr">149 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L150" class="LineNr">150 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L151" class="LineNr">151 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L152" class="LineNr">152 </span>  <a href='501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, width, color, background-color
+<span id="L87" class="LineNr"> 87 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, cursor-x, cursor-y, color, background-color
+<span id="L89" class="LineNr"> 89 </span><span class="Delimiter">}</span>
+<span id="L90" class="LineNr"> 90 </span>
+<span id="L91" class="LineNr"> 91 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L92" class="LineNr"> 92 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L93" class="LineNr"> 93 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L94" class="LineNr"> 94 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L95" class="LineNr"> 95 </span>  <span class="PreProc">var</span> _offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, cursor-x, cursor-y, color, background-color
+<span id="L96" class="LineNr"> 96 </span>  <span class="PreProc">var</span> offset/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy _offset
+<span id="L97" class="LineNr"> 97 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L98" class="LineNr"> 98 </span>  <span class="PreProc">var</span> dummy/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L99" class="LineNr"> 99 </span>  width, dummy <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L100" class="LineNr">100 </span>  <a href='501draw-text.mu.html#L302'>move-cursor-rightward-and-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span> width
+<span id="L101" class="LineNr">101 </span>  offset <span class="Special">&lt;-</span> decrement
+<span id="L102" class="LineNr">102 </span>  compare offset, <span class="Constant">0</span>
+<span id="L103" class="LineNr">103 </span>  <span class="Delimiter">{</span>
+<span id="L104" class="LineNr">104 </span>    <span class="PreProc">break-if-=</span>
+<span id="L105" class="LineNr">105 </span>    <span class="muComment"># should never move downward here</span>
+<span id="L106" class="LineNr">106 </span>    <a href='501draw-text.mu.html#L302'>move-cursor-rightward-and-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span> width
+<span id="L107" class="LineNr">107 </span>  <span class="Delimiter">}</span>
+<span id="L108" class="LineNr">108 </span><span class="Delimiter">}</span>
+<span id="L109" class="LineNr">109 </span>
+<span id="L110" class="LineNr">110 </span><span class="muComment"># draw a single line of text from x, y to xmax</span>
+<span id="L111" class="LineNr">111 </span><span class="muComment"># return the next 'x' coordinate</span>
+<span id="L112" class="LineNr">112 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L113" class="LineNr">113 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L113'>draw-text-rightward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, xmax: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L114" class="LineNr">114 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x400</span>/print-buffer-size)
+<span id="L115" class="LineNr">115 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L116" class="LineNr">116 </span>  <a href='108write.subx.html#L11'>write</a> stream, text
+<span id="L117" class="LineNr">117 </span>  <span class="PreProc">var</span> xcurr/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L124'>draw-stream-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, x, xmax, y, color, background-color
+<span id="L118" class="LineNr">118 </span>  <span class="PreProc">return</span> xcurr
+<span id="L119" class="LineNr">119 </span><span class="Delimiter">}</span>
+<span id="L120" class="LineNr">120 </span>
+<span id="L121" class="LineNr">121 </span><span class="muComment"># draw a single-line stream from x, y to xmax</span>
+<span id="L122" class="LineNr">122 </span><span class="muComment"># return the next 'x' coordinate</span>
+<span id="L123" class="LineNr">123 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L124" class="LineNr">124 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L124'>draw-stream-rightward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), x: int, xmax: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L125" class="LineNr">125 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L126" class="LineNr">126 </span>  <span class="Delimiter">{</span>
+<span id="L127" class="LineNr">127 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L128" class="LineNr">128 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L129" class="LineNr">129 </span>    <span class="PreProc">break-if-=</span>
+<span id="L130" class="LineNr">130 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L131" class="LineNr">131 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, y, color, background-color
+<span id="L132" class="LineNr">132 </span>    xcurr <span class="Special">&lt;-</span> add offset
+<span id="L133" class="LineNr">133 </span>    <span class="PreProc">loop</span>
+<span id="L134" class="LineNr">134 </span>  <span class="Delimiter">}</span>
+<span id="L135" class="LineNr">135 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, y
+<span id="L136" class="LineNr">136 </span>  <span class="PreProc">return</span> xcurr
+<span id="L137" class="LineNr">137 </span><span class="Delimiter">}</span>
+<span id="L138" class="LineNr">138 </span>
+<span id="L139" class="LineNr">139 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L140" class="LineNr">140 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L141" class="LineNr">141 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L142" class="LineNr">142 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L143" class="LineNr">143 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, x, width, y, color, background-color
+<span id="L144" class="LineNr">144 </span>  <span class="PreProc">return</span> result
+<span id="L145" class="LineNr">145 </span><span class="Delimiter">}</span>
+<span id="L146" class="LineNr">146 </span>
+<span id="L147" class="LineNr">147 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L148" class="LineNr">148 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L149" class="LineNr">149 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L150" class="LineNr">150 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L151" class="LineNr">151 </span>  cursor-x <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, cursor-x, xmax, cursor-y, color, background-color
+<span id="L152" class="LineNr">152 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L153" class="LineNr">153 </span><span class="Delimiter">}</span>
 <span id="L154" class="LineNr">154 </span>
-<span id="L155" class="LineNr">155 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L155'>render-code-point</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L156" class="LineNr">156 </span>  compare c, <span class="Constant">0xa</span>/newline
-<span id="L157" class="LineNr">157 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
-<span id="L158" class="LineNr">158 </span>  <span class="Delimiter">{</span>
-<span id="L159" class="LineNr">159 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L160" class="LineNr">160 </span>    <span class="muComment"># minimum effort to clear cursor</span>
-<span id="L161" class="LineNr">161 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, x, y, color, background-color
-<span id="L162" class="LineNr">162 </span>    x <span class="Special">&lt;-</span> copy xmin
-<span id="L163" class="LineNr">163 </span>    increment y
-<span id="L164" class="LineNr">164 </span>    <span class="PreProc">return</span> x, y
-<span id="L165" class="LineNr">165 </span>  <span class="Delimiter">}</span>
-<span id="L166" class="LineNr">166 </span>  <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
-<span id="L167" class="LineNr">167 </span>  x <span class="Special">&lt;-</span> add offset
-<span id="L168" class="LineNr">168 </span>  compare x, xmax
-<span id="L169" class="LineNr">169 </span>  <span class="Delimiter">{</span>
-<span id="L170" class="LineNr">170 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L171" class="LineNr">171 </span>    x <span class="Special">&lt;-</span> copy xmin
-<span id="L172" class="LineNr">172 </span>    increment y
-<span id="L173" class="LineNr">173 </span>  <span class="Delimiter">}</span>
-<span id="L174" class="LineNr">174 </span>  <span class="PreProc">return</span> x, y
-<span id="L175" class="LineNr">175 </span><span class="Delimiter">}</span>
-<span id="L176" class="LineNr">176 </span>
-<span id="L177" class="LineNr">177 </span><span class="muComment"># draw text in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
-<span id="L178" class="LineNr">178 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
-<span id="L179" class="LineNr">179 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
-<span id="L180" class="LineNr">180 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L181" class="LineNr">181 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L182" class="LineNr">182 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x200</span>/print-buffer-size)
-<span id="L183" class="LineNr">183 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L184" class="LineNr">184 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _text
-<span id="L185" class="LineNr">185 </span>  <span class="PreProc">var</span> len/eax: int <span class="Special">&lt;-</span> length text
-<span id="L186" class="LineNr">186 </span>  compare len, <span class="Constant">0x200</span>/print-buffer-size
-<span id="L187" class="LineNr">187 </span>  <span class="Delimiter">{</span>
-<span id="L188" class="LineNr">188 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L189" class="LineNr">189 </span>    <a href='108write.subx.html#L11'>write</a> stream, <span class="Constant">&quot;ERROR: stream too small in draw-text-wrapping-right-then-down&quot;</span>
-<span id="L190" class="LineNr">190 </span>  <span class="Delimiter">}</span>
-<span id="L191" class="LineNr">191 </span>  compare len, <span class="Constant">0x200</span>/print-buffer-size
-<span id="L192" class="LineNr">192 </span>  <span class="Delimiter">{</span>
-<span id="L193" class="LineNr">193 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L194" class="LineNr">194 </span>    <a href='108write.subx.html#L11'>write</a> stream, text
-<span id="L195" class="LineNr">195 </span>  <span class="Delimiter">}</span>
-<span id="L196" class="LineNr">196 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy _x
-<span id="L197" class="LineNr">197 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
-<span id="L198" class="LineNr">198 </span>  x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L206'>draw-stream-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, x, y, color, background-color
-<span id="L199" class="LineNr">199 </span>  <span class="PreProc">return</span> x, y
-<span id="L200" class="LineNr">200 </span><span class="Delimiter">}</span>
-<span id="L201" class="LineNr">201 </span>
-<span id="L202" class="LineNr">202 </span><span class="muComment"># draw a stream in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
-<span id="L203" class="LineNr">203 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
-<span id="L204" class="LineNr">204 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
-<span id="L205" class="LineNr">205 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L206" class="LineNr">206 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L206'>draw-stream-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L207" class="LineNr">207 </span>  <span class="PreProc">var</span> xcurr/eax: int <span class="Special">&lt;-</span> copy x
-<span id="L208" class="LineNr">208 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L209" class="LineNr">209 </span>  <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L210" class="LineNr">210 </span>  <span class="Delimiter">{</span>
-<span id="L211" class="LineNr">211 </span>    <span class="Delimiter">{</span>
-<span id="L212" class="LineNr">212 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
-<span id="L213" class="LineNr">213 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
-<span id="L214" class="LineNr">214 </span>      c <span class="Special">&lt;-</span> copy _c
-<span id="L215" class="LineNr">215 </span>    <span class="Delimiter">}</span>
-<span id="L216" class="LineNr">216 </span>    compare c, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L217" class="LineNr">217 </span>    <span class="PreProc">break-if-=</span>
-<span id="L218" class="LineNr">218 </span>    xcurr, ycurr <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L155'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L219" class="LineNr">219 </span>    <span class="PreProc">loop</span>
-<span id="L220" class="LineNr">220 </span>  <span class="Delimiter">}</span>
-<span id="L221" class="LineNr">221 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
-<span id="L222" class="LineNr">222 </span>  <span class="PreProc">return</span> xcurr, ycurr
-<span id="L223" class="LineNr">223 </span><span class="Delimiter">}</span>
-<span id="L224" class="LineNr">224 </span>
-<span id="L225" class="LineNr">225 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L225'>draw-stream-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L226" class="LineNr">226 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L227" class="LineNr">227 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L228" class="LineNr">228 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L229" class="LineNr">229 </span>  <span class="PreProc">var</span> end-x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-x
-<span id="L230" class="LineNr">230 </span>  end-x <span class="Special">&lt;-</span> increment
-<span id="L231" class="LineNr">231 </span>  compare end-x, xmax
-<span id="L232" class="LineNr">232 </span>  <span class="Delimiter">{</span>
-<span id="L233" class="LineNr">233 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L234" class="LineNr">234 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
-<span id="L235" class="LineNr">235 </span>    cursor-y <span class="Special">&lt;-</span> increment
-<span id="L236" class="LineNr">236 </span>  <span class="Delimiter">}</span>
-<span id="L237" class="LineNr">237 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L206'>draw-stream-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
-<span id="L238" class="LineNr">238 </span><span class="Delimiter">}</span>
-<span id="L239" class="LineNr">239 </span>
-<span id="L240" class="LineNr">240 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L241" class="LineNr">241 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L242" class="LineNr">242 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L243" class="LineNr">243 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L244" class="LineNr">244 </span>  <a href='501draw-text.mu.html#L225'>draw-stream-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
-<span id="L245" class="LineNr">245 </span><span class="Delimiter">}</span>
-<span id="L246" class="LineNr">246 </span>
-<span id="L247" class="LineNr">247 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L247'>move-cursor-rightward-and-downward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), xmin: int, xmax: int <span class="Delimiter">{</span>
-<span id="L248" class="LineNr">248 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L249" class="LineNr">249 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L250" class="LineNr">250 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L251" class="LineNr">251 </span>  cursor-x <span class="Special">&lt;-</span> increment
-<span id="L252" class="LineNr">252 </span>  compare cursor-x, xmax
-<span id="L253" class="LineNr">253 </span>  <span class="Delimiter">{</span>
-<span id="L254" class="LineNr">254 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L255" class="LineNr">255 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
-<span id="L256" class="LineNr">256 </span>    cursor-y <span class="Special">&lt;-</span> increment
-<span id="L257" class="LineNr">257 </span>  <span class="Delimiter">}</span>
-<span id="L258" class="LineNr">258 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
-<span id="L259" class="LineNr">259 </span><span class="Delimiter">}</span>
-<span id="L260" class="LineNr">260 </span>
-<span id="L261" class="LineNr">261 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L261'>draw-text-wrapping-right-then-down-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L262" class="LineNr">262 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L263" class="LineNr">263 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L264" class="LineNr">264 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>  <span class="muComment"># width, height</span>
-<span id="L265" class="LineNr">265 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
-<span id="L266" class="LineNr">266 </span>  <span class="PreProc">return</span> x2, y2  <span class="muComment"># cursor-x, cursor-y</span>
-<span id="L267" class="LineNr">267 </span><span class="Delimiter">}</span>
-<span id="L268" class="LineNr">268 </span>
-<span id="L269" class="LineNr">269 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L270" class="LineNr">270 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L271" class="LineNr">271 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L272" class="LineNr">272 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L273" class="LineNr">273 </span>  <span class="PreProc">var</span> end-x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-x
-<span id="L274" class="LineNr">274 </span>  end-x <span class="Special">&lt;-</span> increment
-<span id="L275" class="LineNr">275 </span>  compare end-x, xmax
-<span id="L276" class="LineNr">276 </span>  <span class="Delimiter">{</span>
-<span id="L277" class="LineNr">277 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L278" class="LineNr">278 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
-<span id="L279" class="LineNr">279 </span>    cursor-y <span class="Special">&lt;-</span> increment
-<span id="L280" class="LineNr">280 </span>  <span class="Delimiter">}</span>
-<span id="L281" class="LineNr">281 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
-<span id="L282" class="LineNr">282 </span><span class="Delimiter">}</span>
-<span id="L283" class="LineNr">283 </span>
-<span id="L284" class="LineNr">284 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L285" class="LineNr">285 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L286" class="LineNr">286 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L287" class="LineNr">287 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L288" class="LineNr">288 </span>  <a href='501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
-<span id="L289" class="LineNr">289 </span><span class="Delimiter">}</span>
-<span id="L290" class="LineNr">290 </span>
-<span id="L291" class="LineNr">291 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L291'>draw-int32-hex-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L292" class="LineNr">292 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
-<span id="L293" class="LineNr">293 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L294" class="LineNr">294 </span>  <a href='117write-int-hex.subx.html#L92'>write-int32-hex</a> stream, n
-<span id="L295" class="LineNr">295 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy x
-<span id="L296" class="LineNr">296 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L297" class="LineNr">297 </span>  <span class="Delimiter">{</span>
-<span id="L298" class="LineNr">298 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
-<span id="L299" class="LineNr">299 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L300" class="LineNr">300 </span>    <span class="PreProc">break-if-=</span>
-<span id="L301" class="LineNr">301 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
-<span id="L302" class="LineNr">302 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
-<span id="L303" class="LineNr">303 </span>    xcurr <span class="Special">&lt;-</span> add offset
-<span id="L304" class="LineNr">304 </span>    compare xcurr, xmax
-<span id="L305" class="LineNr">305 </span>    <span class="Delimiter">{</span>
-<span id="L306" class="LineNr">306 </span>      <span class="PreProc">break-if-&lt;</span>
-<span id="L307" class="LineNr">307 </span>      xcurr <span class="Special">&lt;-</span> copy xmin
-<span id="L308" class="LineNr">308 </span>      ycurr <span class="Special">&lt;-</span> increment
-<span id="L309" class="LineNr">309 </span>    <span class="Delimiter">}</span>
-<span id="L310" class="LineNr">310 </span>    <span class="PreProc">loop</span>
-<span id="L311" class="LineNr">311 </span>  <span class="Delimiter">}</span>
-<span id="L312" class="LineNr">312 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
-<span id="L313" class="LineNr">313 </span>  <span class="PreProc">return</span> xcurr, ycurr
+<span id="L155" class="LineNr">155 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L155'>draw-text-rightward-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L156" class="LineNr">156 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L157" class="LineNr">157 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L158" class="LineNr">158 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L159" class="LineNr">159 </span>  <a href='501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, width, color, background-color
+<span id="L160" class="LineNr">160 </span><span class="Delimiter">}</span>
+<span id="L161" class="LineNr">161 </span>
+<span id="L162" class="LineNr">162 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L162'>render-code-point</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), c: code-point, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L163" class="LineNr">163 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L164" class="LineNr">164 </span>  compare c, <span class="Constant">0xa</span>/newline
+<span id="L165" class="LineNr">165 </span>  <span class="Delimiter">{</span>
+<span id="L166" class="LineNr">166 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L167" class="LineNr">167 </span>    <span class="muComment"># minimum effort to clear cursor</span>
+<span id="L168" class="LineNr">168 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, x, y, color, background-color
+<span id="L169" class="LineNr">169 </span>    x <span class="Special">&lt;-</span> copy xmin
+<span id="L170" class="LineNr">170 </span>    increment y
+<span id="L171" class="LineNr">171 </span>    <span class="PreProc">return</span> x, y
+<span id="L172" class="LineNr">172 </span>  <span class="Delimiter">}</span>
+<span id="L173" class="LineNr">173 </span>  <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, y, color, background-color
+<span id="L174" class="LineNr">174 </span>  x <span class="Special">&lt;-</span> add offset
+<span id="L175" class="LineNr">175 </span>  compare x, xmax
+<span id="L176" class="LineNr">176 </span>  <span class="Delimiter">{</span>
+<span id="L177" class="LineNr">177 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L178" class="LineNr">178 </span>    x <span class="Special">&lt;-</span> copy xmin
+<span id="L179" class="LineNr">179 </span>    increment y
+<span id="L180" class="LineNr">180 </span>  <span class="Delimiter">}</span>
+<span id="L181" class="LineNr">181 </span>  <span class="PreProc">return</span> x, y
+<span id="L182" class="LineNr">182 </span><span class="Delimiter">}</span>
+<span id="L183" class="LineNr">183 </span>
+<span id="L184" class="LineNr">184 </span><span class="muComment"># draw text in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
+<span id="L185" class="LineNr">185 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
+<span id="L186" class="LineNr">186 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
+<span id="L187" class="LineNr">187 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L188" class="LineNr">188 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L189" class="LineNr">189 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x200</span>/print-buffer-size)
+<span id="L190" class="LineNr">190 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L191" class="LineNr">191 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _text
+<span id="L192" class="LineNr">192 </span>  <span class="PreProc">var</span> len/eax: int <span class="Special">&lt;-</span> length text
+<span id="L193" class="LineNr">193 </span>  compare len, <span class="Constant">0x200</span>/print-buffer-size
+<span id="L194" class="LineNr">194 </span>  <span class="Delimiter">{</span>
+<span id="L195" class="LineNr">195 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L196" class="LineNr">196 </span>    <a href='108write.subx.html#L11'>write</a> stream, <span class="Constant">&quot;ERROR: stream too small in draw-text-wrapping-right-then-down&quot;</span>
+<span id="L197" class="LineNr">197 </span>  <span class="Delimiter">}</span>
+<span id="L198" class="LineNr">198 </span>  compare len, <span class="Constant">0x200</span>/print-buffer-size
+<span id="L199" class="LineNr">199 </span>  <span class="Delimiter">{</span>
+<span id="L200" class="LineNr">200 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L201" class="LineNr">201 </span>    <a href='108write.subx.html#L11'>write</a> stream, text
+<span id="L202" class="LineNr">202 </span>  <span class="Delimiter">}</span>
+<span id="L203" class="LineNr">203 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy _x
+<span id="L204" class="LineNr">204 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
+<span id="L205" class="LineNr">205 </span>  x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L213'>draw-stream-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, x, y, color, background-color
+<span id="L206" class="LineNr">206 </span>  <span class="PreProc">return</span> x, y
+<span id="L207" class="LineNr">207 </span><span class="Delimiter">}</span>
+<span id="L208" class="LineNr">208 </span>
+<span id="L209" class="LineNr">209 </span><span class="muComment"># draw a stream in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
+<span id="L210" class="LineNr">210 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
+<span id="L211" class="LineNr">211 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
+<span id="L212" class="LineNr">212 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L213" class="LineNr">213 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L213'>draw-stream-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L214" class="LineNr">214 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L215" class="LineNr">215 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L216" class="LineNr">216 </span>  <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L217" class="LineNr">217 </span>  <span class="PreProc">var</span> next-c/<span class="muRegEsi">esi</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L218" class="LineNr">218 </span>  $draw-stream-wrapping-right-then-down:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
+<span id="L219" class="LineNr">219 </span>    <span class="muComment"># read c from either next-c or stream</span>
+<span id="L220" class="LineNr">220 </span>    $draw-stream-wrapping-right-then-down:read-base: <span class="Delimiter">{</span>
+<span id="L221" class="LineNr">221 </span>      compare next-c, <span class="Constant">0</span>
+<span id="L222" class="LineNr">222 </span>      <span class="Delimiter">{</span>
+<span id="L223" class="LineNr">223 </span>        <span class="PreProc">break-if-=</span>
+<span id="L224" class="LineNr">224 </span>        c <span class="Special">&lt;-</span> copy next-c
+<span id="L225" class="LineNr">225 </span>        next-c <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L226" class="LineNr">226 </span>        <span class="PreProc">break</span> $draw-stream-wrapping-right-then-down:read-base
+<span id="L227" class="LineNr">227 </span>      <span class="Delimiter">}</span>
+<span id="L228" class="LineNr">228 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L229" class="LineNr">229 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L230" class="LineNr">230 </span>      c <span class="Special">&lt;-</span> copy _c
+<span id="L231" class="LineNr">231 </span>    <span class="Delimiter">}</span>
+<span id="L232" class="LineNr">232 </span>    compare c, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L233" class="LineNr">233 </span>    <span class="PreProc">break-if-=</span>
+<span id="L234" class="LineNr">234 </span>    compare c, <span class="Constant">0xa</span>/newline
+<span id="L235" class="LineNr">235 </span>    <span class="Delimiter">{</span>
+<span id="L236" class="LineNr">236 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L237" class="LineNr">237 </span>      <span class="muComment"># minimum effort to clear cursor</span>
+<span id="L238" class="LineNr">238 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, xcurr, ycurr, color, background-color
+<span id="L239" class="LineNr">239 </span>      xcurr <span class="Special">&lt;-</span> copy xmin
+<span id="L240" class="LineNr">240 </span>      ycurr <span class="Special">&lt;-</span> increment
+<span id="L241" class="LineNr">241 </span>      <span class="PreProc">loop</span> $draw-stream-wrapping-right-then-down:<span class="PreProc">loop</span>
+<span id="L242" class="LineNr">242 </span>    <span class="Delimiter">}</span>
+<span id="L243" class="LineNr">243 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
+<span id="L244" class="LineNr">244 </span>    <span class="muComment"># overlay a combining character if necessary</span>
+<span id="L245" class="LineNr">245 </span>    $draw-stream-wrapping-right-then-down:read-combiner: <span class="Delimiter">{</span>
+<span id="L246" class="LineNr">246 </span>      <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> stream
+<span id="L247" class="LineNr">247 </span>      compare done?, <span class="Constant">0</span>/false
+<span id="L248" class="LineNr">248 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L249" class="LineNr">249 </span>      <span class="muComment"># read a character</span>
+<span id="L250" class="LineNr">250 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L251" class="LineNr">251 </span>      <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L252" class="LineNr">252 </span>      <span class="muComment"># if not a combining character, save for next iteration and loop</span>
+<span id="L253" class="LineNr">253 </span>      <span class="Delimiter">{</span>
+<span id="L254" class="LineNr">254 </span>        <span class="PreProc">var</span> <a href='103glyph.subx.html#L157'>combining-code-point?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='103glyph.subx.html#L157'>combining-code-point?</a> c
+<span id="L255" class="LineNr">255 </span>        compare <a href='103glyph.subx.html#L157'>combining-code-point?</a>, <span class="Constant">0</span>/false
+<span id="L256" class="LineNr">256 </span>      <span class="Delimiter">}</span>
+<span id="L257" class="LineNr">257 </span>      <span class="Delimiter">{</span>
+<span id="L258" class="LineNr">258 </span>        <span class="PreProc">break-if-!=</span>
+<span id="L259" class="LineNr">259 </span>        next-c <span class="Special">&lt;-</span> copy c
+<span id="L260" class="LineNr">260 </span>        <span class="PreProc">break</span> $draw-stream-wrapping-right-then-down:read-combiner
+<span id="L261" class="LineNr">261 </span>      <span class="Delimiter">}</span>
+<span id="L262" class="LineNr">262 </span>      <span class="muComment"># otherwise overlay it without saving its width</span>
+<span id="L263" class="LineNr">263 </span>      <span class="muComment"># This means strange results if a base and its combiner have different</span>
+<span id="L264" class="LineNr">264 </span>      <span class="muComment"># widths. We'll always follow the base width.</span>
+<span id="L265" class="LineNr">265 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L112'>overlay-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
+<span id="L266" class="LineNr">266 </span>    <span class="Delimiter">}</span>
+<span id="L267" class="LineNr">267 </span>    xcurr <span class="Special">&lt;-</span> add offset
+<span id="L268" class="LineNr">268 </span>    compare xcurr, xmax
+<span id="L269" class="LineNr">269 </span>    <span class="Delimiter">{</span>
+<span id="L270" class="LineNr">270 </span>      <span class="PreProc">break-if-&lt;</span>
+<span id="L271" class="LineNr">271 </span>      xcurr <span class="Special">&lt;-</span> copy xmin
+<span id="L272" class="LineNr">272 </span>      ycurr <span class="Special">&lt;-</span> increment
+<span id="L273" class="LineNr">273 </span>    <span class="Delimiter">}</span>
+<span id="L274" class="LineNr">274 </span>    <span class="PreProc">loop</span>
+<span id="L275" class="LineNr">275 </span>  <span class="Delimiter">}</span>
+<span id="L276" class="LineNr">276 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
+<span id="L277" class="LineNr">277 </span>  <span class="PreProc">return</span> xcurr, ycurr
+<span id="L278" class="LineNr">278 </span><span class="Delimiter">}</span>
+<span id="L279" class="LineNr">279 </span>
+<span id="L280" class="LineNr">280 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L280'>draw-stream-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L281" class="LineNr">281 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L282" class="LineNr">282 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L283" class="LineNr">283 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L284" class="LineNr">284 </span>  <span class="PreProc">var</span> end-x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-x
+<span id="L285" class="LineNr">285 </span>  end-x <span class="Special">&lt;-</span> increment
+<span id="L286" class="LineNr">286 </span>  compare end-x, xmax
+<span id="L287" class="LineNr">287 </span>  <span class="Delimiter">{</span>
+<span id="L288" class="LineNr">288 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L289" class="LineNr">289 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
+<span id="L290" class="LineNr">290 </span>    cursor-y <span class="Special">&lt;-</span> increment
+<span id="L291" class="LineNr">291 </span>  <span class="Delimiter">}</span>
+<span id="L292" class="LineNr">292 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L213'>draw-stream-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
+<span id="L293" class="LineNr">293 </span><span class="Delimiter">}</span>
+<span id="L294" class="LineNr">294 </span>
+<span id="L295" class="LineNr">295 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L296" class="LineNr">296 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L297" class="LineNr">297 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L298" class="LineNr">298 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L299" class="LineNr">299 </span>  <a href='501draw-text.mu.html#L280'>draw-stream-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
+<span id="L300" class="LineNr">300 </span><span class="Delimiter">}</span>
+<span id="L301" class="LineNr">301 </span>
+<span id="L302" class="LineNr">302 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L302'>move-cursor-rightward-and-downward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), xmin: int, xmax: int <span class="Delimiter">{</span>
+<span id="L303" class="LineNr">303 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L304" class="LineNr">304 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L305" class="LineNr">305 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L306" class="LineNr">306 </span>  cursor-x <span class="Special">&lt;-</span> increment
+<span id="L307" class="LineNr">307 </span>  compare cursor-x, xmax
+<span id="L308" class="LineNr">308 </span>  <span class="Delimiter">{</span>
+<span id="L309" class="LineNr">309 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L310" class="LineNr">310 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
+<span id="L311" class="LineNr">311 </span>    cursor-y <span class="Special">&lt;-</span> increment
+<span id="L312" class="LineNr">312 </span>  <span class="Delimiter">}</span>
+<span id="L313" class="LineNr">313 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, cursor-x, cursor-y
 <span id="L314" class="LineNr">314 </span><span class="Delimiter">}</span>
 <span id="L315" class="LineNr">315 </span>
-<span id="L316" class="LineNr">316 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L316'>draw-int32-hex-wrapping-right-then-down-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L316" class="LineNr">316 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L316'>draw-text-wrapping-right-then-down-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
 <span id="L317" class="LineNr">317 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L318" class="LineNr">318 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L319" class="LineNr">319 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>  <span class="muComment"># width, height</span>
-<span id="L320" class="LineNr">320 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L291'>draw-int32-hex-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
+<span id="L320" class="LineNr">320 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
 <span id="L321" class="LineNr">321 </span>  <span class="PreProc">return</span> x2, y2  <span class="muComment"># cursor-x, cursor-y</span>
 <span id="L322" class="LineNr">322 </span><span class="Delimiter">}</span>
 <span id="L323" class="LineNr">323 </span>
-<span id="L324" class="LineNr">324 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L324'>draw-int32-hex-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L324" class="LineNr">324 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
 <span id="L325" class="LineNr">325 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L326" class="LineNr">326 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L327" class="LineNr">327 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L327" class="LineNr">327 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L328" class="LineNr">328 </span>  <span class="PreProc">var</span> end-x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-x
 <span id="L329" class="LineNr">329 </span>  end-x <span class="Special">&lt;-</span> increment
 <span id="L330" class="LineNr">330 </span>  compare end-x, xmax
@@ -396,20 +396,20 @@ if ('onhashchange' in window) {
 <span id="L333" class="LineNr">333 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
 <span id="L334" class="LineNr">334 </span>    cursor-y <span class="Special">&lt;-</span> increment
 <span id="L335" class="LineNr">335 </span>  <span class="Delimiter">}</span>
-<span id="L336" class="LineNr">336 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L291'>draw-int32-hex-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
+<span id="L336" class="LineNr">336 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
 <span id="L337" class="LineNr">337 </span><span class="Delimiter">}</span>
 <span id="L338" class="LineNr">338 </span>
-<span id="L339" class="LineNr">339 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L339" class="LineNr">339 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), color: int, background-color: int <span class="Delimiter">{</span>
 <span id="L340" class="LineNr">340 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L341" class="LineNr">341 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L342" class="LineNr">342 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L343" class="LineNr">343 </span>  <a href='501draw-text.mu.html#L324'>draw-int32-hex-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
+<span id="L343" class="LineNr">343 </span>  <a href='501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
 <span id="L344" class="LineNr">344 </span><span class="Delimiter">}</span>
 <span id="L345" class="LineNr">345 </span>
-<span id="L346" class="LineNr">346 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L346'>draw-int32-decimal-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L346" class="LineNr">346 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L346'>draw-int32-hex-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
 <span id="L347" class="LineNr">347 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
 <span id="L348" class="LineNr">348 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L349" class="LineNr">349 </span>  <a href='126write-int-decimal.subx.html#L8'>write-int32-decimal</a> stream, n
+<span id="L349" class="LineNr">349 </span>  <a href='117write-int-hex.subx.html#L92'>write-int32-hex</a> stream, n
 <span id="L350" class="LineNr">350 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy x
 <span id="L351" class="LineNr">351 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L352" class="LineNr">352 </span>  <span class="Delimiter">{</span>
@@ -427,22 +427,22 @@ if ('onhashchange' in window) {
 <span id="L364" class="LineNr">364 </span>    <span class="Delimiter">}</span>
 <span id="L365" class="LineNr">365 </span>    <span class="PreProc">loop</span>
 <span id="L366" class="LineNr">366 </span>  <span class="Delimiter">}</span>
-<span id="L367" class="LineNr">367 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
+<span id="L367" class="LineNr">367 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
 <span id="L368" class="LineNr">368 </span>  <span class="PreProc">return</span> xcurr, ycurr
 <span id="L369" class="LineNr">369 </span><span class="Delimiter">}</span>
 <span id="L370" class="LineNr">370 </span>
-<span id="L371" class="LineNr">371 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L371'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L371" class="LineNr">371 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L371'>draw-int32-hex-wrapping-right-then-down-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
 <span id="L372" class="LineNr">372 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L373" class="LineNr">373 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L374" class="LineNr">374 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>  <span class="muComment"># width, height</span>
-<span id="L375" class="LineNr">375 </span>  x2, y2 <span class="Special">&lt;-</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>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
+<span id="L375" class="LineNr">375 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L346'>draw-int32-hex-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
 <span id="L376" class="LineNr">376 </span>  <span class="PreProc">return</span> x2, y2  <span class="muComment"># cursor-x, cursor-y</span>
 <span id="L377" class="LineNr">377 </span><span class="Delimiter">}</span>
 <span id="L378" class="LineNr">378 </span>
-<span id="L379" class="LineNr">379 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L379'>draw-int32-decimal-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L379" class="LineNr">379 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L379'>draw-int32-hex-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
 <span id="L380" class="LineNr">380 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L381" class="LineNr">381 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L382" class="LineNr">382 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L382" class="LineNr">382 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L383" class="LineNr">383 </span>  <span class="PreProc">var</span> end-x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-x
 <span id="L384" class="LineNr">384 </span>  end-x <span class="Special">&lt;-</span> increment
 <span id="L385" class="LineNr">385 </span>  compare end-x, xmax
@@ -451,125 +451,180 @@ if ('onhashchange' in window) {
 <span id="L388" class="LineNr">388 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
 <span id="L389" class="LineNr">389 </span>    cursor-y <span class="Special">&lt;-</span> increment
 <span id="L390" class="LineNr">390 </span>  <span class="Delimiter">}</span>
-<span id="L391" class="LineNr">391 </span>  cursor-x, cursor-y <span class="Special">&lt;-</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>, n, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
+<span id="L391" class="LineNr">391 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L346'>draw-int32-hex-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
 <span id="L392" class="LineNr">392 </span><span class="Delimiter">}</span>
 <span id="L393" class="LineNr">393 </span>
-<span id="L394" class="LineNr">394 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L394" class="LineNr">394 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, color: int, background-color: int <span class="Delimiter">{</span>
 <span id="L395" class="LineNr">395 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L396" class="LineNr">396 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L397" class="LineNr">397 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L398" class="LineNr">398 </span>  <a href='501draw-text.mu.html#L379'>draw-int32-decimal-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
+<span id="L398" class="LineNr">398 </span>  <a href='501draw-text.mu.html#L379'>draw-int32-hex-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
 <span id="L399" class="LineNr">399 </span><span class="Delimiter">}</span>
 <span id="L400" class="LineNr">400 </span>
-<span id="L401" class="LineNr">401 </span><span class="muComment">## Text direction: down then right</span>
-<span id="L402" class="LineNr">402 </span>
-<span id="L403" class="LineNr">403 </span><span class="muComment"># draw a single line of text vertically from x, y to ymax</span>
-<span id="L404" class="LineNr">404 </span><span class="muComment"># return the next 'y' coordinate</span>
-<span id="L405" class="LineNr">405 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L406" class="LineNr">406 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L406'>draw-text-downward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, ymax: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L407" class="LineNr">407 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
-<span id="L408" class="LineNr">408 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L409" class="LineNr">409 </span>  <a href='108write.subx.html#L11'>write</a> stream, text
-<span id="L410" class="LineNr">410 </span>  <span class="PreProc">var</span> ycurr/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L418'>draw-stream-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, x, y, ymax, color, background-color
-<span id="L411" class="LineNr">411 </span>  <span class="PreProc">return</span> ycurr
-<span id="L412" class="LineNr">412 </span><span class="Delimiter">}</span>
-<span id="L413" class="LineNr">413 </span>
-<span id="L414" class="LineNr">414 </span><span class="muComment"># draw a single-line stream vertically from x, y to ymax</span>
-<span id="L415" class="LineNr">415 </span><span class="muComment"># return the next 'y' coordinate</span>
-<span id="L416" class="LineNr">416 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L417" class="LineNr">417 </span><span class="muComment"># TODO: should we track horizontal width?</span>
-<span id="L418" class="LineNr">418 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L418'>draw-stream-downward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), x: int, y: int, ymax: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L419" class="LineNr">419 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L420" class="LineNr">420 </span>  <span class="Delimiter">{</span>
-<span id="L421" class="LineNr">421 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
-<span id="L422" class="LineNr">422 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L423" class="LineNr">423 </span>    <span class="PreProc">break-if-=</span>
-<span id="L424" class="LineNr">424 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
-<span id="L425" class="LineNr">425 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, ycurr, color, background-color
-<span id="L426" class="LineNr">426 </span>    ycurr <span class="Special">&lt;-</span> increment
-<span id="L427" class="LineNr">427 </span>    <span class="PreProc">loop</span>
-<span id="L428" class="LineNr">428 </span>  <span class="Delimiter">}</span>
-<span id="L429" class="LineNr">429 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, ycurr
-<span id="L430" class="LineNr">430 </span>  <span class="PreProc">return</span> ycurr
-<span id="L431" class="LineNr">431 </span><span class="Delimiter">}</span>
-<span id="L432" class="LineNr">432 </span>
-<span id="L433" class="LineNr">433 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L433'>draw-text-downward-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L434" class="LineNr">434 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L435" class="LineNr">435 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L436" class="LineNr">436 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L437" class="LineNr">437 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L406'>draw-text-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, cursor-x, cursor-y, ymax, color, background-color
-<span id="L438" class="LineNr">438 </span><span class="Delimiter">}</span>
-<span id="L439" class="LineNr">439 </span>
-<span id="L440" class="LineNr">440 </span><span class="muComment"># draw text down and right in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
-<span id="L441" class="LineNr">441 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
-<span id="L442" class="LineNr">442 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
-<span id="L443" class="LineNr">443 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L444" class="LineNr">444 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L444'>draw-text-wrapping-down-then-right</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L445" class="LineNr">445 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
-<span id="L446" class="LineNr">446 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L447" class="LineNr">447 </span>  <a href='108write.subx.html#L11'>write</a> stream, text
-<span id="L448" class="LineNr">448 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy _x
-<span id="L449" class="LineNr">449 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
-<span id="L450" class="LineNr">450 </span>  x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L459'>draw-stream-wrapping-down-then-right</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, x, y, color, background-color
-<span id="L451" class="LineNr">451 </span>  <span class="PreProc">return</span> x, y
-<span id="L452" class="LineNr">452 </span><span class="Delimiter">}</span>
-<span id="L453" class="LineNr">453 </span>
-<span id="L454" class="LineNr">454 </span><span class="muComment"># draw a stream down and right in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
-<span id="L455" class="LineNr">455 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
-<span id="L456" class="LineNr">456 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
-<span id="L457" class="LineNr">457 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L458" class="LineNr">458 </span><span class="muComment"># TODO: should we track horizontal width? just always offset by 2 for now</span>
-<span id="L459" class="LineNr">459 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L459'>draw-stream-wrapping-down-then-right</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L460" class="LineNr">460 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy x
-<span id="L461" class="LineNr">461 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L462" class="LineNr">462 </span>  <span class="Delimiter">{</span>
-<span id="L463" class="LineNr">463 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
-<span id="L464" class="LineNr">464 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L465" class="LineNr">465 </span>    <span class="PreProc">break-if-=</span>
-<span id="L466" class="LineNr">466 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
-<span id="L467" class="LineNr">467 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
-<span id="L468" class="LineNr">468 </span>    ycurr <span class="Special">&lt;-</span> increment
-<span id="L469" class="LineNr">469 </span>    compare ycurr, ymax
-<span id="L470" class="LineNr">470 </span>    <span class="Delimiter">{</span>
-<span id="L471" class="LineNr">471 </span>      <span class="PreProc">break-if-&lt;</span>
-<span id="L472" class="LineNr">472 </span>      xcurr <span class="Special">&lt;-</span> add <span class="Constant">2</span>
-<span id="L473" class="LineNr">473 </span>      ycurr <span class="Special">&lt;-</span> copy ymin
-<span id="L474" class="LineNr">474 </span>    <span class="Delimiter">}</span>
-<span id="L475" class="LineNr">475 </span>    <span class="PreProc">loop</span>
-<span id="L476" class="LineNr">476 </span>  <span class="Delimiter">}</span>
-<span id="L477" class="LineNr">477 </span>  <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
-<span id="L478" class="LineNr">478 </span>  <span class="PreProc">return</span> xcurr, ycurr
-<span id="L479" class="LineNr">479 </span><span class="Delimiter">}</span>
-<span id="L480" class="LineNr">480 </span>
-<span id="L481" class="LineNr">481 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L481'>draw-text-wrapping-down-then-right-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L482" class="LineNr">482 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L483" class="LineNr">483 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L484" class="LineNr">484 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>  <span class="muComment"># width, height</span>
-<span id="L485" class="LineNr">485 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L444'>draw-text-wrapping-down-then-right</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
-<span id="L486" class="LineNr">486 </span>  <span class="PreProc">return</span> x2, y2  <span class="muComment"># cursor-x, cursor-y</span>
-<span id="L487" class="LineNr">487 </span><span class="Delimiter">}</span>
-<span id="L488" class="LineNr">488 </span>
-<span id="L489" class="LineNr">489 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L489'>draw-text-wrapping-down-then-right-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L490" class="LineNr">490 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L491" class="LineNr">491 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L492" class="LineNr">492 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L230'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L493" class="LineNr">493 </span>  <span class="PreProc">var</span> end-y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-y
-<span id="L494" class="LineNr">494 </span>  end-y <span class="Special">&lt;-</span> increment
-<span id="L495" class="LineNr">495 </span>  compare end-y, ymax
-<span id="L496" class="LineNr">496 </span>  <span class="Delimiter">{</span>
-<span id="L497" class="LineNr">497 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L498" class="LineNr">498 </span>    cursor-x <span class="Special">&lt;-</span> increment
-<span id="L499" class="LineNr">499 </span>    cursor-y <span class="Special">&lt;-</span> copy ymin
-<span id="L500" class="LineNr">500 </span>  <span class="Delimiter">}</span>
-<span id="L501" class="LineNr">501 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L444'>draw-text-wrapping-down-then-right</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
-<span id="L502" class="LineNr">502 </span><span class="Delimiter">}</span>
-<span id="L503" class="LineNr">503 </span>
-<span id="L504" class="LineNr">504 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L504'>draw-text-wrapping-down-then-right-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), color: int, background-color: int <span class="Delimiter">{</span>
-<span id="L505" class="LineNr">505 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L506" class="LineNr">506 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L507" class="LineNr">507 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L508" class="LineNr">508 </span>  <a href='501draw-text.mu.html#L489'>draw-text-wrapping-down-then-right-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
-<span id="L509" class="LineNr">509 </span><span class="Delimiter">}</span>
+<span id="L401" class="LineNr">401 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L401'>draw-int32-decimal-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L402" class="LineNr">402 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
+<span id="L403" class="LineNr">403 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L404" class="LineNr">404 </span>  <a href='126write-int-decimal.subx.html#L8'>write-int32-decimal</a> stream, n
+<span id="L405" class="LineNr">405 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L406" class="LineNr">406 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L407" class="LineNr">407 </span>  <span class="Delimiter">{</span>
+<span id="L408" class="LineNr">408 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L409" class="LineNr">409 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L410" class="LineNr">410 </span>    <span class="PreProc">break-if-=</span>
+<span id="L411" class="LineNr">411 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L412" class="LineNr">412 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
+<span id="L413" class="LineNr">413 </span>    xcurr <span class="Special">&lt;-</span> add offset
+<span id="L414" class="LineNr">414 </span>    compare xcurr, xmax
+<span id="L415" class="LineNr">415 </span>    <span class="Delimiter">{</span>
+<span id="L416" class="LineNr">416 </span>      <span class="PreProc">break-if-&lt;</span>
+<span id="L417" class="LineNr">417 </span>      xcurr <span class="Special">&lt;-</span> copy xmin
+<span id="L418" class="LineNr">418 </span>      ycurr <span class="Special">&lt;-</span> increment
+<span id="L419" class="LineNr">419 </span>    <span class="Delimiter">}</span>
+<span id="L420" class="LineNr">420 </span>    <span class="PreProc">loop</span>
+<span id="L421" class="LineNr">421 </span>  <span class="Delimiter">}</span>
+<span id="L422" class="LineNr">422 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
+<span id="L423" class="LineNr">423 </span>  <span class="PreProc">return</span> xcurr, ycurr
+<span id="L424" class="LineNr">424 </span><span class="Delimiter">}</span>
+<span id="L425" class="LineNr">425 </span>
+<span id="L426" class="LineNr">426 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L427" class="LineNr">427 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L428" class="LineNr">428 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L429" class="LineNr">429 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>  <span class="muComment"># width, height</span>
+<span id="L430" class="LineNr">430 </span>  x2, y2 <span class="Special">&lt;-</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>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
+<span id="L431" class="LineNr">431 </span>  <span class="PreProc">return</span> x2, y2  <span class="muComment"># cursor-x, cursor-y</span>
+<span id="L432" class="LineNr">432 </span><span class="Delimiter">}</span>
+<span id="L433" class="LineNr">433 </span>
+<span id="L434" class="LineNr">434 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L434'>draw-int32-decimal-wrapping-right-then-down-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L435" class="LineNr">435 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L436" class="LineNr">436 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L437" class="LineNr">437 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L438" class="LineNr">438 </span>  <span class="PreProc">var</span> end-x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-x
+<span id="L439" class="LineNr">439 </span>  end-x <span class="Special">&lt;-</span> increment
+<span id="L440" class="LineNr">440 </span>  compare end-x, xmax
+<span id="L441" class="LineNr">441 </span>  <span class="Delimiter">{</span>
+<span id="L442" class="LineNr">442 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L443" class="LineNr">443 </span>    cursor-x <span class="Special">&lt;-</span> copy xmin
+<span id="L444" class="LineNr">444 </span>    cursor-y <span class="Special">&lt;-</span> increment
+<span id="L445" class="LineNr">445 </span>  <span class="Delimiter">}</span>
+<span id="L446" class="LineNr">446 </span>  cursor-x, cursor-y <span class="Special">&lt;-</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>, n, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
+<span id="L447" class="LineNr">447 </span><span class="Delimiter">}</span>
+<span id="L448" class="LineNr">448 </span>
+<span id="L449" class="LineNr">449 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), n: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L450" class="LineNr">450 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L451" class="LineNr">451 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L452" class="LineNr">452 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L453" class="LineNr">453 </span>  <a href='501draw-text.mu.html#L434'>draw-int32-decimal-wrapping-right-then-down-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, n, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
+<span id="L454" class="LineNr">454 </span><span class="Delimiter">}</span>
+<span id="L455" class="LineNr">455 </span>
+<span id="L456" class="LineNr">456 </span><span class="muComment">## Text direction: down then right</span>
+<span id="L457" class="LineNr">457 </span>
+<span id="L458" class="LineNr">458 </span><span class="muComment"># draw a single line of text vertically from x, y to ymax</span>
+<span id="L459" class="LineNr">459 </span><span class="muComment"># return the next 'y' coordinate</span>
+<span id="L460" class="LineNr">460 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L461" class="LineNr">461 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L461'>draw-text-downward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, ymax: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L462" class="LineNr">462 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
+<span id="L463" class="LineNr">463 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L464" class="LineNr">464 </span>  <a href='108write.subx.html#L11'>write</a> stream, text
+<span id="L465" class="LineNr">465 </span>  <span class="PreProc">var</span> ycurr/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L473'>draw-stream-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, x, y, ymax, color, background-color
+<span id="L466" class="LineNr">466 </span>  <span class="PreProc">return</span> ycurr
+<span id="L467" class="LineNr">467 </span><span class="Delimiter">}</span>
+<span id="L468" class="LineNr">468 </span>
+<span id="L469" class="LineNr">469 </span><span class="muComment"># draw a single-line stream vertically from x, y to ymax</span>
+<span id="L470" class="LineNr">470 </span><span class="muComment"># return the next 'y' coordinate</span>
+<span id="L471" class="LineNr">471 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L472" class="LineNr">472 </span><span class="muComment"># TODO: should we track horizontal width?</span>
+<span id="L473" class="LineNr">473 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L473'>draw-stream-downward</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), x: int, y: int, ymax: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L474" class="LineNr">474 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L475" class="LineNr">475 </span>  <span class="Delimiter">{</span>
+<span id="L476" class="LineNr">476 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L477" class="LineNr">477 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L478" class="LineNr">478 </span>    <span class="PreProc">break-if-=</span>
+<span id="L479" class="LineNr">479 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L480" class="LineNr">480 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, x, ycurr, color, background-color
+<span id="L481" class="LineNr">481 </span>    ycurr <span class="Special">&lt;-</span> increment
+<span id="L482" class="LineNr">482 </span>    <span class="PreProc">loop</span>
+<span id="L483" class="LineNr">483 </span>  <span class="Delimiter">}</span>
+<span id="L484" class="LineNr">484 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, ycurr
+<span id="L485" class="LineNr">485 </span>  <span class="PreProc">return</span> ycurr
+<span id="L486" class="LineNr">486 </span><span class="Delimiter">}</span>
+<span id="L487" class="LineNr">487 </span>
+<span id="L488" class="LineNr">488 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L488'>draw-text-downward-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L489" class="LineNr">489 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L490" class="LineNr">490 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L491" class="LineNr">491 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L492" class="LineNr">492 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L461'>draw-text-downward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, cursor-x, cursor-y, ymax, color, background-color
+<span id="L493" class="LineNr">493 </span><span class="Delimiter">}</span>
+<span id="L494" class="LineNr">494 </span>
+<span id="L495" class="LineNr">495 </span><span class="muComment"># draw text down and right in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
+<span id="L496" class="LineNr">496 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
+<span id="L497" class="LineNr">497 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
+<span id="L498" class="LineNr">498 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L499" class="LineNr">499 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L499'>draw-text-wrapping-down-then-right</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L500" class="LineNr">500 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
+<span id="L501" class="LineNr">501 </span>  <span class="PreProc">var</span> stream/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L502" class="LineNr">502 </span>  <a href='108write.subx.html#L11'>write</a> stream, text
+<span id="L503" class="LineNr">503 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy _x
+<span id="L504" class="LineNr">504 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
+<span id="L505" class="LineNr">505 </span>  x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L514'>draw-stream-wrapping-down-then-right</a> <a href='500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, x, y, color, background-color
+<span id="L506" class="LineNr">506 </span>  <span class="PreProc">return</span> x, y
+<span id="L507" class="LineNr">507 </span><span class="Delimiter">}</span>
+<span id="L508" class="LineNr">508 </span>
+<span id="L509" class="LineNr">509 </span><span class="muComment"># draw a stream down and right in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
+<span id="L510" class="LineNr">510 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
+<span id="L511" class="LineNr">511 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
+<span id="L512" class="LineNr">512 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L513" class="LineNr">513 </span><span class="muComment"># TODO: should we track horizontal width? just always offset by 2 for now</span>
+<span id="L514" class="LineNr">514 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L514'>draw-stream-wrapping-down-then-right</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L515" class="LineNr">515 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L516" class="LineNr">516 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L517" class="LineNr">517 </span>  <span class="Delimiter">{</span>
+<span id="L518" class="LineNr">518 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L519" class="LineNr">519 </span>    compare g, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L520" class="LineNr">520 </span>    <span class="PreProc">break-if-=</span>
+<span id="L521" class="LineNr">521 </span>    <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L522" class="LineNr">522 </span>    <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
+<span id="L523" class="LineNr">523 </span>    ycurr <span class="Special">&lt;-</span> increment
+<span id="L524" class="LineNr">524 </span>    compare ycurr, ymax
+<span id="L525" class="LineNr">525 </span>    <span class="Delimiter">{</span>
+<span id="L526" class="LineNr">526 </span>      <span class="PreProc">break-if-&lt;</span>
+<span id="L527" class="LineNr">527 </span>      xcurr <span class="Special">&lt;-</span> add <span class="Constant">2</span>
+<span id="L528" class="LineNr">528 </span>      ycurr <span class="Special">&lt;-</span> copy ymin
+<span id="L529" class="LineNr">529 </span>    <span class="Delimiter">}</span>
+<span id="L530" class="LineNr">530 </span>    <span class="PreProc">loop</span>
+<span id="L531" class="LineNr">531 </span>  <span class="Delimiter">}</span>
+<span id="L532" class="LineNr">532 </span>  <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
+<span id="L533" class="LineNr">533 </span>  <span class="PreProc">return</span> xcurr, ycurr
+<span id="L534" class="LineNr">534 </span><span class="Delimiter">}</span>
+<span id="L535" class="LineNr">535 </span>
+<span id="L536" class="LineNr">536 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L536'>draw-text-wrapping-down-then-right-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L537" class="LineNr">537 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L538" class="LineNr">538 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L539" class="LineNr">539 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>  <span class="muComment"># width, height</span>
+<span id="L540" class="LineNr">540 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L499'>draw-text-wrapping-down-then-right</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, x2, y2, x, y, color, background-color
+<span id="L541" class="LineNr">541 </span>  <span class="PreProc">return</span> x2, y2  <span class="muComment"># cursor-x, cursor-y</span>
+<span id="L542" class="LineNr">542 </span><span class="Delimiter">}</span>
+<span id="L543" class="LineNr">543 </span>
+<span id="L544" class="LineNr">544 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L544'>draw-text-wrapping-down-then-right-from-cursor</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L545" class="LineNr">545 </span>  <span class="PreProc">var</span> cursor-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L546" class="LineNr">546 </span>  <span class="PreProc">var</span> cursor-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L547" class="LineNr">547 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L251'>cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L548" class="LineNr">548 </span>  <span class="PreProc">var</span> end-y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy cursor-y
+<span id="L549" class="LineNr">549 </span>  end-y <span class="Special">&lt;-</span> increment
+<span id="L550" class="LineNr">550 </span>  compare end-y, ymax
+<span id="L551" class="LineNr">551 </span>  <span class="Delimiter">{</span>
+<span id="L552" class="LineNr">552 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L553" class="LineNr">553 </span>    cursor-x <span class="Special">&lt;-</span> increment
+<span id="L554" class="LineNr">554 </span>    cursor-y <span class="Special">&lt;-</span> copy ymin
+<span id="L555" class="LineNr">555 </span>  <span class="Delimiter">}</span>
+<span id="L556" class="LineNr">556 </span>  cursor-x, cursor-y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L499'>draw-text-wrapping-down-then-right</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, xmin, ymin, xmax, ymax, cursor-x, cursor-y, color, background-color
+<span id="L557" class="LineNr">557 </span><span class="Delimiter">}</span>
+<span id="L558" class="LineNr">558 </span>
+<span id="L559" class="LineNr">559 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L559'>draw-text-wrapping-down-then-right-from-cursor-over-full-screen</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), color: int, background-color: int <span class="Delimiter">{</span>
+<span id="L560" class="LineNr">560 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L561" class="LineNr">561 </span>  <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L562" class="LineNr">562 </span>  width, height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L563" class="LineNr">563 </span>  <a href='501draw-text.mu.html#L544'>draw-text-wrapping-down-then-right-from-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, width, height, color, background-color
+<span id="L564" class="LineNr">564 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>
diff --git a/html/502test.mu.html b/html/502test.mu.html
index 2570c56d..81f16953 100644
--- a/html/502test.mu.html
+++ b/html/502test.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 - 502test.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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -63,10 +63,10 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr"> 4 </span>  compare a, b
 <span id="L5" class="LineNr"> 5 </span>  <span class="Delimiter">{</span>
 <span id="L6" class="LineNr"> 6 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L7" class="LineNr"> 7 </span>    <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L7" class="LineNr"> 7 </span>    <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L8" class="LineNr"> 8 </span>    <span class="PreProc">return</span>
 <span id="L9" class="LineNr"> 9 </span>  <span class="Delimiter">}</span>
-<span id="L10" class="LineNr">10 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L10" class="LineNr">10 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L11" class="LineNr">11 </span>  <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L12" class="LineNr">12 </span>  <a href='104test.subx.html#L5'>count-test-failure</a>
 <span id="L13" class="LineNr">13 </span><span class="Delimiter">}</span>
@@ -80,10 +80,10 @@ if ('onhashchange' in window) {
 <span id="L21" class="LineNr">21 </span>  compare a, <span class="Constant">0</span>/false
 <span id="L22" class="LineNr">22 </span>  <span class="Delimiter">{</span>
 <span id="L23" class="LineNr">23 </span>    <span class="PreProc">break-if-=</span>
-<span id="L24" class="LineNr">24 </span>    <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L24" class="LineNr">24 </span>    <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L25" class="LineNr">25 </span>    <span class="PreProc">return</span>
 <span id="L26" class="LineNr">26 </span>  <span class="Delimiter">}</span>
-<span id="L27" class="LineNr">27 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L27" class="LineNr">27 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L28" class="LineNr">28 </span>  <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L29" class="LineNr">29 </span>  <a href='104test.subx.html#L5'>count-test-failure</a>
 <span id="L30" class="LineNr">30 </span><span class="Delimiter">}</span>
@@ -93,10 +93,10 @@ if ('onhashchange' in window) {
 <span id="L34" class="LineNr">34 </span>  compare a, <span class="Constant">0</span>/false
 <span id="L35" class="LineNr">35 </span>  <span class="Delimiter">{</span>
 <span id="L36" class="LineNr">36 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L37" class="LineNr">37 </span>    <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L37" class="LineNr">37 </span>    <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L38" class="LineNr">38 </span>    <span class="PreProc">return</span>
 <span id="L39" class="LineNr">39 </span>  <span class="Delimiter">}</span>
-<span id="L40" class="LineNr">40 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L40" class="LineNr">40 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L41" class="LineNr">41 </span>  <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L42" class="LineNr">42 </span>  <a href='104test.subx.html#L5'>count-test-failure</a>
 <span id="L43" class="LineNr">43 </span><span class="Delimiter">}</span>
diff --git a/html/503manhattan-line.mu.html b/html/503manhattan-line.mu.html
index 7dde0592..17394a65 100644
--- a/html/503manhattan-line.mu.html
+++ b/html/503manhattan-line.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 - 503manhattan-line.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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/504test-screen.mu.html b/html/504test-screen.mu.html
index 846177c5..6c1d225f 100644
--- a/html/504test-screen.mu.html
+++ b/html/504test-screen.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 - 504test-screen.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -75,7 +75,7 @@ if ('onhashchange' in window) {
 <span id="L11" class="LineNr"> 11 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L11'>check-screen-row-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
 <span id="L12" class="LineNr"> 12 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
 <span id="L13" class="LineNr"> 13 </span>  <span class="PreProc">var</span> failure-count/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L14" class="LineNr"> 14 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L14" class="LineNr"> 14 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
 <span id="L15" class="LineNr"> 15 </span>  <span class="muComment"># compare 'expected' with the screen contents starting at 'index', grapheme by grapheme</span>
 <span id="L16" class="LineNr"> 16 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L17" class="LineNr"> 17 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -85,10 +85,10 @@ if ('onhashchange' in window) {
 <span id="L21" class="LineNr"> 21 </span>    compare done?, <span class="Constant">0</span>
 <span id="L22" class="LineNr"> 22 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L23" class="LineNr"> 23 </span>    <span class="Delimiter">{</span>
-<span id="L24" class="LineNr"> 24 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L490'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L24" class="LineNr"> 24 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L25" class="LineNr"> 25 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L26" class="LineNr"> 26 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L27" class="LineNr"> 27 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L508'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L27" class="LineNr"> 27 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L28" class="LineNr"> 28 </span>      <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy _c
 <span id="L29" class="LineNr"> 29 </span>      <span class="PreProc">var</span> expected-grapheme/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L30" class="LineNr"> 30 </span>      <span class="PreProc">var</span> expected-code-point/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> expected-grapheme
@@ -106,16 +106,16 @@ if ('onhashchange' in window) {
 <span id="L42" class="LineNr"> 42 </span>        <span class="PreProc">break-if-=</span>
 <span id="L43" class="LineNr"> 43 </span>        <span class="muComment"># otherwise print an error</span>
 <span id="L44" class="LineNr"> 44 </span>        failure-count <span class="Special">&lt;-</span> increment
-<span id="L45" class="LineNr"> 45 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L46" class="LineNr"> 46 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L47" class="LineNr"> 47 </span>        <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L48" class="LineNr"> 48 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L49" class="LineNr"> 49 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L50" class="LineNr"> 50 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L51" class="LineNr"> 51 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L52" class="LineNr"> 52 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) but observed '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L53" class="LineNr"> 53 </span>        <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, c, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L54" class="LineNr"> 54 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;'&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L45" class="LineNr"> 45 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L46" class="LineNr"> 46 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L47" class="LineNr"> 47 </span>        <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L48" class="LineNr"> 48 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L49" class="LineNr"> 49 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L50" class="LineNr"> 50 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L51" class="LineNr"> 51 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L52" class="LineNr"> 52 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) but observed '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L53" class="LineNr"> 53 </span>        <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, c, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L54" class="LineNr"> 54 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;'&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L55" class="LineNr"> 55 </span>        <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L56" class="LineNr"> 56 </span>      <span class="Delimiter">}</span>
 <span id="L57" class="LineNr"> 57 </span>    <span class="Delimiter">}</span>
@@ -131,7 +131,7 @@ if ('onhashchange' in window) {
 <span id="L67" class="LineNr"> 67 </span>    <span class="PreProc">return</span>
 <span id="L68" class="LineNr"> 68 </span>  <span class="Delimiter">}</span>
 <span id="L69" class="LineNr"> 69 </span>  <span class="muComment"># otherwise print a &quot;.&quot;</span>
-<span id="L70" class="LineNr"> 70 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L70" class="LineNr"> 70 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L71" class="LineNr"> 71 </span><span class="Delimiter">}</span>
 <span id="L72" class="LineNr"> 72 </span>
 <span id="L73" class="LineNr"> 73 </span><span class="muComment"># various variants by screen-cell attribute; spaces in the 'expected' data should not match the attribute</span>
@@ -142,7 +142,7 @@ if ('onhashchange' in window) {
 <span id="L78" class="LineNr"> 78 </span>
 <span id="L79" class="LineNr"> 79 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L79'>check-screen-row-in-color-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), fg: int, y: int, x: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
 <span id="L80" class="LineNr"> 80 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L81" class="LineNr"> 81 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L81" class="LineNr"> 81 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
 <span id="L82" class="LineNr"> 82 </span>  <span class="muComment"># compare 'expected' with the screen contents starting at 'index', grapheme by grapheme</span>
 <span id="L83" class="LineNr"> 83 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L84" class="LineNr"> 84 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -152,10 +152,10 @@ if ('onhashchange' in window) {
 <span id="L88" class="LineNr"> 88 </span>    compare done?, <span class="Constant">0</span>
 <span id="L89" class="LineNr"> 89 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L90" class="LineNr"> 90 </span>    <span class="Delimiter">{</span>
-<span id="L91" class="LineNr"> 91 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L490'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L91" class="LineNr"> 91 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L92" class="LineNr"> 92 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L93" class="LineNr"> 93 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L94" class="LineNr"> 94 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L508'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L94" class="LineNr"> 94 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L95" class="LineNr"> 95 </span>      <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy _c
 <span id="L96" class="LineNr"> 96 </span>      <span class="PreProc">var</span> expected-grapheme/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L97" class="LineNr"> 97 </span>      <span class="PreProc">var</span> _expected-code-point/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> expected-grapheme
@@ -172,7 +172,7 @@ if ('onhashchange' in window) {
 <span id="L108" class="LineNr">108 </span>        <span class="Delimiter">{</span>
 <span id="L109" class="LineNr">109 </span>          compare expected-code-point, <span class="Constant">0x20</span>
 <span id="L110" class="LineNr">110 </span>          <span class="PreProc">break-if-!=</span>
-<span id="L111" class="LineNr">111 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L526'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L111" class="LineNr">111 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L547'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L112" class="LineNr">112 </span>          compare color, fg
 <span id="L113" class="LineNr">113 </span>          <span class="PreProc">break-if-!=</span> $check-screen-row-in-color-from:compare-cells
 <span id="L114" class="LineNr">114 </span>        <span class="Delimiter">}</span>
@@ -182,44 +182,44 @@ if ('onhashchange' in window) {
 <span id="L118" class="LineNr">118 </span>          compare c, expected-code-point
 <span id="L119" class="LineNr">119 </span>          <span class="Delimiter">{</span>
 <span id="L120" class="LineNr">120 </span>            <span class="PreProc">break-if-!=</span>
-<span id="L121" class="LineNr">121 </span>            <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L121" class="LineNr">121 </span>            <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L122" class="LineNr">122 </span>            <span class="PreProc">break</span> $check-screen-row-in-color-from:compare-graphemes
 <span id="L123" class="LineNr">123 </span>          <span class="Delimiter">}</span>
 <span id="L124" class="LineNr">124 </span>          <span class="muComment"># otherwise print an error</span>
 <span id="L125" class="LineNr">125 </span>          <a href='104test.subx.html#L5'>count-test-failure</a>
-<span id="L126" class="LineNr">126 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L127" class="LineNr">127 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L128" class="LineNr">128 </span>          <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L129" class="LineNr">129 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L130" class="LineNr">130 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L131" class="LineNr">131 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L132" class="LineNr">132 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L133" class="LineNr">133 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) but observed '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L134" class="LineNr">134 </span>          <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, c, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L135" class="LineNr">135 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;'&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L126" class="LineNr">126 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L127" class="LineNr">127 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L128" class="LineNr">128 </span>          <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L129" class="LineNr">129 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L130" class="LineNr">130 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L131" class="LineNr">131 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L132" class="LineNr">132 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L133" class="LineNr">133 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) but observed '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L134" class="LineNr">134 </span>          <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, c, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L135" class="LineNr">135 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;'&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L136" class="LineNr">136 </span>          <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L137" class="LineNr">137 </span>        <span class="Delimiter">}</span>
 <span id="L138" class="LineNr">138 </span>        $check-screen-row-in-color-from:compare-colors: <span class="Delimiter">{</span>
-<span id="L139" class="LineNr">139 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L526'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L139" class="LineNr">139 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L547'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L140" class="LineNr">140 </span>          compare fg, color
 <span id="L141" class="LineNr">141 </span>          <span class="Delimiter">{</span>
 <span id="L142" class="LineNr">142 </span>            <span class="PreProc">break-if-!=</span>
-<span id="L143" class="LineNr">143 </span>            <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L143" class="LineNr">143 </span>            <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L144" class="LineNr">144 </span>            <span class="PreProc">break</span> $check-screen-row-in-color-from:compare-colors
 <span id="L145" class="LineNr">145 </span>          <span class="Delimiter">}</span>
 <span id="L146" class="LineNr">146 </span>          <span class="muComment"># otherwise print an error</span>
 <span id="L147" class="LineNr">147 </span>          <a href='104test.subx.html#L5'>count-test-failure</a>
-<span id="L148" class="LineNr">148 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L149" class="LineNr">149 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L150" class="LineNr">150 </span>          <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L151" class="LineNr">151 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L152" class="LineNr">152 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L153" class="LineNr">153 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L154" class="LineNr">154 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L155" class="LineNr">155 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) in color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L156" class="LineNr">156 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, fg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L157" class="LineNr">157 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; but observed color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L158" class="LineNr">158 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, color, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L148" class="LineNr">148 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L149" class="LineNr">149 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L150" class="LineNr">150 </span>          <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L151" class="LineNr">151 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L152" class="LineNr">152 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L153" class="LineNr">153 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L154" class="LineNr">154 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L155" class="LineNr">155 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) in color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L156" class="LineNr">156 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, fg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L157" class="LineNr">157 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; but observed color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L158" class="LineNr">158 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, color, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L159" class="LineNr">159 </span>          <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L160" class="LineNr">160 </span>        <span class="Delimiter">}</span>
 <span id="L161" class="LineNr">161 </span>      <span class="Delimiter">}</span>
@@ -236,7 +236,7 @@ if ('onhashchange' in window) {
 <span id="L172" class="LineNr">172 </span>
 <span id="L173" class="LineNr">173 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L173'>check-screen-row-in-background-color-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), bg: int, y: int, x: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
 <span id="L174" class="LineNr">174 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L175" class="LineNr">175 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L175" class="LineNr">175 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
 <span id="L176" class="LineNr">176 </span>  <span class="muComment"># compare 'expected' with the screen contents starting at 'index', grapheme by grapheme</span>
 <span id="L177" class="LineNr">177 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L178" class="LineNr">178 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -246,10 +246,10 @@ if ('onhashchange' in window) {
 <span id="L182" class="LineNr">182 </span>    compare done?, <span class="Constant">0</span>
 <span id="L183" class="LineNr">183 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L184" class="LineNr">184 </span>    <span class="Delimiter">{</span>
-<span id="L185" class="LineNr">185 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L490'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L185" class="LineNr">185 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L186" class="LineNr">186 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L187" class="LineNr">187 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L188" class="LineNr">188 </span>      <span class="PreProc">var</span> _g/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L508'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L188" class="LineNr">188 </span>      <span class="PreProc">var</span> _g/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L189" class="LineNr">189 </span>      <span class="PreProc">var</span> g/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy _g
 <span id="L190" class="LineNr">190 </span>      <span class="PreProc">var</span> expected-grapheme/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L191" class="LineNr">191 </span>      <span class="PreProc">var</span> _expected-code-point/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> expected-grapheme
@@ -266,7 +266,7 @@ if ('onhashchange' in window) {
 <span id="L202" class="LineNr">202 </span>        <span class="Delimiter">{</span>
 <span id="L203" class="LineNr">203 </span>          compare expected-code-point, <span class="Constant">0x20</span>
 <span id="L204" class="LineNr">204 </span>          <span class="PreProc">break-if-!=</span>
-<span id="L205" class="LineNr">205 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L545'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L205" class="LineNr">205 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L206" class="LineNr">206 </span>          compare background-color, bg
 <span id="L207" class="LineNr">207 </span>          <span class="PreProc">break-if-!=</span> $check-screen-row-in-background-color-from:compare-cells
 <span id="L208" class="LineNr">208 </span>        <span class="Delimiter">}</span>
@@ -276,45 +276,45 @@ if ('onhashchange' in window) {
 <span id="L212" class="LineNr">212 </span>          compare g, expected-code-point
 <span id="L213" class="LineNr">213 </span>          <span class="Delimiter">{</span>
 <span id="L214" class="LineNr">214 </span>            <span class="PreProc">break-if-!=</span>
-<span id="L215" class="LineNr">215 </span>            <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L215" class="LineNr">215 </span>            <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L216" class="LineNr">216 </span>            <span class="PreProc">break</span> $check-screen-row-in-background-color-from:compare-graphemes
 <span id="L217" class="LineNr">217 </span>          <span class="Delimiter">}</span>
 <span id="L218" class="LineNr">218 </span>          <span class="muComment"># otherwise print an error</span>
 <span id="L219" class="LineNr">219 </span>          <a href='104test.subx.html#L5'>count-test-failure</a>
-<span id="L220" class="LineNr">220 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L221" class="LineNr">221 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L222" class="LineNr">222 </span>          <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L223" class="LineNr">223 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L224" class="LineNr">224 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L225" class="LineNr">225 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L226" class="LineNr">226 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L227" class="LineNr">227 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) but observed '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L228" class="LineNr">228 </span>          <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, g, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L229" class="LineNr">229 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;'&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L220" class="LineNr">220 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L221" class="LineNr">221 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L222" class="LineNr">222 </span>          <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L223" class="LineNr">223 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L224" class="LineNr">224 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L225" class="LineNr">225 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L226" class="LineNr">226 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L227" class="LineNr">227 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) but observed '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L228" class="LineNr">228 </span>          <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, g, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L229" class="LineNr">229 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;'&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L230" class="LineNr">230 </span>          <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L231" class="LineNr">231 </span>          <span class="PreProc">break</span> $check-screen-row-in-background-color-from:compare-graphemes
 <span id="L232" class="LineNr">232 </span>        <span class="Delimiter">}</span>
 <span id="L233" class="LineNr">233 </span>        $check-screen-row-in-background-color-from:compare-background-colors: <span class="Delimiter">{</span>
-<span id="L234" class="LineNr">234 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L545'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L234" class="LineNr">234 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L235" class="LineNr">235 </span>          compare bg, background-color
 <span id="L236" class="LineNr">236 </span>          <span class="Delimiter">{</span>
 <span id="L237" class="LineNr">237 </span>            <span class="PreProc">break-if-!=</span>
-<span id="L238" class="LineNr">238 </span>            <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L238" class="LineNr">238 </span>            <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L239" class="LineNr">239 </span>            <span class="PreProc">break</span> $check-screen-row-in-background-color-from:compare-background-colors
 <span id="L240" class="LineNr">240 </span>          <span class="Delimiter">}</span>
 <span id="L241" class="LineNr">241 </span>          <span class="muComment"># otherwise print an error</span>
 <span id="L242" class="LineNr">242 </span>          <a href='104test.subx.html#L5'>count-test-failure</a>
-<span id="L243" class="LineNr">243 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L244" class="LineNr">244 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L245" class="LineNr">245 </span>          <a href='501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
-<span id="L246" class="LineNr">246 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L247" class="LineNr">247 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L248" class="LineNr">248 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L249" class="LineNr">249 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L250" class="LineNr">250 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) in background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L251" class="LineNr">251 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, bg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L252" class="LineNr">252 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; but observed background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L253" class="LineNr">253 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, background-color, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L243" class="LineNr">243 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L244" class="LineNr">244 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected '&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L245" class="LineNr">245 </span>          <a href='501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, expected-code-point, <span class="Constant">3</span>/cyan, <span class="Constant">0</span>/bg
+<span id="L246" class="LineNr">246 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;' at (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L247" class="LineNr">247 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L248" class="LineNr">248 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L249" class="LineNr">249 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L250" class="LineNr">250 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) in background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L251" class="LineNr">251 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, bg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L252" class="LineNr">252 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; but observed background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L253" class="LineNr">253 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, background-color, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L254" class="LineNr">254 </span>          <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L255" class="LineNr">255 </span>        <span class="Delimiter">}</span>
 <span id="L256" class="LineNr">256 </span>      <span class="Delimiter">}</span>
@@ -335,7 +335,7 @@ if ('onhashchange' in window) {
 <span id="L271" class="LineNr">271 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L271'>check-background-color-in-screen-row-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), bg: int, y: int, x: int, expected-bitmap: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
 <span id="L272" class="LineNr">272 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
 <span id="L273" class="LineNr">273 </span>  <span class="PreProc">var</span> failure-count: int
-<span id="L274" class="LineNr">274 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L221'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L274" class="LineNr">274 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
 <span id="L275" class="LineNr">275 </span>  <span class="muComment"># compare background color where 'expected-bitmap' is a non-space</span>
 <span id="L276" class="LineNr">276 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L277" class="LineNr">277 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -345,13 +345,13 @@ if ('onhashchange' in window) {
 <span id="L281" class="LineNr">281 </span>    compare done?, <span class="Constant">0</span>
 <span id="L282" class="LineNr">282 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L283" class="LineNr">283 </span>    <span class="Delimiter">{</span>
-<span id="L284" class="LineNr">284 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L490'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L284" class="LineNr">284 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L285" class="LineNr">285 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L286" class="LineNr">286 </span>      <span class="PreProc">break-if-!=</span>
 <span id="L287" class="LineNr">287 </span>      <span class="PreProc">var</span> _expected-bit/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L288" class="LineNr">288 </span>      <span class="PreProc">var</span> expected-bit/<span class="muRegEdi">edi</span>: grapheme <span class="Special">&lt;-</span> copy _expected-bit
 <span id="L289" class="LineNr">289 </span>      $check-background-color-in-screen-row-from:compare-cells: <span class="Delimiter">{</span>
-<span id="L290" class="LineNr">290 </span>        <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L545'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L290" class="LineNr">290 </span>        <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
 <span id="L291" class="LineNr">291 </span>        <span class="muComment"># if expected-bit is space, assert that background is NOT bg</span>
 <span id="L292" class="LineNr">292 </span>        compare expected-bit, <span class="Constant">0x20</span>
 <span id="L293" class="LineNr">293 </span>        <span class="Delimiter">{</span>
@@ -359,13 +359,13 @@ if ('onhashchange' in window) {
 <span id="L295" class="LineNr">295 </span>          compare background-color, bg
 <span id="L296" class="LineNr">296 </span>          <span class="PreProc">break-if-!=</span> $check-background-color-in-screen-row-from:compare-cells
 <span id="L297" class="LineNr">297 </span>          increment failure-count
-<span id="L298" class="LineNr">298 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L299" class="LineNr">299 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L300" class="LineNr">300 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L301" class="LineNr">301 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L302" class="LineNr">302 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L303" class="LineNr">303 </span>          <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) to not be in background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L304" class="LineNr">304 </span>          <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, bg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L298" class="LineNr">298 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L299" class="LineNr">299 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L300" class="LineNr">300 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L301" class="LineNr">301 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L302" class="LineNr">302 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L303" class="LineNr">303 </span>          <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) to not be in background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L304" class="LineNr">304 </span>          <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, bg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L305" class="LineNr">305 </span>          <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L306" class="LineNr">306 </span>          <span class="PreProc">break</span> $check-background-color-in-screen-row-from:compare-cells
 <span id="L307" class="LineNr">307 </span>        <span class="Delimiter">}</span>
@@ -373,15 +373,15 @@ if ('onhashchange' in window) {
 <span id="L309" class="LineNr">309 </span>        compare background-color, bg
 <span id="L310" class="LineNr">310 </span>        <span class="PreProc">break-if-=</span> $check-background-color-in-screen-row-from:compare-cells
 <span id="L311" class="LineNr">311 </span>        increment failure-count
-<span id="L312" class="LineNr">312 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L313" class="LineNr">313 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L314" class="LineNr">314 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L315" class="LineNr">315 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L316" class="LineNr">316 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L317" class="LineNr">317 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) in background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L318" class="LineNr">318 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, bg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L319" class="LineNr">319 </span>        <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; but observed background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
-<span id="L320" class="LineNr">320 </span>        <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, background-color, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L312" class="LineNr">312 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, msg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L313" class="LineNr">313 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: expected (&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L314" class="LineNr">314 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, x, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L315" class="LineNr">315 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;, &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L316" class="LineNr">316 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L317" class="LineNr">317 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;) in background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L318" class="LineNr">318 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, bg, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L319" class="LineNr">319 </span>        <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; but observed background-color &quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L320" class="LineNr">320 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, background-color, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L321" class="LineNr">321 </span>        <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L322" class="LineNr">322 </span>      <span class="Delimiter">}</span>
 <span id="L323" class="LineNr">323 </span>    <span class="Delimiter">}</span>
@@ -397,7 +397,7 @@ if ('onhashchange' in window) {
 <span id="L333" class="LineNr">333 </span>    <span class="PreProc">return</span>
 <span id="L334" class="LineNr">334 </span>  <span class="Delimiter">}</span>
 <span id="L335" class="LineNr">335 </span>  <span class="muComment"># otherwise print a &quot;.&quot;</span>
-<span id="L336" class="LineNr">336 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L336" class="LineNr">336 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L337" class="LineNr">337 </span><span class="Delimiter">}</span>
 <span id="L338" class="LineNr">338 </span>
 <span id="L339" class="LineNr">339 </span><span class="PreProc">fn</span> <span class="muTest"><a href='504test-screen.mu.html#L339'>test-draw-single-grapheme</a></span> <span class="Delimiter">{</span>
@@ -415,7 +415,7 @@ if ('onhashchange' in window) {
 <span id="L351" class="LineNr">351 </span>  <span class="PreProc">var</span> _screen: <a href='500fake-screen.mu.html#L14'>screen</a>
 <span id="L352" class="LineNr">352 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address _screen
 <span id="L353" class="LineNr">353 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/rows, <span class="Constant">4</span>/cols, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L354" class="LineNr">354 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">1</span>/fg, <span class="Constant">2</span>/bg
+<span id="L354" class="LineNr">354 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">1</span>/fg, <span class="Constant">2</span>/bg
 <span id="L355" class="LineNr">355 </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">&quot;Hello, 世界&quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes&quot;</span>
 <span id="L356" class="LineNr">356 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/fg, <span class="Constant">0</span>/y, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes-fg&quot;</span>
 <span id="L357" class="LineNr">357 </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">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;xxxxxxxxx &quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes-bg2&quot;</span>
diff --git a/html/505colors.mu.html b/html/505colors.mu.html
index dd09834b..2e6747b7 100644
--- a/html/505colors.mu.html
+++ b/html/505colors.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 - 505colors.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 */
diff --git a/html/506math.mu.html b/html/506math.mu.html
index 76390e16..ad950db6 100644
--- a/html/506math.mu.html
+++ b/html/506math.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 - 506math.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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/507line.mu.html b/html/507line.mu.html
index 2af24113..b591de21 100644
--- a/html/507line.mu.html
+++ b/html/507line.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 - 507line.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; }
@@ -27,7 +27,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -90,7 +90,7 @@ if ('onhashchange' in window) {
 <span id="L29" class="LineNr"> 29 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x0
 <span id="L30" class="LineNr"> 30 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y0
 <span id="L31" class="LineNr"> 31 </span>  $draw-line:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
-<span id="L32" class="LineNr"> 32 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L32" class="LineNr"> 32 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L33" class="LineNr"> 33 </span>    <span class="muComment"># if (x == x1 &amp;&amp; y == y1) break</span>
 <span id="L34" class="LineNr"> 34 </span>    <span class="Delimiter">{</span>
 <span id="L35" class="LineNr"> 35 </span>      compare x, x1
@@ -127,7 +127,7 @@ if ('onhashchange' in window) {
 <span id="L66" class="LineNr"> 66 </span>  <span class="Delimiter">{</span>
 <span id="L67" class="LineNr"> 67 </span>    compare x, x1
 <span id="L68" class="LineNr"> 68 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L69" class="LineNr"> 69 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L69" class="LineNr"> 69 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L70" class="LineNr"> 70 </span>    x <span class="Special">&lt;-</span> increment
 <span id="L71" class="LineNr"> 71 </span>    <span class="PreProc">loop</span>
 <span id="L72" class="LineNr"> 72 </span>  <span class="Delimiter">}</span>
@@ -138,7 +138,7 @@ if ('onhashchange' in window) {
 <span id="L77" class="LineNr"> 77 </span>  <span class="Delimiter">{</span>
 <span id="L78" class="LineNr"> 78 </span>    compare y, y1
 <span id="L79" class="LineNr"> 79 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L80" class="LineNr"> 80 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L80" class="LineNr"> 80 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L81" class="LineNr"> 81 </span>    y <span class="Special">&lt;-</span> increment
 <span id="L82" class="LineNr"> 82 </span>    <span class="PreProc">loop</span>
 <span id="L83" class="LineNr"> 83 </span>  <span class="Delimiter">}</span>
diff --git a/html/508circle.mu.html b/html/508circle.mu.html
index 88951736..53e853bb 100644
--- a/html/508circle.mu.html
+++ b/html/508circle.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 - 508circle.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -81,25 +81,25 @@ if ('onhashchange' in window) {
 <span id="L21" class="LineNr">21 </span>    tmpx <span class="Special">&lt;-</span> subtract x
 <span id="L22" class="LineNr">22 </span>    tmpy <span class="Special">&lt;-</span> copy cy
 <span id="L23" class="LineNr">23 </span>    tmpy <span class="Special">&lt;-</span> add y
-<span id="L24" class="LineNr">24 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
+<span id="L24" class="LineNr">24 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
 <span id="L25" class="LineNr">25 </span>    <span class="muComment"># pixel(cx-y, cy-x)</span>
 <span id="L26" class="LineNr">26 </span>    tmpx <span class="Special">&lt;-</span> copy cx
 <span id="L27" class="LineNr">27 </span>    tmpx <span class="Special">&lt;-</span> subtract y
 <span id="L28" class="LineNr">28 </span>    tmpy <span class="Special">&lt;-</span> copy cy
 <span id="L29" class="LineNr">29 </span>    tmpy <span class="Special">&lt;-</span> subtract x
-<span id="L30" class="LineNr">30 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
+<span id="L30" class="LineNr">30 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
 <span id="L31" class="LineNr">31 </span>    <span class="muComment"># pixel(cx+x, cy-y)</span>
 <span id="L32" class="LineNr">32 </span>    tmpx <span class="Special">&lt;-</span> copy cx
 <span id="L33" class="LineNr">33 </span>    tmpx <span class="Special">&lt;-</span> add x
 <span id="L34" class="LineNr">34 </span>    tmpy <span class="Special">&lt;-</span> copy cy
 <span id="L35" class="LineNr">35 </span>    tmpy <span class="Special">&lt;-</span> subtract y
-<span id="L36" class="LineNr">36 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
+<span id="L36" class="LineNr">36 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
 <span id="L37" class="LineNr">37 </span>    <span class="muComment"># pixel(cx+y, cy+x)</span>
 <span id="L38" class="LineNr">38 </span>    tmpx <span class="Special">&lt;-</span> copy cx
 <span id="L39" class="LineNr">39 </span>    tmpx <span class="Special">&lt;-</span> add y
 <span id="L40" class="LineNr">40 </span>    tmpy <span class="Special">&lt;-</span> copy cy
 <span id="L41" class="LineNr">41 </span>    tmpy <span class="Special">&lt;-</span> add x
-<span id="L42" class="LineNr">42 </span>    <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
+<span id="L42" class="LineNr">42 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color
 <span id="L43" class="LineNr">43 </span>    <span class="muComment"># r = err</span>
 <span id="L44" class="LineNr">44 </span>    tmp <span class="Special">&lt;-</span> copy err
 <span id="L45" class="LineNr">45 </span>    copy-to radius, tmp
diff --git a/html/509bezier.mu.html b/html/509bezier.mu.html
index 46519da1..274f2211 100644
--- a/html/509bezier.mu.html
+++ b/html/509bezier.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 - 509bezier.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; }
@@ -27,7 +27,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -296,7 +296,7 @@ if ('onhashchange' in window) {
 <span id="L235" class="LineNr">235 </span>    err-f <span class="Special">&lt;-</span> add xy-f
 <span id="L236" class="LineNr">236 </span>    <span class="muComment">#</span>
 <span id="L237" class="LineNr">237 </span>    $draw-monotonic-bezier:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
-<span id="L238" class="LineNr">238 </span>      <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L238" class="LineNr">238 </span>      <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L239" class="LineNr">239 </span>      <span class="muComment"># if (x == x2 &amp;&amp; y == y2) return</span>
 <span id="L240" class="LineNr">240 </span>      <span class="Delimiter">{</span>
 <span id="L241" class="LineNr">241 </span>        compare x, x2
diff --git a/html/510disk.mu.html b/html/510disk.mu.html
index 12e772b2..91664f94 100644
--- a/html/510disk.mu.html
+++ b/html/510disk.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 - 510disk.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/511image.mu.html b/html/511image.mu.html
index 6ef5f499..5593195b 100644
--- a/html/511image.mu.html
+++ b/html/511image.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 - 511image.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 */
@@ -235,10 +235,10 @@ if ('onhashchange' in window) {
 <span id="L170" class="LineNr"> 170 </span>      compare idx, len
 <span id="L171" class="LineNr"> 171 </span>      <span class="Delimiter">{</span>
 <span id="L172" class="LineNr"> 172 </span>        <span class="PreProc">break-if-&lt;</span>
-<span id="L173" class="LineNr"> 173 </span>        <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
-<span id="L174" class="LineNr"> 174 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L175" class="LineNr"> 175 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
-<span id="L176" class="LineNr"> 176 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
+<span id="L173" class="LineNr"> 173 </span>        <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
+<span id="L174" class="LineNr"> 174 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L175" class="LineNr"> 175 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
+<span id="L176" class="LineNr"> 176 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
 <span id="L177" class="LineNr"> 177 </span>      <span class="Delimiter">}</span>
 <span id="L178" class="LineNr"> 178 </span>      <span class="PreProc">var</span> src-a/eax: (addr byte) <span class="Special">&lt;-</span> index img-data, idx
 <span id="L179" class="LineNr"> 179 </span>      <span class="PreProc">var</span> src/eax: byte <span class="Special">&lt;-</span> copy-byte *src-a
@@ -252,7 +252,7 @@ if ('onhashchange' in window) {
 <span id="L187" class="LineNr"> 187 </span>      screenx <span class="Special">&lt;-</span> add xmin
 <span id="L188" class="LineNr"> 188 </span>      <span class="PreProc">var</span> screeny/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> convert y
 <span id="L189" class="LineNr"> 189 </span>      screeny <span class="Special">&lt;-</span> add ymin
-<span id="L190" class="LineNr"> 190 </span>      <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color-int
+<span id="L190" class="LineNr"> 190 </span>      <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color-int
 <span id="L191" class="LineNr"> 191 </span>      x <span class="Special">&lt;-</span> add one-f
 <span id="L192" class="LineNr"> 192 </span>      <span class="PreProc">loop</span>
 <span id="L193" class="LineNr"> 193 </span>    <span class="Delimiter">}</span>
@@ -279,7 +279,7 @@ if ('onhashchange' in window) {
 <span id="L214" class="LineNr"> 214 </span>    tmp <span class="Special">&lt;-</span> <a href='311decimal-int.subx.html#L4'>parse-decimal-int-from-slice</a> curr-word
 <span id="L215" class="LineNr"> 215 </span>    compare tmp, <span class="Constant">0xff</span>
 <span id="L216" class="LineNr"> 216 </span>    <span class="PreProc">break-if-=</span>
-<span id="L217" class="LineNr"> 217 </span>    <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;levels of grey is not 255; continuing and hoping for the best&quot;</span>, <span class="Constant">0x2b</span>/fg <span class="Constant">0</span>/bg
+<span id="L217" class="LineNr"> 217 </span>    <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;levels of grey is not 255; continuing and hoping for the best&quot;</span>, <span class="Constant">0x2b</span>/fg <span class="Constant">0</span>/bg
 <span id="L218" class="LineNr"> 218 </span>  <span class="Delimiter">}</span>
 <span id="L219" class="LineNr"> 219 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get self, max
 <span id="L220" class="LineNr"> 220 </span>  copy-to *dest, tmp
@@ -357,10 +357,10 @@ if ('onhashchange' in window) {
 <span id="L292" class="LineNr"> 292 </span>      compare idx, len
 <span id="L293" class="LineNr"> 293 </span>      <span class="Delimiter">{</span>
 <span id="L294" class="LineNr"> 294 </span>        <span class="PreProc">break-if-&lt;</span>
-<span id="L295" class="LineNr"> 295 </span>        <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
-<span id="L296" class="LineNr"> 296 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L297" class="LineNr"> 297 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
-<span id="L298" class="LineNr"> 298 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
+<span id="L295" class="LineNr"> 295 </span>        <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
+<span id="L296" class="LineNr"> 296 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L297" class="LineNr"> 297 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
+<span id="L298" class="LineNr"> 298 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
 <span id="L299" class="LineNr"> 299 </span>      <span class="Delimiter">}</span>
 <span id="L300" class="LineNr"> 300 </span>      <span class="PreProc">var</span> src-a/eax: (addr byte) <span class="Special">&lt;-</span> index img-data, idx
 <span id="L301" class="LineNr"> 301 </span>      <span class="PreProc">var</span> src/eax: byte <span class="Special">&lt;-</span> copy-byte *src-a
@@ -369,7 +369,7 @@ if ('onhashchange' in window) {
 <span id="L304" class="LineNr"> 304 </span>      screenx <span class="Special">&lt;-</span> add xmin
 <span id="L305" class="LineNr"> 305 </span>      <span class="PreProc">var</span> screeny/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> convert y
 <span id="L306" class="LineNr"> 306 </span>      screeny <span class="Special">&lt;-</span> add ymin
-<span id="L307" class="LineNr"> 307 </span>      <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color-int
+<span id="L307" class="LineNr"> 307 </span>      <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color-int
 <span id="L308" class="LineNr"> 308 </span>      x <span class="Special">&lt;-</span> add one-f
 <span id="L309" class="LineNr"> 309 </span>      <span class="PreProc">loop</span>
 <span id="L310" class="LineNr"> 310 </span>    <span class="Delimiter">}</span>
@@ -718,8 +718,8 @@ if ('onhashchange' in window) {
 <span id="L653" class="LineNr"> 653 </span><span class="CommentedCode">#?     break-if-&lt;=</span>
 <span id="L654" class="LineNr"> 654 </span><span class="CommentedCode">#?     return</span>
 <span id="L655" class="LineNr"> 655 </span><span class="CommentedCode">#?   }</span>
-<span id="L656" class="LineNr"> 656 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, s, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L657" class="LineNr"> 657 </span>  <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, d, fg <span class="Constant">0</span>/bg
+<span id="L656" class="LineNr"> 656 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, s, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L657" class="LineNr"> 657 </span>  <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, d, fg <span class="Constant">0</span>/bg
 <span id="L658" class="LineNr"> 658 </span><span class="Delimiter">}</span>
 <span id="L659" class="LineNr"> 659 </span>
 <span id="L660" class="LineNr"> 660 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='511image.mu.html#L660'>psx</a></span> s: (addr array byte), d: int, fg: int, x: int, y: int <span class="Delimiter">{</span>
@@ -743,8 +743,8 @@ if ('onhashchange' in window) {
 <span id="L678" class="LineNr"> 678 </span><span class="CommentedCode">#?     break-if-&lt;=</span>
 <span id="L679" class="LineNr"> 679 </span><span class="CommentedCode">#?     return</span>
 <span id="L680" class="LineNr"> 680 </span><span class="CommentedCode">#?   }</span>
-<span id="L681" class="LineNr"> 681 </span>  <a href='501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, s, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L682" class="LineNr"> 682 </span>  <a href='501draw-text.mu.html#L339'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, d, fg <span class="Constant">0</span>/bg
+<span id="L681" class="LineNr"> 681 </span>  <a href='501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, s, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L682" class="LineNr"> 682 </span>  <a href='501draw-text.mu.html#L394'>draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, d, fg <span class="Constant">0</span>/bg
 <span id="L683" class="LineNr"> 683 </span><span class="Delimiter">}</span>
 <span id="L684" class="LineNr"> 684 </span>
 <span id="L685" class="LineNr"> 685 </span><span class="muComment"># import a color ascii &quot;pixmap&quot; (each pixel consists of 3 shades of r/g/b from 0 to 255)</span>
@@ -854,10 +854,10 @@ if ('onhashchange' in window) {
 <span id="L789" class="LineNr"> 789 </span>      compare idx, len
 <span id="L790" class="LineNr"> 790 </span>      <span class="Delimiter">{</span>
 <span id="L791" class="LineNr"> 791 </span>        <span class="PreProc">break-if-&lt;</span>
-<span id="L792" class="LineNr"> 792 </span>        <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
-<span id="L793" class="LineNr"> 793 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L794" class="LineNr"> 794 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
-<span id="L795" class="LineNr"> 795 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
+<span id="L792" class="LineNr"> 792 </span>        <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
+<span id="L793" class="LineNr"> 793 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L794" class="LineNr"> 794 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
+<span id="L795" class="LineNr"> 795 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
 <span id="L796" class="LineNr"> 796 </span>      <span class="Delimiter">}</span>
 <span id="L797" class="LineNr"> 797 </span>      <span class="muComment"># r channel</span>
 <span id="L798" class="LineNr"> 798 </span>      <span class="PreProc">var</span> r: int
@@ -889,7 +889,7 @@ if ('onhashchange' in window) {
 <span id="L824" class="LineNr"> 824 </span>      screenx <span class="Special">&lt;-</span> add xmin
 <span id="L825" class="LineNr"> 825 </span>      <span class="PreProc">var</span> screeny/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> convert y
 <span id="L826" class="LineNr"> 826 </span>      screeny <span class="Special">&lt;-</span> add ymin
-<span id="L827" class="LineNr"> 827 </span>      <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color
+<span id="L827" class="LineNr"> 827 </span>      <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color
 <span id="L828" class="LineNr"> 828 </span>      x <span class="Special">&lt;-</span> add one-f
 <span id="L829" class="LineNr"> 829 </span>      <span class="PreProc">loop</span>
 <span id="L830" class="LineNr"> 830 </span>    <span class="Delimiter">}</span>
@@ -1143,10 +1143,10 @@ if ('onhashchange' in window) {
 <span id="L1078" class="LineNr">1078 </span>      compare idx, len
 <span id="L1079" class="LineNr">1079 </span>      <span class="Delimiter">{</span>
 <span id="L1080" class="LineNr">1080 </span>        <span class="PreProc">break-if-&lt;</span>
-<span id="L1081" class="LineNr">1081 </span>        <a href='500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
-<span id="L1082" class="LineNr">1082 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L1083" class="LineNr">1083 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
-<span id="L1084" class="LineNr">1084 </span>        <a href='501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
+<span id="L1081" class="LineNr">1081 </span>        <a href='500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0x20</span>/y
+<span id="L1082" class="LineNr">1082 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L1083" class="LineNr">1083 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, imgy, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
+<span id="L1084" class="LineNr">1084 </span>        <a href='501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, idx, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
 <span id="L1085" class="LineNr">1085 </span>      <span class="Delimiter">}</span>
 <span id="L1086" class="LineNr">1086 </span>      <span class="PreProc">var</span> color-a/eax: (addr byte) <span class="Special">&lt;-</span> index img-data, idx
 <span id="L1087" class="LineNr">1087 </span>      <span class="PreProc">var</span> color/eax: byte <span class="Special">&lt;-</span> copy-byte *color-a
@@ -1155,7 +1155,7 @@ if ('onhashchange' in window) {
 <span id="L1090" class="LineNr">1090 </span>      screenx <span class="Special">&lt;-</span> add xmin
 <span id="L1091" class="LineNr">1091 </span>      <span class="PreProc">var</span> screeny/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> convert y
 <span id="L1092" class="LineNr">1092 </span>      screeny <span class="Special">&lt;-</span> add ymin
-<span id="L1093" class="LineNr">1093 </span>      <a href='500fake-screen.mu.html#L557'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color-int
+<span id="L1093" class="LineNr">1093 </span>      <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, screenx, screeny, color-int
 <span id="L1094" class="LineNr">1094 </span>      x <span class="Special">&lt;-</span> add one-f
 <span id="L1095" class="LineNr">1095 </span>      <span class="PreProc">loop</span>
 <span id="L1096" class="LineNr">1096 </span>    <span class="Delimiter">}</span>
diff --git a/html/512array.mu.html b/html/512array.mu.html
index b8846bd3..4a4bcdf3 100644
--- a/html/512array.mu.html
+++ b/html/512array.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 - 512array.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/513grapheme-stack.mu.html b/html/513grapheme-stack.mu.html
index 6414c369..f60e7703 100644
--- a/html/513grapheme-stack.mu.html
+++ b/html/513grapheme-stack.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 - 513grapheme-stack.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -148,9 +148,9 @@ if ('onhashchange' in window) {
 <span id="L84" class="LineNr"> 84 </span><span class="muComment"># dump stack to screen from bottom to top</span>
 <span id="L85" class="LineNr"> 85 </span><span class="muComment"># hardcoded colors:</span>
 <span id="L86" class="LineNr"> 86 </span><span class="muComment">#   matching paren</span>
-<span id="L87" class="LineNr"> 87 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L87" class="LineNr"> 87 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
 <span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> matching-open-paren-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L449'>get-matching-open-paren-index</a> self, <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, open-paren-depth
+<span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> matching-open-paren-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L449'>get-matching-open-paren-index</a> self, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth
 <span id="L90" class="LineNr"> 90 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
 <span id="L91" class="LineNr"> 91 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
 <span id="L92" class="LineNr"> 92 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
@@ -178,7 +178,7 @@ if ('onhashchange' in window) {
 <span id="L114" class="LineNr">114 </span>        <span class="PreProc">break-if-!=</span>
 <span id="L115" class="LineNr">115 </span>        copy-to fg, <span class="Constant">0xf</span>/highlight
 <span id="L116" class="LineNr">116 </span>      <span class="Delimiter">}</span>
-<span id="L117" class="LineNr">117 </span>      x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L155'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color
+<span id="L117" class="LineNr">117 </span>      x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color  <span class="muComment"># TODO: handle combining characters</span>
 <span id="L118" class="LineNr">118 </span>    <span class="Delimiter">}</span>
 <span id="L119" class="LineNr">119 </span>    i <span class="Special">&lt;-</span> increment
 <span id="L120" class="LineNr">120 </span>    <span class="PreProc">loop</span>
@@ -187,7 +187,7 @@ if ('onhashchange' in window) {
 <span id="L123" class="LineNr">123 </span><span class="Delimiter">}</span>
 <span id="L124" class="LineNr">124 </span>
 <span id="L125" class="LineNr">125 </span><span class="muComment"># helper for small words</span>
-<span id="L126" class="LineNr">126 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), x: int, y: int, <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L126" class="LineNr">126 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), x: int, y: int, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
 <span id="L127" class="LineNr">127 </span>  <span class="PreProc">var</span> _width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L128" class="LineNr">128 </span>  <span class="PreProc">var</span> _height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L129" class="LineNr">129 </span>  _width, _height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
@@ -195,7 +195,7 @@ if ('onhashchange' in window) {
 <span id="L131" class="LineNr">131 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _height
 <span id="L132" class="LineNr">132 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L133" class="LineNr">133 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L134" class="LineNr">134 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, self, x, y, width, height, x, y, <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, open-paren-depth, <span class="Constant">3</span>/fg=cyan, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L134" class="LineNr">134 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, self, x, y, width, height, x, y, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth, <span class="Constant">3</span>/fg=cyan, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L135" class="LineNr">135 </span>  <span class="PreProc">return</span> x2  <span class="muComment"># y2? yolo</span>
 <span id="L136" class="LineNr">136 </span><span class="Delimiter">}</span>
 <span id="L137" class="LineNr">137 </span>
@@ -227,7 +227,7 @@ if ('onhashchange' in window) {
 <span id="L163" class="LineNr">163 </span>      <span class="PreProc">var</span> tmp/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> *g
 <span id="L164" class="LineNr">164 </span>      copy-to c, tmp
 <span id="L165" class="LineNr">165 </span>    <span class="Delimiter">}</span>
-<span id="L166" class="LineNr">166 </span>    x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L155'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, background-color, color
+<span id="L166" class="LineNr">166 </span>    x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, background-color, color
 <span id="L167" class="LineNr">167 </span>    i <span class="Special">&lt;-</span> decrement
 <span id="L168" class="LineNr">168 </span>  <span class="Delimiter">}</span>
 <span id="L169" class="LineNr">169 </span>  <span class="muComment"># remaining iterations</span>
@@ -252,7 +252,7 @@ if ('onhashchange' in window) {
 <span id="L188" class="LineNr">188 </span>      <span class="PreProc">var</span> tmp/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> *g
 <span id="L189" class="LineNr">189 </span>      copy-to c, tmp
 <span id="L190" class="LineNr">190 </span>    <span class="Delimiter">}</span>
-<span id="L191" class="LineNr">191 </span>    x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L155'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color
+<span id="L191" class="LineNr">191 </span>    x, y <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color
 <span id="L192" class="LineNr">192 </span>    i <span class="Special">&lt;-</span> decrement
 <span id="L193" class="LineNr">193 </span>    <span class="PreProc">loop</span>
 <span id="L194" class="LineNr">194 </span>  <span class="Delimiter">}</span>
diff --git a/html/514gap-buffer.mu.html b/html/514gap-buffer.mu.html
index 2b43dbb2..31266745 100644
--- a/html/514gap-buffer.mu.html
+++ b/html/514gap-buffer.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 - 514gap-buffer.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -113,1425 +113,1424 @@ if ('onhashchange' in window) {
 <span id="L49" class="LineNr">  49 </span>  <span class="PreProc">return</span> result
 <span id="L50" class="LineNr">  50 </span><span class="Delimiter">}</span>
 <span id="L51" class="LineNr">  51 </span>
-<span id="L52" class="LineNr">  52 </span><span class="muComment"># just for tests</span>
-<span id="L53" class="LineNr">  53 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), keys: (addr array byte) <span class="Delimiter">{</span>
-<span id="L54" class="LineNr">  54 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> self, <span class="Constant">0x40</span>/capacity
-<span id="L55" class="LineNr">  55 </span>  <span class="PreProc">var</span> input-stream-storage: (stream byte <span class="Constant">0x40</span>/capacity)
-<span id="L56" class="LineNr">  56 </span>  <span class="PreProc">var</span> input-stream/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address input-stream-storage
-<span id="L57" class="LineNr">  57 </span>  <a href='108write.subx.html#L11'>write</a> input-stream, keys
-<span id="L58" class="LineNr">  58 </span>  <span class="Delimiter">{</span>
-<span id="L59" class="LineNr">  59 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> input-stream
-<span id="L60" class="LineNr">  60 </span>    compare done?, <span class="Constant">0</span>/false
-<span id="L61" class="LineNr">  61 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L62" class="LineNr">  62 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> input-stream
-<span id="L63" class="LineNr">  63 </span>    <a href='514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> self, g
-<span id="L64" class="LineNr">  64 </span>    <span class="PreProc">loop</span>
-<span id="L65" class="LineNr">  65 </span>  <span class="Delimiter">}</span>
-<span id="L66" class="LineNr">  66 </span><span class="Delimiter">}</span>
-<span id="L67" class="LineNr">  67 </span>
-<span id="L68" class="LineNr">  68 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), in: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L69" class="LineNr">  69 </span>  <a href='106stream.subx.html#L59'>rewind-stream</a> in
-<span id="L70" class="LineNr">  70 </span>  <span class="Delimiter">{</span>
-<span id="L71" class="LineNr">  71 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> in
-<span id="L72" class="LineNr">  72 </span>    compare done?, <span class="Constant">0</span>/false
-<span id="L73" class="LineNr">  73 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L74" class="LineNr">  74 </span>    <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
-<span id="L75" class="LineNr">  75 </span>    compare key, <span class="Constant">0</span>/null
-<span id="L76" class="LineNr">  76 </span>    <span class="PreProc">break-if-=</span>
-<span id="L77" class="LineNr">  77 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy key
-<span id="L78" class="LineNr">  78 </span>    <a href='514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> self, g
-<span id="L79" class="LineNr">  79 </span>    <span class="PreProc">loop</span>
-<span id="L80" class="LineNr">  80 </span>  <span class="Delimiter">}</span>
-<span id="L81" class="LineNr">  81 </span><span class="Delimiter">}</span>
-<span id="L82" class="LineNr">  82 </span>
-<span id="L83" class="LineNr">  83 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L83'>emit-gap-buffer</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L84" class="LineNr">  84 </span>  <a href='106stream.subx.html#L20'>clear-stream</a> out
-<span id="L85" class="LineNr">  85 </span>  <a href='514gap-buffer.mu.html#L88'>append-gap-buffer</a> self, out
-<span id="L86" class="LineNr">  86 </span><span class="Delimiter">}</span>
-<span id="L87" class="LineNr">  87 </span>
-<span id="L88" class="LineNr">  88 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L88'>append-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L89" class="LineNr">  89 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L90" class="LineNr">  90 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L91" class="LineNr">  91 </span>  <a href='514gap-buffer.mu.html#L97'>emit-stack-from-bottom</a> left, out
-<span id="L92" class="LineNr">  92 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L93" class="LineNr">  93 </span>  <a href='514gap-buffer.mu.html#L115'>emit-stack-from-top</a> right, out
-<span id="L94" class="LineNr">  94 </span><span class="Delimiter">}</span>
-<span id="L95" class="LineNr">  95 </span>
-<span id="L96" class="LineNr">  96 </span><span class="muComment"># dump stack from bottom to top</span>
-<span id="L97" class="LineNr">  97 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L97'>emit-stack-from-bottom</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L98" class="LineNr">  98 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L99" class="LineNr">  99 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L100" class="LineNr"> 100 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L101" class="LineNr"> 101 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
-<span id="L102" class="LineNr"> 102 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
-<span id="L103" class="LineNr"> 103 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L104" class="LineNr"> 104 </span>  <span class="Delimiter">{</span>
-<span id="L105" class="LineNr"> 105 </span>    compare i, *top-addr
-<span id="L106" class="LineNr"> 106 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L107" class="LineNr"> 107 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
-<span id="L108" class="LineNr"> 108 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
-<span id="L109" class="LineNr"> 109 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L110" class="LineNr"> 110 </span>    <span class="PreProc">loop</span>
-<span id="L111" class="LineNr"> 111 </span>  <span class="Delimiter">}</span>
-<span id="L112" class="LineNr"> 112 </span><span class="Delimiter">}</span>
-<span id="L113" class="LineNr"> 113 </span>
-<span id="L114" class="LineNr"> 114 </span><span class="muComment"># dump stack from top to bottom</span>
-<span id="L115" class="LineNr"> 115 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L115'>emit-stack-from-top</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L116" class="LineNr"> 116 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L117" class="LineNr"> 117 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L118" class="LineNr"> 118 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L119" class="LineNr"> 119 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
-<span id="L120" class="LineNr"> 120 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
-<span id="L121" class="LineNr"> 121 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L122" class="LineNr"> 122 </span>  i <span class="Special">&lt;-</span> decrement
-<span id="L123" class="LineNr"> 123 </span>  <span class="Delimiter">{</span>
-<span id="L124" class="LineNr"> 124 </span>    compare i, <span class="Constant">0</span>
-<span id="L125" class="LineNr"> 125 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L126" class="LineNr"> 126 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
-<span id="L127" class="LineNr"> 127 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
-<span id="L128" class="LineNr"> 128 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L129" class="LineNr"> 129 </span>    <span class="PreProc">loop</span>
-<span id="L130" class="LineNr"> 130 </span>  <span class="Delimiter">}</span>
-<span id="L131" class="LineNr"> 131 </span><span class="Delimiter">}</span>
-<span id="L132" class="LineNr"> 132 </span>
-<span id="L133" class="LineNr"> 133 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L133'>word-at-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L134" class="LineNr"> 134 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L135" class="LineNr"> 135 </span>  <a href='106stream.subx.html#L20'>clear-stream</a> out
-<span id="L136" class="LineNr"> 136 </span>  <span class="Delimiter">{</span>
-<span id="L137" class="LineNr"> 137 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L244'>grapheme-at-gap</a> self
-<span id="L138" class="LineNr"> 138 </span>    <span class="PreProc">var</span> at-word?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L335'>is-ascii-word-grapheme?</a> g
-<span id="L139" class="LineNr"> 139 </span>    compare at-word?, <span class="Constant">0</span>/false
-<span id="L140" class="LineNr"> 140 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L141" class="LineNr"> 141 </span>    <span class="PreProc">return</span>
-<span id="L142" class="LineNr"> 142 </span>  <span class="Delimiter">}</span>
-<span id="L143" class="LineNr"> 143 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L144" class="LineNr"> 144 </span>  <span class="PreProc">var</span> left-index/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L276'>top-most-word</a> left
-<span id="L145" class="LineNr"> 145 </span>  <a href='514gap-buffer.mu.html#L298'>emit-stack-from-index</a> left, left-index, out
-<span id="L146" class="LineNr"> 146 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L147" class="LineNr"> 147 </span>  <span class="PreProc">var</span> right-index/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L276'>top-most-word</a> right
-<span id="L148" class="LineNr"> 148 </span>  <a href='514gap-buffer.mu.html#L315'>emit-stack-to-index</a> right, right-index, out
-<span id="L149" class="LineNr"> 149 </span><span class="Delimiter">}</span>
-<span id="L150" class="LineNr"> 150 </span>
-<span id="L151" class="LineNr"> 151 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L151'>test-word-at-gap-single-word-with-gap-at-end</a></span> <span class="Delimiter">{</span>
-<span id="L152" class="LineNr"> 152 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L153" class="LineNr"> 153 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L154" class="LineNr"> 154 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc&quot;</span>
-<span id="L155" class="LineNr"> 155 </span>  <span class="muComment"># gap is at end (right is empty)</span>
-<span id="L156" class="LineNr"> 156 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L157" class="LineNr"> 157 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L158" class="LineNr"> 158 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L159" class="LineNr"> 159 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-single-word-with-gap-at-end&quot;</span>
-<span id="L160" class="LineNr"> 160 </span><span class="Delimiter">}</span>
-<span id="L161" class="LineNr"> 161 </span>
-<span id="L162" class="LineNr"> 162 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L162'>test-word-at-gap-single-word-with-gap-at-start</a></span> <span class="Delimiter">{</span>
-<span id="L163" class="LineNr"> 163 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L164" class="LineNr"> 164 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L165" class="LineNr"> 165 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc&quot;</span>
-<span id="L166" class="LineNr"> 166 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> g
-<span id="L167" class="LineNr"> 167 </span>  <span class="muComment">#</span>
-<span id="L168" class="LineNr"> 168 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L169" class="LineNr"> 169 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L170" class="LineNr"> 170 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L171" class="LineNr"> 171 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-single-word-with-gap-at-start&quot;</span>
-<span id="L172" class="LineNr"> 172 </span><span class="Delimiter">}</span>
-<span id="L173" class="LineNr"> 173 </span>
-<span id="L174" class="LineNr"> 174 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L174'>test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-end</a></span> <span class="Delimiter">{</span>
-<span id="L175" class="LineNr"> 175 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L176" class="LineNr"> 176 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L177" class="LineNr"> 177 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc &quot;</span>
-<span id="L178" class="LineNr"> 178 </span>  <span class="muComment"># gap is at end (right is empty)</span>
-<span id="L179" class="LineNr"> 179 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L180" class="LineNr"> 180 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L181" class="LineNr"> 181 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L182" class="LineNr"> 182 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-end&quot;</span>
-<span id="L183" class="LineNr"> 183 </span><span class="Delimiter">}</span>
-<span id="L184" class="LineNr"> 184 </span>
-<span id="L185" class="LineNr"> 185 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L185'>test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-start</a></span> <span class="Delimiter">{</span>
-<span id="L186" class="LineNr"> 186 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L187" class="LineNr"> 187 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L188" class="LineNr"> 188 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot; abc&quot;</span>
-<span id="L189" class="LineNr"> 189 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> g
-<span id="L190" class="LineNr"> 190 </span>  <span class="muComment">#</span>
-<span id="L191" class="LineNr"> 191 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L192" class="LineNr"> 192 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L193" class="LineNr"> 193 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L194" class="LineNr"> 194 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-start&quot;</span>
-<span id="L195" class="LineNr"> 195 </span><span class="Delimiter">}</span>
-<span id="L196" class="LineNr"> 196 </span>
-<span id="L197" class="LineNr"> 197 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L197'>test-word-at-gap-multiple-words-with-gap-at-end</a></span> <span class="Delimiter">{</span>
-<span id="L198" class="LineNr"> 198 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L199" class="LineNr"> 199 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L200" class="LineNr"> 200 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;a bc d&quot;</span>
-<span id="L201" class="LineNr"> 201 </span>  <span class="muComment"># gap is at end (right is empty)</span>
-<span id="L202" class="LineNr"> 202 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L203" class="LineNr"> 203 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L204" class="LineNr"> 204 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L205" class="LineNr"> 205 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;d&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-end&quot;</span>
-<span id="L206" class="LineNr"> 206 </span><span class="Delimiter">}</span>
-<span id="L207" class="LineNr"> 207 </span>
-<span id="L208" class="LineNr"> 208 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L208'>test-word-at-gap-multiple-words-with-gap-at-initial-word</a></span> <span class="Delimiter">{</span>
-<span id="L209" class="LineNr"> 209 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L210" class="LineNr"> 210 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L211" class="LineNr"> 211 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;a bc d&quot;</span>
-<span id="L212" class="LineNr"> 212 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> g
-<span id="L213" class="LineNr"> 213 </span>  <span class="muComment">#</span>
-<span id="L214" class="LineNr"> 214 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L215" class="LineNr"> 215 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L216" class="LineNr"> 216 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L217" class="LineNr"> 217 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-initial-word&quot;</span>
-<span id="L218" class="LineNr"> 218 </span><span class="Delimiter">}</span>
-<span id="L219" class="LineNr"> 219 </span>
-<span id="L220" class="LineNr"> 220 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L220'>test-word-at-gap-multiple-words-with-gap-at-final-word</a></span> <span class="Delimiter">{</span>
-<span id="L221" class="LineNr"> 221 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L222" class="LineNr"> 222 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L223" class="LineNr"> 223 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;a bc d&quot;</span>
-<span id="L224" class="LineNr"> 224 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> g
-<span id="L225" class="LineNr"> 225 </span>  <span class="muComment"># gap is at final word</span>
-<span id="L226" class="LineNr"> 226 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L227" class="LineNr"> 227 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L228" class="LineNr"> 228 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L229" class="LineNr"> 229 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;d&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-final-word&quot;</span>
-<span id="L230" class="LineNr"> 230 </span><span class="Delimiter">}</span>
-<span id="L231" class="LineNr"> 231 </span>
-<span id="L232" class="LineNr"> 232 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L232'>test-word-at-gap-multiple-words-with-gap-at-final-non-word</a></span> <span class="Delimiter">{</span>
-<span id="L233" class="LineNr"> 233 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L234" class="LineNr"> 234 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L235" class="LineNr"> 235 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc &quot;</span>
-<span id="L236" class="LineNr"> 236 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> g
-<span id="L237" class="LineNr"> 237 </span>  <span class="muComment"># gap is at final word</span>
-<span id="L238" class="LineNr"> 238 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
-<span id="L239" class="LineNr"> 239 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
-<span id="L240" class="LineNr"> 240 </span>  <a href='514gap-buffer.mu.html#L133'>word-at-gap</a> g, out
-<span id="L241" class="LineNr"> 241 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-final-non-word&quot;</span>
-<span id="L242" class="LineNr"> 242 </span><span class="Delimiter">}</span>
-<span id="L243" class="LineNr"> 243 </span>
-<span id="L244" class="LineNr"> 244 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L244'>grapheme-at-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L245" class="LineNr"> 245 </span>  <span class="muComment"># send top of right most of the time</span>
-<span id="L246" class="LineNr"> 246 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L247" class="LineNr"> 247 </span>  <span class="PreProc">var</span> right/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L248" class="LineNr"> 248 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
-<span id="L249" class="LineNr"> 249 </span>  <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L250" class="LineNr"> 250 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get right, top
-<span id="L251" class="LineNr"> 251 </span>  <span class="Delimiter">{</span>
-<span id="L252" class="LineNr"> 252 </span>    compare *top-addr, <span class="Constant">0</span>
-<span id="L253" class="LineNr"> 253 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L254" class="LineNr"> 254 </span>    <span class="PreProc">var</span> top/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L255" class="LineNr"> 255 </span>    top <span class="Special">&lt;-</span> decrement
-<span id="L256" class="LineNr"> 256 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top
-<span id="L257" class="LineNr"> 257 </span>    <span class="PreProc">return</span> *result
-<span id="L258" class="LineNr"> 258 </span>  <span class="Delimiter">}</span>
-<span id="L259" class="LineNr"> 259 </span>  <span class="muComment"># send top of left only if right is empty</span>
-<span id="L260" class="LineNr"> 260 </span>  <span class="PreProc">var</span> left/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L261" class="LineNr"> 261 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
-<span id="L262" class="LineNr"> 262 </span>  <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L263" class="LineNr"> 263 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
-<span id="L264" class="LineNr"> 264 </span>  <span class="Delimiter">{</span>
-<span id="L265" class="LineNr"> 265 </span>    compare *top-addr, <span class="Constant">0</span>
-<span id="L266" class="LineNr"> 266 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L267" class="LineNr"> 267 </span>    <span class="PreProc">var</span> top/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L268" class="LineNr"> 268 </span>    top <span class="Special">&lt;-</span> decrement
-<span id="L269" class="LineNr"> 269 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top
-<span id="L270" class="LineNr"> 270 </span>    <span class="PreProc">return</span> *result
-<span id="L271" class="LineNr"> 271 </span>  <span class="Delimiter">}</span>
-<span id="L272" class="LineNr"> 272 </span>  <span class="muComment"># send null if everything is empty</span>
-<span id="L273" class="LineNr"> 273 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>
-<span id="L274" class="LineNr"> 274 </span><span class="Delimiter">}</span>
-<span id="L275" class="LineNr"> 275 </span>
-<span id="L276" class="LineNr"> 276 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L276'>top-most-word</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L277" class="LineNr"> 277 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L278" class="LineNr"> 278 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L279" class="LineNr"> 279 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L280" class="LineNr"> 280 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
-<span id="L281" class="LineNr"> 281 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
-<span id="L282" class="LineNr"> 282 </span>  <span class="PreProc">var</span> i/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L283" class="LineNr"> 283 </span>  i <span class="Special">&lt;-</span> decrement
-<span id="L284" class="LineNr"> 284 </span>  <span class="Delimiter">{</span>
-<span id="L285" class="LineNr"> 285 </span>    compare i, <span class="Constant">0</span>
-<span id="L286" class="LineNr"> 286 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L287" class="LineNr"> 287 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
-<span id="L288" class="LineNr"> 288 </span>    <span class="PreProc">var</span> is-word?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L335'>is-ascii-word-grapheme?</a> *g
-<span id="L289" class="LineNr"> 289 </span>    compare is-word?, <span class="Constant">0</span>/false
-<span id="L290" class="LineNr"> 290 </span>    <span class="PreProc">break-if-=</span>
-<span id="L291" class="LineNr"> 291 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L292" class="LineNr"> 292 </span>    <span class="PreProc">loop</span>
-<span id="L293" class="LineNr"> 293 </span>  <span class="Delimiter">}</span>
-<span id="L294" class="LineNr"> 294 </span>  i <span class="Special">&lt;-</span> increment
-<span id="L295" class="LineNr"> 295 </span>  <span class="PreProc">return</span> i
-<span id="L296" class="LineNr"> 296 </span><span class="Delimiter">}</span>
-<span id="L297" class="LineNr"> 297 </span>
-<span id="L298" class="LineNr"> 298 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L298'>emit-stack-from-index</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), start: int, out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L299" class="LineNr"> 299 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L300" class="LineNr"> 300 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L301" class="LineNr"> 301 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L302" class="LineNr"> 302 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
-<span id="L303" class="LineNr"> 303 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
-<span id="L304" class="LineNr"> 304 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy start
-<span id="L305" class="LineNr"> 305 </span>  <span class="Delimiter">{</span>
-<span id="L306" class="LineNr"> 306 </span>    compare i, *top-addr
-<span id="L307" class="LineNr"> 307 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L308" class="LineNr"> 308 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
-<span id="L309" class="LineNr"> 309 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
-<span id="L310" class="LineNr"> 310 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L311" class="LineNr"> 311 </span>    <span class="PreProc">loop</span>
-<span id="L312" class="LineNr"> 312 </span>  <span class="Delimiter">}</span>
-<span id="L313" class="LineNr"> 313 </span><span class="Delimiter">}</span>
-<span id="L314" class="LineNr"> 314 </span>
-<span id="L315" class="LineNr"> 315 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L315'>emit-stack-to-index</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), end: int, out: (addr stream byte) <span class="Delimiter">{</span>
-<span id="L316" class="LineNr"> 316 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L317" class="LineNr"> 317 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L318" class="LineNr"> 318 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L319" class="LineNr"> 319 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
-<span id="L320" class="LineNr"> 320 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
-<span id="L321" class="LineNr"> 321 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L322" class="LineNr"> 322 </span>  i <span class="Special">&lt;-</span> decrement
-<span id="L323" class="LineNr"> 323 </span>  <span class="Delimiter">{</span>
-<span id="L324" class="LineNr"> 324 </span>    compare i, <span class="Constant">0</span>
-<span id="L325" class="LineNr"> 325 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L326" class="LineNr"> 326 </span>    compare i, end
-<span id="L327" class="LineNr"> 327 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L328" class="LineNr"> 328 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
-<span id="L329" class="LineNr"> 329 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
-<span id="L330" class="LineNr"> 330 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L331" class="LineNr"> 331 </span>    <span class="PreProc">loop</span>
-<span id="L332" class="LineNr"> 332 </span>  <span class="Delimiter">}</span>
-<span id="L333" class="LineNr"> 333 </span><span class="Delimiter">}</span>
-<span id="L334" class="LineNr"> 334 </span>
-<span id="L335" class="LineNr"> 335 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L335'>is-ascii-word-grapheme?</a></span> g: grapheme<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L336" class="LineNr"> 336 </span>  compare g, <span class="Constant">0x21</span>/!
-<span id="L337" class="LineNr"> 337 </span>  <span class="Delimiter">{</span>
-<span id="L338" class="LineNr"> 338 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L339" class="LineNr"> 339 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L340" class="LineNr"> 340 </span>  <span class="Delimiter">}</span>
-<span id="L341" class="LineNr"> 341 </span>  compare g, <span class="Constant">0x30</span>/<span class="Constant">0</span>
-<span id="L342" class="LineNr"> 342 </span>  <span class="Delimiter">{</span>
-<span id="L343" class="LineNr"> 343 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L344" class="LineNr"> 344 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L345" class="LineNr"> 345 </span>  <span class="Delimiter">}</span>
-<span id="L346" class="LineNr"> 346 </span>  compare g, <span class="Constant">0x39</span>/<span class="Constant">9</span>
-<span id="L347" class="LineNr"> 347 </span>  <span class="Delimiter">{</span>
-<span id="L348" class="LineNr"> 348 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L349" class="LineNr"> 349 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L350" class="LineNr"> 350 </span>  <span class="Delimiter">}</span>
-<span id="L351" class="LineNr"> 351 </span>  compare g, <span class="Constant">0x3f</span>/?
-<span id="L352" class="LineNr"> 352 </span>  <span class="Delimiter">{</span>
-<span id="L353" class="LineNr"> 353 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L354" class="LineNr"> 354 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L355" class="LineNr"> 355 </span>  <span class="Delimiter">}</span>
-<span id="L356" class="LineNr"> 356 </span>  compare g, <span class="Constant">0x41</span>/A
-<span id="L357" class="LineNr"> 357 </span>  <span class="Delimiter">{</span>
-<span id="L358" class="LineNr"> 358 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L359" class="LineNr"> 359 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L360" class="LineNr"> 360 </span>  <span class="Delimiter">}</span>
-<span id="L361" class="LineNr"> 361 </span>  compare g, <span class="Constant">0x5a</span>/Z
-<span id="L362" class="LineNr"> 362 </span>  <span class="Delimiter">{</span>
-<span id="L363" class="LineNr"> 363 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L364" class="LineNr"> 364 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L365" class="LineNr"> 365 </span>  <span class="Delimiter">}</span>
-<span id="L366" class="LineNr"> 366 </span>  compare g, <span class="Constant">0x5f</span>/_
-<span id="L367" class="LineNr"> 367 </span>  <span class="Delimiter">{</span>
-<span id="L368" class="LineNr"> 368 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L369" class="LineNr"> 369 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L370" class="LineNr"> 370 </span>  <span class="Delimiter">}</span>
-<span id="L371" class="LineNr"> 371 </span>  compare g, <span class="Constant">0x61</span>/a
-<span id="L372" class="LineNr"> 372 </span>  <span class="Delimiter">{</span>
-<span id="L373" class="LineNr"> 373 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L374" class="LineNr"> 374 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L375" class="LineNr"> 375 </span>  <span class="Delimiter">}</span>
-<span id="L376" class="LineNr"> 376 </span>  compare g, <span class="Constant">0x7a</span>/z
-<span id="L377" class="LineNr"> 377 </span>  <span class="Delimiter">{</span>
-<span id="L378" class="LineNr"> 378 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L379" class="LineNr"> 379 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L380" class="LineNr"> 380 </span>  <span class="Delimiter">}</span>
-<span id="L381" class="LineNr"> 381 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L382" class="LineNr"> 382 </span><span class="Delimiter">}</span>
-<span id="L383" class="LineNr"> 383 </span>
-<span id="L384" class="LineNr"> 384 </span><span class="muComment"># We implicitly render everything editable in a single color, and assume the</span>
-<span id="L385" class="LineNr"> 385 </span><span class="muComment"># cursor is a single other color.</span>
-<span id="L386" class="LineNr"> 386 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), xmin: int, ymin: int, xmax: int, ymax: int, render-cursor?: boolean, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L387" class="LineNr"> 387 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _gap
-<span id="L388" class="LineNr"> 388 </span>  <span class="PreProc">var</span> left/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, left
-<span id="L389" class="LineNr"> 389 </span>  <span class="PreProc">var</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>/<span class="muRegEbx">ebx</span>: boolean <span class="Special">&lt;-</span> copy <span class="Constant">0</span>/false
-<span id="L390" class="LineNr"> 390 </span>  <span class="PreProc">var</span> matching-open-paren-depth/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L391" class="LineNr"> 391 </span>  <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, matching-open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a> gap, render-cursor?
-<span id="L392" class="LineNr"> 392 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L393" class="LineNr"> 393 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L394" class="LineNr"> 394 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, left, xmin, ymin, xmax, ymax, xmin, ymin, <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, matching-open-paren-depth, color, background-color
-<span id="L395" class="LineNr"> 395 </span>  <span class="PreProc">var</span> right/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, right
-<span id="L396" class="LineNr"> 396 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L143'>render-stack-from-top-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, right, xmin, ymin, xmax, ymax, x2, y2, render-cursor?, color, background-color
-<span id="L397" class="LineNr"> 397 </span>  <span class="muComment"># decide whether we still need to print a cursor</span>
-<span id="L398" class="LineNr"> 398 </span>  <span class="PreProc">var</span> fg/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy color
-<span id="L399" class="LineNr"> 399 </span>  <span class="PreProc">var</span> bg/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy background-color
-<span id="L400" class="LineNr"> 400 </span>  compare render-cursor?, <span class="Constant">0</span>/false
-<span id="L401" class="LineNr"> 401 </span>  <span class="Delimiter">{</span>
-<span id="L402" class="LineNr"> 402 </span>    <span class="PreProc">break-if-=</span>
-<span id="L403" class="LineNr"> 403 </span>    <span class="muComment"># if the right side is empty, grapheme stack didn't print the cursor</span>
-<span id="L404" class="LineNr"> 404 </span>    <span class="PreProc">var</span> empty?/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L22'>grapheme-stack-empty?</a> right
-<span id="L405" class="LineNr"> 405 </span>    compare empty?, <span class="Constant">0</span>/false
-<span id="L406" class="LineNr"> 406 </span>    <span class="PreProc">break-if-=</span>
-<span id="L407" class="LineNr"> 407 </span>    <span class="muComment"># swap foreground and background</span>
-<span id="L408" class="LineNr"> 408 </span>    fg <span class="Special">&lt;-</span> copy background-color
-<span id="L409" class="LineNr"> 409 </span>    bg <span class="Special">&lt;-</span> copy color
-<span id="L410" class="LineNr"> 410 </span>  <span class="Delimiter">}</span>
-<span id="L411" class="LineNr"> 411 </span>  <span class="muComment"># print a grapheme either way so that cursor position doesn't affect printed width</span>
-<span id="L412" class="LineNr"> 412 </span>  <span class="PreProc">var</span> space/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>
-<span id="L413" class="LineNr"> 413 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L155'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, space, xmin, ymin, xmax, ymax, x2, y2, fg, bg
-<span id="L414" class="LineNr"> 414 </span>  <span class="PreProc">return</span> x2, y2
-<span id="L415" class="LineNr"> 415 </span><span class="Delimiter">}</span>
-<span id="L416" class="LineNr"> 416 </span>
-<span id="L417" class="LineNr"> 417 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), x: int, y: int, render-cursor?: boolean, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L418" class="LineNr"> 418 </span>  <span class="PreProc">var</span> _width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L419" class="LineNr"> 419 </span>  <span class="PreProc">var</span> _height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L420" class="LineNr"> 420 </span>  _width, _height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L421" class="LineNr"> 421 </span>  <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy _width
-<span id="L422" class="LineNr"> 422 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _height
-<span id="L423" class="LineNr"> 423 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L424" class="LineNr"> 424 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L425" class="LineNr"> 425 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, x, y, width, height, render-cursor?, color, background-color
-<span id="L426" class="LineNr"> 426 </span>  <span class="PreProc">return</span> x2  <span class="muComment"># y2? yolo</span>
-<span id="L427" class="LineNr"> 427 </span><span class="Delimiter">}</span>
-<span id="L428" class="LineNr"> 428 </span>
-<span id="L429" class="LineNr"> 429 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L429'>gap-buffer-length</a></span> _gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L430" class="LineNr"> 430 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _gap
-<span id="L431" class="LineNr"> 431 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, left
-<span id="L432" class="LineNr"> 432 </span>  <span class="PreProc">var</span> tmp/eax: (addr int) <span class="Special">&lt;-</span> get left, top
-<span id="L433" class="LineNr"> 433 </span>  <span class="PreProc">var</span> left-length/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *tmp
-<span id="L434" class="LineNr"> 434 </span>  <span class="PreProc">var</span> right/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, right
-<span id="L435" class="LineNr"> 435 </span>  tmp <span class="Special">&lt;-</span> get right, top
-<span id="L436" class="LineNr"> 436 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *tmp
-<span id="L437" class="LineNr"> 437 </span>  result <span class="Special">&lt;-</span> add left-length
-<span id="L438" class="LineNr"> 438 </span>  <span class="PreProc">return</span> result
-<span id="L439" class="LineNr"> 439 </span><span class="Delimiter">}</span>
-<span id="L440" class="LineNr"> 440 </span>
-<span id="L441" class="LineNr"> 441 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), g: grapheme <span class="Delimiter">{</span>
-<span id="L442" class="LineNr"> 442 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L443" class="LineNr"> 443 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L444" class="LineNr"> 444 </span>  <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> left, g
-<span id="L445" class="LineNr"> 445 </span><span class="Delimiter">}</span>
-<span id="L446" class="LineNr"> 446 </span>
-<span id="L447" class="LineNr"> 447 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), c: code-point <span class="Delimiter">{</span>
-<span id="L448" class="LineNr"> 448 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy c
-<span id="L449" class="LineNr"> 449 </span>  <a href='514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> self, g
-<span id="L450" class="LineNr"> 450 </span><span class="Delimiter">}</span>
-<span id="L451" class="LineNr"> 451 </span>
-<span id="L452" class="LineNr"> 452 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L452'>gap-to-start</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L453" class="LineNr"> 453 </span>  <span class="Delimiter">{</span>
-<span id="L454" class="LineNr"> 454 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L455" class="LineNr"> 455 </span>    compare curr, <span class="Constant">-1</span>
-<span id="L456" class="LineNr"> 456 </span>    <span class="PreProc">loop-if-!=</span>
-<span id="L457" class="LineNr"> 457 </span>  <span class="Delimiter">}</span>
-<span id="L458" class="LineNr"> 458 </span><span class="Delimiter">}</span>
-<span id="L459" class="LineNr"> 459 </span>
-<span id="L460" class="LineNr"> 460 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L460'>gap-to-end</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L461" class="LineNr"> 461 </span>  <span class="Delimiter">{</span>
-<span id="L462" class="LineNr"> 462 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L463" class="LineNr"> 463 </span>    compare curr, <span class="Constant">-1</span>
-<span id="L464" class="LineNr"> 464 </span>    <span class="PreProc">loop-if-!=</span>
-<span id="L465" class="LineNr"> 465 </span>  <span class="Delimiter">}</span>
-<span id="L466" class="LineNr"> 466 </span><span class="Delimiter">}</span>
-<span id="L467" class="LineNr"> 467 </span>
-<span id="L468" class="LineNr"> 468 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L468'>gap-at-start?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L469" class="LineNr"> 469 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L470" class="LineNr"> 470 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L471" class="LineNr"> 471 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L22'>grapheme-stack-empty?</a> left
-<span id="L472" class="LineNr"> 472 </span>  <span class="PreProc">return</span> result
-<span id="L473" class="LineNr"> 473 </span><span class="Delimiter">}</span>
-<span id="L474" class="LineNr"> 474 </span>
-<span id="L475" class="LineNr"> 475 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L475'>gap-at-end?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L476" class="LineNr"> 476 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L477" class="LineNr"> 477 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L478" class="LineNr"> 478 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L22'>grapheme-stack-empty?</a> right
-<span id="L479" class="LineNr"> 479 </span>  <span class="PreProc">return</span> result
-<span id="L480" class="LineNr"> 480 </span><span class="Delimiter">}</span>
-<span id="L481" class="LineNr"> 481 </span>
-<span id="L482" class="LineNr"> 482 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L482'>gap-right</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L483" class="LineNr"> 483 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L484" class="LineNr"> 484 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L485" class="LineNr"> 485 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L486" class="LineNr"> 486 </span>  g <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> right
-<span id="L487" class="LineNr"> 487 </span>  compare g, <span class="Constant">-1</span>
-<span id="L488" class="LineNr"> 488 </span>  <span class="Delimiter">{</span>
-<span id="L489" class="LineNr"> 489 </span>    <span class="PreProc">break-if-=</span>
-<span id="L490" class="LineNr"> 490 </span>    <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L491" class="LineNr"> 491 </span>    <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> left, g
-<span id="L492" class="LineNr"> 492 </span>  <span class="Delimiter">}</span>
-<span id="L493" class="LineNr"> 493 </span>  <span class="PreProc">return</span> g
-<span id="L494" class="LineNr"> 494 </span><span class="Delimiter">}</span>
-<span id="L495" class="LineNr"> 495 </span>
-<span id="L496" class="LineNr"> 496 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L496'>gap-left</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L497" class="LineNr"> 497 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L498" class="LineNr"> 498 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L499" class="LineNr"> 499 </span>  <span class="Delimiter">{</span>
-<span id="L500" class="LineNr"> 500 </span>    <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L501" class="LineNr"> 501 </span>    g <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> left
-<span id="L502" class="LineNr"> 502 </span>  <span class="Delimiter">}</span>
-<span id="L503" class="LineNr"> 503 </span>  compare g, <span class="Constant">-1</span>
-<span id="L504" class="LineNr"> 504 </span>  <span class="Delimiter">{</span>
-<span id="L505" class="LineNr"> 505 </span>    <span class="PreProc">break-if-=</span>
-<span id="L506" class="LineNr"> 506 </span>    <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L507" class="LineNr"> 507 </span>    <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> right, g
-<span id="L508" class="LineNr"> 508 </span>  <span class="Delimiter">}</span>
-<span id="L509" class="LineNr"> 509 </span>  <span class="PreProc">return</span> g
-<span id="L510" class="LineNr"> 510 </span><span class="Delimiter">}</span>
-<span id="L511" class="LineNr"> 511 </span>
-<span id="L512" class="LineNr"> 512 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L512'>index-of-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L513" class="LineNr"> 513 </span>  <span class="PreProc">var</span> self/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L514" class="LineNr"> 514 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L515" class="LineNr"> 515 </span>  <span class="PreProc">var</span> top-addr/eax: (addr int) <span class="Special">&lt;-</span> get left, top
-<span id="L516" class="LineNr"> 516 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L517" class="LineNr"> 517 </span>  <span class="PreProc">return</span> result
-<span id="L518" class="LineNr"> 518 </span><span class="Delimiter">}</span>
-<span id="L519" class="LineNr"> 519 </span>
-<span id="L520" class="LineNr"> 520 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L520'>first-grapheme-in-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L521" class="LineNr"> 521 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L522" class="LineNr"> 522 </span>  <span class="muComment"># try to read from left</span>
-<span id="L523" class="LineNr"> 523 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L524" class="LineNr"> 524 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
-<span id="L525" class="LineNr"> 525 </span>  compare *top-addr, <span class="Constant">0</span>
-<span id="L526" class="LineNr"> 526 </span>  <span class="Delimiter">{</span>
-<span id="L527" class="LineNr"> 527 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L528" class="LineNr"> 528 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
-<span id="L529" class="LineNr"> 529 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L530" class="LineNr"> 530 </span>    <span class="PreProc">var</span> result-addr/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, <span class="Constant">0</span>
-<span id="L531" class="LineNr"> 531 </span>    <span class="PreProc">return</span> *result-addr
-<span id="L532" class="LineNr"> 532 </span>  <span class="Delimiter">}</span>
-<span id="L533" class="LineNr"> 533 </span>  <span class="muComment"># try to read from right</span>
-<span id="L534" class="LineNr"> 534 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L535" class="LineNr"> 535 </span>  top-addr <span class="Special">&lt;-</span> get right, top
-<span id="L536" class="LineNr"> 536 </span>  compare *top-addr, <span class="Constant">0</span>
-<span id="L537" class="LineNr"> 537 </span>  <span class="Delimiter">{</span>
-<span id="L538" class="LineNr"> 538 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L539" class="LineNr"> 539 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
-<span id="L540" class="LineNr"> 540 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L541" class="LineNr"> 541 </span>    <span class="PreProc">var</span> top/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L542" class="LineNr"> 542 </span>    top <span class="Special">&lt;-</span> decrement
-<span id="L543" class="LineNr"> 543 </span>    <span class="PreProc">var</span> result-addr/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top
-<span id="L544" class="LineNr"> 544 </span>    <span class="PreProc">return</span> *result-addr
-<span id="L545" class="LineNr"> 545 </span>  <span class="Delimiter">}</span>
-<span id="L546" class="LineNr"> 546 </span>  <span class="muComment"># give up</span>
-<span id="L547" class="LineNr"> 547 </span>  <span class="PreProc">return</span> <span class="Constant">-1</span>
-<span id="L548" class="LineNr"> 548 </span><span class="Delimiter">}</span>
-<span id="L549" class="LineNr"> 549 </span>
-<span id="L550" class="LineNr"> 550 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L550'>grapheme-before-cursor-in-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L551" class="LineNr"> 551 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L552" class="LineNr"> 552 </span>  <span class="muComment"># try to read from left</span>
-<span id="L553" class="LineNr"> 553 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L554" class="LineNr"> 554 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
-<span id="L555" class="LineNr"> 555 </span>  compare *top-addr, <span class="Constant">0</span>
-<span id="L556" class="LineNr"> 556 </span>  <span class="Delimiter">{</span>
-<span id="L557" class="LineNr"> 557 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L558" class="LineNr"> 558 </span>    <span class="PreProc">var</span> result/eax: grapheme <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> left
-<span id="L559" class="LineNr"> 559 </span>    <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> left, result
-<span id="L560" class="LineNr"> 560 </span>    <span class="PreProc">return</span> result
-<span id="L561" class="LineNr"> 561 </span>  <span class="Delimiter">}</span>
-<span id="L562" class="LineNr"> 562 </span>  <span class="muComment"># give up</span>
-<span id="L563" class="LineNr"> 563 </span>  <span class="PreProc">return</span> <span class="Constant">-1</span>
-<span id="L564" class="LineNr"> 564 </span><span class="Delimiter">}</span>
-<span id="L565" class="LineNr"> 565 </span>
-<span id="L566" class="LineNr"> 566 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L566'>delete-before-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L567" class="LineNr"> 567 </span>  <span class="PreProc">var</span> self/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L568" class="LineNr"> 568 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L569" class="LineNr"> 569 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> left
-<span id="L570" class="LineNr"> 570 </span><span class="Delimiter">}</span>
-<span id="L571" class="LineNr"> 571 </span>
-<span id="L572" class="LineNr"> 572 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L572'>pop-after-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L573" class="LineNr"> 573 </span>  <span class="PreProc">var</span> self/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L574" class="LineNr"> 574 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L575" class="LineNr"> 575 </span>  <span class="PreProc">var</span> result/eax: grapheme <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> right
-<span id="L576" class="LineNr"> 576 </span>  <span class="PreProc">return</span> result
-<span id="L577" class="LineNr"> 577 </span><span class="Delimiter">}</span>
-<span id="L578" class="LineNr"> 578 </span>
-<span id="L579" class="LineNr"> 579 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L579'>gap-buffer-equal?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), s: (addr array byte)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L580" class="LineNr"> 580 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L581" class="LineNr"> 581 </span>  <span class="muComment"># complication: graphemes may be multiple bytes</span>
-<span id="L582" class="LineNr"> 582 </span>  <span class="muComment"># so don't rely on length</span>
-<span id="L583" class="LineNr"> 583 </span>  <span class="muComment"># instead turn the expected result into a stream and arrange to read from it in order</span>
-<span id="L584" class="LineNr"> 584 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x10</span>/capacity)
-<span id="L585" class="LineNr"> 585 </span>  <span class="PreProc">var</span> expected-stream/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L586" class="LineNr"> 586 </span>  <a href='108write.subx.html#L11'>write</a> expected-stream, s
-<span id="L587" class="LineNr"> 587 </span>  <span class="muComment"># compare left</span>
-<span id="L588" class="LineNr"> 588 </span>  <span class="PreProc">var</span> left/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L589" class="LineNr"> 589 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L497'>prefix-match?</a> left, expected-stream
-<span id="L590" class="LineNr"> 590 </span>  compare result, <span class="Constant">0</span>/false
-<span id="L591" class="LineNr"> 591 </span>  <span class="Delimiter">{</span>
-<span id="L592" class="LineNr"> 592 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L593" class="LineNr"> 593 </span>    <span class="PreProc">return</span> result
-<span id="L594" class="LineNr"> 594 </span>  <span class="Delimiter">}</span>
-<span id="L595" class="LineNr"> 595 </span>  <span class="muComment"># compare right</span>
-<span id="L596" class="LineNr"> 596 </span>  <span class="PreProc">var</span> right/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L597" class="LineNr"> 597 </span>  result <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L525'>suffix-match?</a> right, expected-stream
-<span id="L598" class="LineNr"> 598 </span>  compare result, <span class="Constant">0</span>/false
-<span id="L599" class="LineNr"> 599 </span>  <span class="Delimiter">{</span>
-<span id="L600" class="LineNr"> 600 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L601" class="LineNr"> 601 </span>    <span class="PreProc">return</span> result
-<span id="L602" class="LineNr"> 602 </span>  <span class="Delimiter">}</span>
-<span id="L603" class="LineNr"> 603 </span>  <span class="muComment"># ensure there's nothing left over</span>
-<span id="L604" class="LineNr"> 604 </span>  result <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> expected-stream
-<span id="L605" class="LineNr"> 605 </span>  <span class="PreProc">return</span> result
-<span id="L606" class="LineNr"> 606 </span><span class="Delimiter">}</span>
-<span id="L607" class="LineNr"> 607 </span>
-<span id="L608" class="LineNr"> 608 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L608'>test-gap-buffer-equal-from-end</a></span> <span class="Delimiter">{</span>
-<span id="L609" class="LineNr"> 609 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L610" class="LineNr"> 610 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L611" class="LineNr"> 611 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
-<span id="L612" class="LineNr"> 612 </span>  <span class="muComment">#</span>
-<span id="L613" class="LineNr"> 613 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L614" class="LineNr"> 614 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L615" class="LineNr"> 615 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L616" class="LineNr"> 616 </span>  <span class="muComment"># gap is at end (right is empty)</span>
-<span id="L617" class="LineNr"> 617 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L579'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aaa&quot;</span>
-<span id="L618" class="LineNr"> 618 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-from-end&quot;</span>
-<span id="L619" class="LineNr"> 619 </span><span class="Delimiter">}</span>
-<span id="L620" class="LineNr"> 620 </span>
-<span id="L621" class="LineNr"> 621 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L621'>test-gap-buffer-equal-from-middle</a></span> <span class="Delimiter">{</span>
-<span id="L622" class="LineNr"> 622 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L623" class="LineNr"> 623 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L624" class="LineNr"> 624 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
-<span id="L625" class="LineNr"> 625 </span>  <span class="muComment">#</span>
-<span id="L626" class="LineNr"> 626 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L627" class="LineNr"> 627 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L628" class="LineNr"> 628 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L629" class="LineNr"> 629 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> g
-<span id="L630" class="LineNr"> 630 </span>  <span class="muComment"># gap is in the middle</span>
-<span id="L631" class="LineNr"> 631 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L579'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aaa&quot;</span>
-<span id="L632" class="LineNr"> 632 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-from-middle&quot;</span>
-<span id="L633" class="LineNr"> 633 </span><span class="Delimiter">}</span>
-<span id="L634" class="LineNr"> 634 </span>
-<span id="L635" class="LineNr"> 635 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L635'>test-gap-buffer-equal-from-start</a></span> <span class="Delimiter">{</span>
-<span id="L636" class="LineNr"> 636 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L637" class="LineNr"> 637 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L638" class="LineNr"> 638 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
-<span id="L639" class="LineNr"> 639 </span>  <span class="muComment">#</span>
-<span id="L640" class="LineNr"> 640 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L641" class="LineNr"> 641 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L642" class="LineNr"> 642 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L643" class="LineNr"> 643 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> g
-<span id="L644" class="LineNr"> 644 </span>  dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> g
-<span id="L645" class="LineNr"> 645 </span>  dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> g
-<span id="L646" class="LineNr"> 646 </span>  <span class="muComment"># gap is at the start</span>
-<span id="L647" class="LineNr"> 647 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L579'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aaa&quot;</span>
-<span id="L648" class="LineNr"> 648 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-from-start&quot;</span>
-<span id="L649" class="LineNr"> 649 </span><span class="Delimiter">}</span>
-<span id="L650" class="LineNr"> 650 </span>
-<span id="L651" class="LineNr"> 651 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L651'>test-gap-buffer-equal-fails</a></span> <span class="Delimiter">{</span>
-<span id="L652" class="LineNr"> 652 </span>  <span class="muComment"># g = &quot;aaa&quot;</span>
-<span id="L653" class="LineNr"> 653 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L654" class="LineNr"> 654 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
-<span id="L655" class="LineNr"> 655 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
-<span id="L656" class="LineNr"> 656 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L657" class="LineNr"> 657 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L658" class="LineNr"> 658 </span>  <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
-<span id="L659" class="LineNr"> 659 </span>  <span class="muComment">#</span>
-<span id="L660" class="LineNr"> 660 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L579'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aa&quot;</span>
-<span id="L661" class="LineNr"> 661 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-fails&quot;</span>
-<span id="L662" class="LineNr"> 662 </span><span class="Delimiter">}</span>
-<span id="L663" class="LineNr"> 663 </span>
-<span id="L664" class="LineNr"> 664 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L664'>gap-buffers-equal?</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), g: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L665" class="LineNr"> 665 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L429'>gap-buffer-length</a> self
-<span id="L666" class="LineNr"> 666 </span>  <span class="PreProc">var</span> len/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy tmp
-<span id="L667" class="LineNr"> 667 </span>  <span class="PreProc">var</span> leng/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L429'>gap-buffer-length</a> g
-<span id="L668" class="LineNr"> 668 </span>  compare len, leng
-<span id="L669" class="LineNr"> 669 </span>  <span class="Delimiter">{</span>
-<span id="L670" class="LineNr"> 670 </span>    <span class="PreProc">break-if-=</span>
-<span id="L671" class="LineNr"> 671 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L672" class="LineNr"> 672 </span>  <span class="Delimiter">}</span>
-<span id="L673" class="LineNr"> 673 </span>  <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L674" class="LineNr"> 674 </span>  <span class="Delimiter">{</span>
-<span id="L675" class="LineNr"> 675 </span>    compare i, len
-<span id="L676" class="LineNr"> 676 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L677" class="LineNr"> 677 </span>    <span class="Delimiter">{</span>
-<span id="L678" class="LineNr"> 678 </span>      <span class="PreProc">var</span> tmp/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> self, i
-<span id="L679" class="LineNr"> 679 </span>      <span class="PreProc">var</span> curr/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy tmp
-<span id="L680" class="LineNr"> 680 </span>      <span class="PreProc">var</span> currg/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> g, i
-<span id="L681" class="LineNr"> 681 </span>      compare curr, currg
-<span id="L682" class="LineNr"> 682 </span>      <span class="PreProc">break-if-=</span>
-<span id="L683" class="LineNr"> 683 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L684" class="LineNr"> 684 </span>    <span class="Delimiter">}</span>
-<span id="L685" class="LineNr"> 685 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L686" class="LineNr"> 686 </span>    <span class="PreProc">loop</span>
-<span id="L687" class="LineNr"> 687 </span>  <span class="Delimiter">}</span>
-<span id="L688" class="LineNr"> 688 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L689" class="LineNr"> 689 </span><span class="Delimiter">}</span>
-<span id="L690" class="LineNr"> 690 </span>
-<span id="L691" class="LineNr"> 691 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L691'>gap-index</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), _n: int<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L692" class="LineNr"> 692 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L693" class="LineNr"> 693 </span>  <span class="PreProc">var</span> n/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _n
-<span id="L694" class="LineNr"> 694 </span>  <span class="muComment"># if n &lt; left-&gt;length, index into left</span>
-<span id="L695" class="LineNr"> 695 </span>  <span class="PreProc">var</span> left/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L696" class="LineNr"> 696 </span>  <span class="PreProc">var</span> left-len-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
-<span id="L697" class="LineNr"> 697 </span>  compare n, *left-len-a
-<span id="L698" class="LineNr"> 698 </span>  <span class="Delimiter">{</span>
-<span id="L699" class="LineNr"> 699 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L700" class="LineNr"> 700 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
-<span id="L701" class="LineNr"> 701 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L702" class="LineNr"> 702 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, n
-<span id="L703" class="LineNr"> 703 </span>    <span class="PreProc">return</span> *result
-<span id="L704" class="LineNr"> 704 </span>  <span class="Delimiter">}</span>
-<span id="L705" class="LineNr"> 705 </span>  <span class="muComment"># shrink n</span>
-<span id="L706" class="LineNr"> 706 </span>  n <span class="Special">&lt;-</span> subtract *left-len-a
-<span id="L707" class="LineNr"> 707 </span>  <span class="muComment"># if n &lt; right-&gt;length, index into right</span>
-<span id="L708" class="LineNr"> 708 </span>  <span class="PreProc">var</span> right/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L709" class="LineNr"> 709 </span>  <span class="PreProc">var</span> right-len-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get right, top
-<span id="L710" class="LineNr"> 710 </span>  compare n, *right-len-a
-<span id="L711" class="LineNr"> 711 </span>  <span class="Delimiter">{</span>
-<span id="L712" class="LineNr"> 712 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L713" class="LineNr"> 713 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
-<span id="L714" class="LineNr"> 714 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L715" class="LineNr"> 715 </span>    <span class="muComment"># idx = right-&gt;len - n - 1</span>
-<span id="L716" class="LineNr"> 716 </span>    <span class="PreProc">var</span> idx/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy n
-<span id="L717" class="LineNr"> 717 </span>    idx <span class="Special">&lt;-</span> subtract *right-len-a
-<span id="L718" class="LineNr"> 718 </span>    idx <span class="Special">&lt;-</span> negate
-<span id="L719" class="LineNr"> 719 </span>    idx <span class="Special">&lt;-</span> subtract <span class="Constant">1</span>
-<span id="L720" class="LineNr"> 720 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, idx
-<span id="L721" class="LineNr"> 721 </span>    <span class="PreProc">return</span> *result
-<span id="L722" class="LineNr"> 722 </span>  <span class="Delimiter">}</span>
-<span id="L723" class="LineNr"> 723 </span>  <span class="muComment"># error</span>
-<span id="L724" class="LineNr"> 724 </span>  <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;gap-index: out of bounds&quot;</span>
-<span id="L725" class="LineNr"> 725 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>
-<span id="L726" class="LineNr"> 726 </span><span class="Delimiter">}</span>
-<span id="L727" class="LineNr"> 727 </span>
-<span id="L728" class="LineNr"> 728 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L728'>test-gap-buffers-equal?</a></span> <span class="Delimiter">{</span>
-<span id="L729" class="LineNr"> 729 </span>  <span class="PreProc">var</span> _a: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L730" class="LineNr"> 730 </span>  <span class="PreProc">var</span> a/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _a
-<span id="L731" class="LineNr"> 731 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> a, <span class="Constant">&quot;abc&quot;</span>
-<span id="L732" class="LineNr"> 732 </span>  <span class="PreProc">var</span> _b: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L733" class="LineNr"> 733 </span>  <span class="PreProc">var</span> b/<span class="muRegEdi">edi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _b
-<span id="L734" class="LineNr"> 734 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> b, <span class="Constant">&quot;abc&quot;</span>
-<span id="L735" class="LineNr"> 735 </span>  <span class="PreProc">var</span> _c: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L736" class="LineNr"> 736 </span>  <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _c
-<span id="L737" class="LineNr"> 737 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> c, <span class="Constant">&quot;ab&quot;</span>
-<span id="L738" class="LineNr"> 738 </span>  <span class="PreProc">var</span> _d: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L739" class="LineNr"> 739 </span>  <span class="PreProc">var</span> d/<span class="muRegEdx">edx</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _d
-<span id="L740" class="LineNr"> 740 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> d, <span class="Constant">&quot;abd&quot;</span>
-<span id="L741" class="LineNr"> 741 </span>  <span class="muComment">#</span>
-<span id="L742" class="LineNr"> 742 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> a, a
-<span id="L743" class="LineNr"> 743 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L728'>test-gap-buffers-equal?</a> - reflexive&quot;</span>
-<span id="L744" class="LineNr"> 744 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> a, b
-<span id="L745" class="LineNr"> 745 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L728'>test-gap-buffers-equal?</a> - equal&quot;</span>
-<span id="L746" class="LineNr"> 746 </span>  <span class="muComment"># length not equal</span>
-<span id="L747" class="LineNr"> 747 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> a, c
-<span id="L748" class="LineNr"> 748 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L728'>test-gap-buffers-equal?</a> - not equal&quot;</span>
-<span id="L749" class="LineNr"> 749 </span>  <span class="muComment"># contents not equal</span>
-<span id="L750" class="LineNr"> 750 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> a, d
-<span id="L751" class="LineNr"> 751 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L728'>test-gap-buffers-equal?</a> - not equal 2&quot;</span>
-<span id="L752" class="LineNr"> 752 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> d, a
-<span id="L753" class="LineNr"> 753 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L728'>test-gap-buffers-equal?</a> - not equal 3&quot;</span>
-<span id="L754" class="LineNr"> 754 </span><span class="Delimiter">}</span>
-<span id="L755" class="LineNr"> 755 </span>
-<span id="L756" class="LineNr"> 756 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L756'>test-gap-buffer-index</a></span> <span class="Delimiter">{</span>
-<span id="L757" class="LineNr"> 757 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L758" class="LineNr"> 758 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L759" class="LineNr"> 759 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
-<span id="L760" class="LineNr"> 760 </span>  <span class="muComment"># gap is at end, all contents are in left</span>
-<span id="L761" class="LineNr"> 761 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> gap, <span class="Constant">0</span>
-<span id="L762" class="LineNr"> 762 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L763" class="LineNr"> 763 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - test-gap-index/left-1&quot;</span>
-<span id="L764" class="LineNr"> 764 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> gap, <span class="Constant">1</span>
-<span id="L765" class="LineNr"> 765 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L766" class="LineNr"> 766 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - test-gap-index/left-2&quot;</span>
-<span id="L767" class="LineNr"> 767 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> gap, <span class="Constant">2</span>
-<span id="L768" class="LineNr"> 768 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L769" class="LineNr"> 769 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - test-gap-index/left-3&quot;</span>
-<span id="L770" class="LineNr"> 770 </span>  <span class="muComment"># now check when everything is to the right</span>
-<span id="L771" class="LineNr"> 771 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> gap
-<span id="L772" class="LineNr"> 772 </span>  <a href='514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> gap
-<span id="L773" class="LineNr"> 773 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> gap, <span class="Constant">0</span>
-<span id="L774" class="LineNr"> 774 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L775" class="LineNr"> 775 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - test-gap-index/right-1&quot;</span>
-<span id="L776" class="LineNr"> 776 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> gap, <span class="Constant">1</span>
-<span id="L777" class="LineNr"> 777 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L778" class="LineNr"> 778 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - test-gap-index/right-2&quot;</span>
-<span id="L779" class="LineNr"> 779 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L691'>gap-index</a> gap, <span class="Constant">2</span>
-<span id="L780" class="LineNr"> 780 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L781" class="LineNr"> 781 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - test-gap-index/right-3&quot;</span>
-<span id="L782" class="LineNr"> 782 </span><span class="Delimiter">}</span>
-<span id="L783" class="LineNr"> 783 </span>
-<span id="L784" class="LineNr"> 784 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L784'>copy-gap-buffer</a></span> _src-ah: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), _dest-ah: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L785" class="LineNr"> 785 </span>  <span class="muComment"># obtain src-a, dest-a</span>
-<span id="L786" class="LineNr"> 786 </span>  <span class="PreProc">var</span> src-ah/eax: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _src-ah
-<span id="L787" class="LineNr"> 787 </span>  <span class="PreProc">var</span> _src-a/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *src-ah
-<span id="L788" class="LineNr"> 788 </span>  <span class="PreProc">var</span> src-a/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _src-a
-<span id="L789" class="LineNr"> 789 </span>  <span class="PreProc">var</span> dest-ah/eax: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _dest-ah
-<span id="L790" class="LineNr"> 790 </span>  <span class="PreProc">var</span> _dest-a/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *dest-ah
-<span id="L791" class="LineNr"> 791 </span>  <span class="PreProc">var</span> dest-a/<span class="muRegEdi">edi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _dest-a
-<span id="L792" class="LineNr"> 792 </span>  <span class="muComment"># copy left grapheme-stack</span>
-<span id="L793" class="LineNr"> 793 </span>  <span class="PreProc">var</span> src/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get src-a, left
-<span id="L794" class="LineNr"> 794 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get dest-a, left
-<span id="L795" class="LineNr"> 795 </span>  <a href='513grapheme-stack.mu.html#L67'>copy-grapheme-stack</a> src, dest
-<span id="L796" class="LineNr"> 796 </span>  <span class="muComment"># copy right grapheme-stack</span>
-<span id="L797" class="LineNr"> 797 </span>  src <span class="Special">&lt;-</span> get src-a, right
-<span id="L798" class="LineNr"> 798 </span>  dest <span class="Special">&lt;-</span> get dest-a, right
-<span id="L799" class="LineNr"> 799 </span>  <a href='513grapheme-stack.mu.html#L67'>copy-grapheme-stack</a> src, dest
-<span id="L800" class="LineNr"> 800 </span><span class="Delimiter">}</span>
-<span id="L801" class="LineNr"> 801 </span>
-<span id="L802" class="LineNr"> 802 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L802'>gap-buffer-is-decimal-integer?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L803" class="LineNr"> 803 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L804" class="LineNr"> 804 </span>  <span class="PreProc">var</span> curr/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L805" class="LineNr"> 805 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L552'>grapheme-stack-is-decimal-integer?</a> curr
-<span id="L806" class="LineNr"> 806 </span>  <span class="Delimiter">{</span>
-<span id="L807" class="LineNr"> 807 </span>    compare result, <span class="Constant">0</span>/false
-<span id="L808" class="LineNr"> 808 </span>    <span class="PreProc">break-if-=</span>
-<span id="L809" class="LineNr"> 809 </span>    curr <span class="Special">&lt;-</span> get self, right
-<span id="L810" class="LineNr"> 810 </span>    result <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L552'>grapheme-stack-is-decimal-integer?</a> curr
-<span id="L811" class="LineNr"> 811 </span>  <span class="Delimiter">}</span>
-<span id="L812" class="LineNr"> 812 </span>  <span class="PreProc">return</span> result
-<span id="L813" class="LineNr"> 813 </span><span class="Delimiter">}</span>
-<span id="L814" class="LineNr"> 814 </span>
-<span id="L815" class="LineNr"> 815 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L815'>test-render-gap-buffer-without-cursor</a></span> <span class="Delimiter">{</span>
-<span id="L816" class="LineNr"> 816 </span>  <span class="muComment"># setup</span>
-<span id="L817" class="LineNr"> 817 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L818" class="LineNr"> 818 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L819" class="LineNr"> 819 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
-<span id="L820" class="LineNr"> 820 </span>  <span class="muComment"># setup: screen</span>
-<span id="L821" class="LineNr"> 821 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L822" class="LineNr"> 822 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L823" class="LineNr"> 823 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L824" class="LineNr"> 824 </span>  <span class="muComment">#</span>
-<span id="L825" class="LineNr"> 825 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0</span>/no-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L826" class="LineNr"> 826 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-without-cursor&quot;</span>
-<span id="L827" class="LineNr"> 827 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L815'>test-render-gap-buffer-without-cursor</a>: result&quot;</span>
-<span id="L828" class="LineNr"> 828 </span>                                                                <span class="muComment"># abc</span>
-<span id="L829" class="LineNr"> 829 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;    &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L815'>test-render-gap-buffer-without-cursor</a>: bg&quot;</span>
-<span id="L830" class="LineNr"> 830 </span><span class="Delimiter">}</span>
-<span id="L831" class="LineNr"> 831 </span>
-<span id="L832" class="LineNr"> 832 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L832'>test-render-gap-buffer-with-cursor-at-end</a></span> <span class="Delimiter">{</span>
-<span id="L833" class="LineNr"> 833 </span>  <span class="muComment"># setup</span>
-<span id="L834" class="LineNr"> 834 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L835" class="LineNr"> 835 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L836" class="LineNr"> 836 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
-<span id="L837" class="LineNr"> 837 </span>  <a href='514gap-buffer.mu.html#L460'>gap-to-end</a> gap
-<span id="L838" class="LineNr"> 838 </span>  <span class="muComment"># setup: screen</span>
-<span id="L839" class="LineNr"> 839 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L840" class="LineNr"> 840 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L841" class="LineNr"> 841 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L842" class="LineNr"> 842 </span>  <span class="muComment">#</span>
-<span id="L843" class="LineNr"> 843 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L844" class="LineNr"> 844 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-with-cursor-at-end&quot;</span>
-<span id="L845" class="LineNr"> 845 </span>  <span class="muComment"># we've drawn one extra grapheme for the cursor</span>
-<span id="L846" class="LineNr"> 846 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L832'>test-render-gap-buffer-with-cursor-at-end</a>: result&quot;</span>
-<span id="L847" class="LineNr"> 847 </span>                                                                <span class="muComment"># abc</span>
-<span id="L848" class="LineNr"> 848 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;   |&quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L832'>test-render-gap-buffer-with-cursor-at-end</a>: bg&quot;</span>
-<span id="L849" class="LineNr"> 849 </span><span class="Delimiter">}</span>
-<span id="L850" class="LineNr"> 850 </span>
-<span id="L851" class="LineNr"> 851 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L851'>test-render-gap-buffer-with-cursor-in-middle</a></span> <span class="Delimiter">{</span>
-<span id="L852" class="LineNr"> 852 </span>  <span class="muComment"># setup</span>
-<span id="L853" class="LineNr"> 853 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L854" class="LineNr"> 854 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L855" class="LineNr"> 855 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
-<span id="L856" class="LineNr"> 856 </span>  <a href='514gap-buffer.mu.html#L460'>gap-to-end</a> gap
-<span id="L857" class="LineNr"> 857 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> gap
-<span id="L858" class="LineNr"> 858 </span>  <span class="muComment"># setup: screen</span>
-<span id="L859" class="LineNr"> 859 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L860" class="LineNr"> 860 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L861" class="LineNr"> 861 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L862" class="LineNr"> 862 </span>  <span class="muComment">#</span>
-<span id="L863" class="LineNr"> 863 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L864" class="LineNr"> 864 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-with-cursor-in-middle&quot;</span>
-<span id="L865" class="LineNr"> 865 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L851'>test-render-gap-buffer-with-cursor-in-middle</a>: result&quot;</span>
-<span id="L866" class="LineNr"> 866 </span>                                                                <span class="muComment"># abc</span>
-<span id="L867" class="LineNr"> 867 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;  | &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L851'>test-render-gap-buffer-with-cursor-in-middle</a>: bg&quot;</span>
-<span id="L868" class="LineNr"> 868 </span><span class="Delimiter">}</span>
-<span id="L869" class="LineNr"> 869 </span>
-<span id="L870" class="LineNr"> 870 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L870'>test-render-gap-buffer-with-cursor-at-start</a></span> <span class="Delimiter">{</span>
-<span id="L871" class="LineNr"> 871 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L872" class="LineNr"> 872 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L873" class="LineNr"> 873 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
-<span id="L874" class="LineNr"> 874 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> gap
-<span id="L875" class="LineNr"> 875 </span>  <span class="muComment"># setup: screen</span>
-<span id="L876" class="LineNr"> 876 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L877" class="LineNr"> 877 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L878" class="LineNr"> 878 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L879" class="LineNr"> 879 </span>  <span class="muComment">#</span>
-<span id="L880" class="LineNr"> 880 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L881" class="LineNr"> 881 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-with-cursor-at-start&quot;</span>
-<span id="L882" class="LineNr"> 882 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L870'>test-render-gap-buffer-with-cursor-at-start</a>: result&quot;</span>
-<span id="L883" class="LineNr"> 883 </span>                                                                <span class="muComment"># abc</span>
-<span id="L884" class="LineNr"> 884 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;|   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L870'>test-render-gap-buffer-with-cursor-at-start</a>: bg&quot;</span>
-<span id="L885" class="LineNr"> 885 </span><span class="Delimiter">}</span>
-<span id="L886" class="LineNr"> 886 </span>
-<span id="L887" class="LineNr"> 887 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L887'>test-render-gap-buffer-highlight-matching-close-paren</a></span> <span class="Delimiter">{</span>
-<span id="L888" class="LineNr"> 888 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L889" class="LineNr"> 889 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L890" class="LineNr"> 890 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
-<span id="L891" class="LineNr"> 891 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> gap
-<span id="L892" class="LineNr"> 892 </span>  <span class="muComment"># setup: screen</span>
-<span id="L893" class="LineNr"> 893 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L894" class="LineNr"> 894 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L895" class="LineNr"> 895 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L896" class="LineNr"> 896 </span>  <span class="muComment">#</span>
-<span id="L897" class="LineNr"> 897 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L898" class="LineNr"> 898 </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">&quot;(a) &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-highlight-matching-close-paren&quot;</span>
-<span id="L899" class="LineNr"> 899 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L887'>test-render-gap-buffer-highlight-matching-close-paren</a>: result&quot;</span>
-<span id="L900" class="LineNr"> 900 </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">3</span>/bg=reverse,      <span class="Constant">0</span>/y, <span class="Constant">&quot;|   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L887'>test-render-gap-buffer-highlight-matching-close-paren</a>: cursor&quot;</span>
-<span id="L901" class="LineNr"> 901 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a>            <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=highlight, <span class="Constant">0</span>/y, <span class="Constant">&quot;  ) &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L887'>test-render-gap-buffer-highlight-matching-close-paren</a>: matching paren&quot;</span>
-<span id="L902" class="LineNr"> 902 </span><span class="Delimiter">}</span>
-<span id="L903" class="LineNr"> 903 </span>
-<span id="L904" class="LineNr"> 904 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L904'>test-render-gap-buffer-highlight-matching-open-paren</a></span> <span class="Delimiter">{</span>
-<span id="L905" class="LineNr"> 905 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L906" class="LineNr"> 906 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L907" class="LineNr"> 907 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
-<span id="L908" class="LineNr"> 908 </span>  <a href='514gap-buffer.mu.html#L460'>gap-to-end</a> gap
-<span id="L909" class="LineNr"> 909 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> gap
-<span id="L910" class="LineNr"> 910 </span>  <span class="muComment"># setup: screen</span>
-<span id="L911" class="LineNr"> 911 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L912" class="LineNr"> 912 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L913" class="LineNr"> 913 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L914" class="LineNr"> 914 </span>  <span class="muComment">#</span>
-<span id="L915" class="LineNr"> 915 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L916" class="LineNr"> 916 </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">&quot;(a) &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-highlight-matching-open-paren&quot;</span>
-<span id="L917" class="LineNr"> 917 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L904'>test-render-gap-buffer-highlight-matching-open-paren</a>: result&quot;</span>
-<span id="L918" class="LineNr"> 918 </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">3</span>/bg=reverse,      <span class="Constant">0</span>/y, <span class="Constant">&quot;  | &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L904'>test-render-gap-buffer-highlight-matching-open-paren</a>: cursor&quot;</span>
-<span id="L919" class="LineNr"> 919 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a>            <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=highlight, <span class="Constant">0</span>/y, <span class="Constant">&quot;(   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L904'>test-render-gap-buffer-highlight-matching-open-paren</a>: matching paren&quot;</span>
-<span id="L920" class="LineNr"> 920 </span><span class="Delimiter">}</span>
-<span id="L921" class="LineNr"> 921 </span>
-<span id="L922" class="LineNr"> 922 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L922'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a></span> <span class="Delimiter">{</span>
-<span id="L923" class="LineNr"> 923 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L924" class="LineNr"> 924 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L925" class="LineNr"> 925 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
-<span id="L926" class="LineNr"> 926 </span>  <a href='514gap-buffer.mu.html#L460'>gap-to-end</a> gap
-<span id="L927" class="LineNr"> 927 </span>  <span class="muComment"># setup: screen</span>
-<span id="L928" class="LineNr"> 928 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L929" class="LineNr"> 929 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
-<span id="L930" class="LineNr"> 930 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L931" class="LineNr"> 931 </span>  <span class="muComment">#</span>
-<span id="L932" class="LineNr"> 932 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L933" class="LineNr"> 933 </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">&quot;(a) &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-highlight-matching-open-paren-of-end&quot;</span>
-<span id="L934" class="LineNr"> 934 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L922'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a>: result&quot;</span>
-<span id="L935" class="LineNr"> 935 </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">3</span>/bg=reverse,      <span class="Constant">0</span>/y, <span class="Constant">&quot;   |&quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L922'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a>: cursor&quot;</span>
-<span id="L936" class="LineNr"> 936 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a>            <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=highlight, <span class="Constant">0</span>/y, <span class="Constant">&quot;(   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L922'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a>: matching paren&quot;</span>
-<span id="L937" class="LineNr"> 937 </span><span class="Delimiter">}</span>
-<span id="L938" class="LineNr"> 938 </span>
-<span id="L939" class="LineNr"> 939 </span><span class="muComment"># should I highlight a matching open paren? And if so, at what depth from top of left?</span>
-<span id="L940" class="LineNr"> 940 </span><span class="muComment"># basically there are two cases to disambiguate here:</span>
-<span id="L941" class="LineNr"> 941 </span><span class="muComment">#   Usually the cursor is at top of right. Highlight first '(' at depth 0 from top of left.</span>
-<span id="L942" class="LineNr"> 942 </span><span class="muComment">#   If right is empty, match the ')' _before_ cursor. Highlight first '(' at depth _1_ from top of left.</span>
-<span id="L943" class="LineNr"> 943 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a></span> _gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), render-cursor?: boolean<span class="PreProc"> -&gt; </span>_/<span class="muRegEbx">ebx</span>: boolean, _/<span class="muRegEdi">edi</span>: int <span class="Delimiter">{</span>
-<span id="L944" class="LineNr"> 944 </span>  <span class="muComment"># if not rendering cursor, return</span>
-<span id="L945" class="LineNr"> 945 </span>  compare render-cursor?, <span class="Constant">0</span>/false
-<span id="L946" class="LineNr"> 946 </span>  <span class="Delimiter">{</span>
-<span id="L947" class="LineNr"> 947 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L948" class="LineNr"> 948 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
-<span id="L949" class="LineNr"> 949 </span>  <span class="Delimiter">}</span>
-<span id="L950" class="LineNr"> 950 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _gap
-<span id="L951" class="LineNr"> 951 </span>  <span class="PreProc">var</span> stack/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, right
-<span id="L952" class="LineNr"> 952 </span>  <span class="PreProc">var</span> top-addr/eax: (addr int) <span class="Special">&lt;-</span> get stack, top
-<span id="L953" class="LineNr"> 953 </span>  <span class="PreProc">var</span> top-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
-<span id="L954" class="LineNr"> 954 </span>  compare top-index, <span class="Constant">0</span>
-<span id="L955" class="LineNr"> 955 </span>  <span class="Delimiter">{</span>
-<span id="L956" class="LineNr"> 956 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L957" class="LineNr"> 957 </span>    <span class="muComment"># if cursor at end, return (char before cursor == ')', 1)</span>
-<span id="L958" class="LineNr"> 958 </span>    stack <span class="Special">&lt;-</span> get gap, left
-<span id="L959" class="LineNr"> 959 </span>    top-addr <span class="Special">&lt;-</span> get stack, top
-<span id="L960" class="LineNr"> 960 </span>    top-index <span class="Special">&lt;-</span> copy *top-addr
-<span id="L961" class="LineNr"> 961 </span>    compare top-index, <span class="Constant">0</span>
-<span id="L962" class="LineNr"> 962 </span>    <span class="Delimiter">{</span>
-<span id="L963" class="LineNr"> 963 </span>      <span class="PreProc">break-if-&gt;</span>
-<span id="L964" class="LineNr"> 964 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
-<span id="L965" class="LineNr"> 965 </span>    <span class="Delimiter">}</span>
-<span id="L966" class="LineNr"> 966 </span>    top-index <span class="Special">&lt;-</span> decrement
-<span id="L967" class="LineNr"> 967 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get stack, data
-<span id="L968" class="LineNr"> 968 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L969" class="LineNr"> 969 </span>    <span class="PreProc">var</span> g/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top-index
-<span id="L970" class="LineNr"> 970 </span>    compare *g, <span class="Constant">0x29</span>/close-paren
-<span id="L971" class="LineNr"> 971 </span>    <span class="Delimiter">{</span>
-<span id="L972" class="LineNr"> 972 </span>      <span class="PreProc">break-if-=</span>
-<span id="L973" class="LineNr"> 973 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
-<span id="L974" class="LineNr"> 974 </span>    <span class="Delimiter">}</span>
-<span id="L975" class="LineNr"> 975 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true, <span class="Constant">1</span>
-<span id="L976" class="LineNr"> 976 </span>  <span class="Delimiter">}</span>
-<span id="L977" class="LineNr"> 977 </span>  <span class="muComment"># cursor is not at end; return (char at cursor == ')')</span>
-<span id="L978" class="LineNr"> 978 </span>  top-index <span class="Special">&lt;-</span> decrement
-<span id="L979" class="LineNr"> 979 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get stack, data
-<span id="L980" class="LineNr"> 980 </span>  <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L981" class="LineNr"> 981 </span>  <span class="PreProc">var</span> g/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top-index
-<span id="L982" class="LineNr"> 982 </span>  compare *g, <span class="Constant">0x29</span>/close-paren
-<span id="L983" class="LineNr"> 983 </span>  <span class="Delimiter">{</span>
-<span id="L984" class="LineNr"> 984 </span>    <span class="PreProc">break-if-=</span>
-<span id="L985" class="LineNr"> 985 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
-<span id="L986" class="LineNr"> 986 </span>  <span class="Delimiter">}</span>
-<span id="L987" class="LineNr"> 987 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true, <span class="Constant">0</span>
-<span id="L988" class="LineNr"> 988 </span><span class="Delimiter">}</span>
-<span id="L989" class="LineNr"> 989 </span>
-<span id="L990" class="LineNr"> 990 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L990'>test-highlight-matching-open-paren</a></span> <span class="Delimiter">{</span>
-<span id="L991" class="LineNr"> 991 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L992" class="LineNr"> 992 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L993" class="LineNr"> 993 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
-<span id="L994" class="LineNr"> 994 </span>  <a href='514gap-buffer.mu.html#L460'>gap-to-end</a> gap
-<span id="L995" class="LineNr"> 995 </span>  <span class="PreProc">var</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>/<span class="muRegEbx">ebx</span>: boolean <span class="Special">&lt;-</span> copy <span class="Constant">0</span>/false
-<span id="L996" class="LineNr"> 996 </span>  <span class="PreProc">var</span> open-paren-depth/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L997" class="LineNr"> 997 </span>  <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a> gap, <span class="Constant">0</span>/no-cursor
-<span id="L998" class="LineNr"> 998 </span>  <a href='502test.mu.html#L32'>check-not</a> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L990'>test-highlight-matching-open-paren</a>: no cursor&quot;</span>
-<span id="L999" class="LineNr"> 999 </span>  <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a> gap, <span class="Constant">1</span>/render-cursor
-<span id="L1000" class="LineNr">1000 </span>  <a href='502test.mu.html#L19'>check</a> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L990'>test-highlight-matching-open-paren</a>: at end immediately after ')'&quot;</span>
-<span id="L1001" class="LineNr">1001 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> open-paren-depth, <span class="Constant">1</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L990'>test-highlight-matching-open-paren</a>: depth at end immediately after ')'&quot;</span>
-<span id="L1002" class="LineNr">1002 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> gap
-<span id="L1003" class="LineNr">1003 </span>  <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a> gap, <span class="Constant">1</span>/render-cursor
-<span id="L1004" class="LineNr">1004 </span>  <a href='502test.mu.html#L19'>check</a> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L990'>test-highlight-matching-open-paren</a>: on ')'&quot;</span>
-<span id="L1005" class="LineNr">1005 </span>  dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> gap
-<span id="L1006" class="LineNr">1006 </span>  <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a> gap, <span class="Constant">1</span>/render-cursor
-<span id="L1007" class="LineNr">1007 </span>  <a href='502test.mu.html#L32'>check-not</a> <a href='514gap-buffer.mu.html#L943'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L990'>test-highlight-matching-open-paren</a>: not on ')'&quot;</span>
-<span id="L1008" class="LineNr">1008 </span><span class="Delimiter">}</span>
-<span id="L1009" class="LineNr">1009 </span>
-<span id="L1010" class="LineNr">1010 </span><span class="muComment">## some primitives for scanning through a gap buffer</span>
-<span id="L1011" class="LineNr">1011 </span><span class="muComment"># don't modify the gap buffer while scanning</span>
-<span id="L1012" class="LineNr">1012 </span><span class="muComment"># this includes moving the cursor around</span>
-<span id="L1013" class="LineNr">1013 </span>
-<span id="L1014" class="LineNr">1014 </span><span class="muComment"># restart scan without affecting gap-buffer contents</span>
-<span id="L1015" class="LineNr">1015 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1016" class="LineNr">1016 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L1017" class="LineNr">1017 </span>  <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
-<span id="L1018" class="LineNr">1018 </span>  copy-to *dest, <span class="Constant">0</span>
-<span id="L1019" class="LineNr">1019 </span>  dest <span class="Special">&lt;-</span> get self, right-read-index
-<span id="L1020" class="LineNr">1020 </span>  copy-to *dest, <span class="Constant">0</span>
-<span id="L1021" class="LineNr">1021 </span><span class="Delimiter">}</span>
-<span id="L1022" class="LineNr">1022 </span>
-<span id="L1023" class="LineNr">1023 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L1024" class="LineNr">1024 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L1025" class="LineNr">1025 </span>  <span class="muComment"># more in left?</span>
-<span id="L1026" class="LineNr">1026 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L1027" class="LineNr">1027 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
-<span id="L1028" class="LineNr">1028 </span>  <span class="PreProc">var</span> left-read-index/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
-<span id="L1029" class="LineNr">1029 </span>  compare *left-read-index, left-size
-<span id="L1030" class="LineNr">1030 </span>  <span class="Delimiter">{</span>
-<span id="L1031" class="LineNr">1031 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1032" class="LineNr">1032 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L1033" class="LineNr">1033 </span>  <span class="Delimiter">}</span>
-<span id="L1034" class="LineNr">1034 </span>  <span class="muComment"># more in right?</span>
-<span id="L1035" class="LineNr">1035 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L1036" class="LineNr">1036 </span>  <span class="PreProc">var</span> right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
-<span id="L1037" class="LineNr">1037 </span>  <span class="PreProc">var</span> right-read-index/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
-<span id="L1038" class="LineNr">1038 </span>  compare *right-read-index, right-size
-<span id="L1039" class="LineNr">1039 </span>  <span class="Delimiter">{</span>
-<span id="L1040" class="LineNr">1040 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1041" class="LineNr">1041 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L1042" class="LineNr">1042 </span>  <span class="Delimiter">}</span>
-<span id="L1043" class="LineNr">1043 </span>  <span class="muComment">#</span>
-<span id="L1044" class="LineNr">1044 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L1045" class="LineNr">1045 </span><span class="Delimiter">}</span>
-<span id="L1046" class="LineNr">1046 </span>
-<span id="L1047" class="LineNr">1047 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L1048" class="LineNr">1048 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L1049" class="LineNr">1049 </span>  <span class="muComment"># more in left?</span>
-<span id="L1050" class="LineNr">1050 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L1051" class="LineNr">1051 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
-<span id="L1052" class="LineNr">1052 </span>  <span class="PreProc">var</span> left-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
-<span id="L1053" class="LineNr">1053 </span>  compare *left-read-index-a, left-size
-<span id="L1054" class="LineNr">1054 </span>  <span class="Delimiter">{</span>
-<span id="L1055" class="LineNr">1055 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1056" class="LineNr">1056 </span>    <span class="PreProc">var</span> left-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
-<span id="L1057" class="LineNr">1057 </span>    <span class="PreProc">var</span> left-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *left-data-ah
-<span id="L1058" class="LineNr">1058 </span>    <span class="PreProc">var</span> left-read-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *left-read-index-a
-<span id="L1059" class="LineNr">1059 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index left-data, left-read-index
-<span id="L1060" class="LineNr">1060 </span>    <span class="PreProc">return</span> *result
-<span id="L1061" class="LineNr">1061 </span>  <span class="Delimiter">}</span>
-<span id="L1062" class="LineNr">1062 </span>  <span class="muComment"># more in right?</span>
-<span id="L1063" class="LineNr">1063 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L1064" class="LineNr">1064 </span>  <span class="PreProc">var</span> _right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
-<span id="L1065" class="LineNr">1065 </span>  <span class="PreProc">var</span> right-size/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _right-size
-<span id="L1066" class="LineNr">1066 </span>  <span class="PreProc">var</span> right-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
-<span id="L1067" class="LineNr">1067 </span>  compare *right-read-index-a, right-size
-<span id="L1068" class="LineNr">1068 </span>  <span class="Delimiter">{</span>
-<span id="L1069" class="LineNr">1069 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1070" class="LineNr">1070 </span>    <span class="muComment"># read the right from reverse</span>
-<span id="L1071" class="LineNr">1071 </span>    <span class="PreProc">var</span> right-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
-<span id="L1072" class="LineNr">1072 </span>    <span class="PreProc">var</span> right-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *right-data-ah
-<span id="L1073" class="LineNr">1073 </span>    <span class="PreProc">var</span> right-read-index/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy right-size
-<span id="L1074" class="LineNr">1074 </span>    right-read-index <span class="Special">&lt;-</span> subtract *right-read-index-a
-<span id="L1075" class="LineNr">1075 </span>    right-read-index <span class="Special">&lt;-</span> subtract <span class="Constant">1</span>
-<span id="L1076" class="LineNr">1076 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index right-data, right-read-index
-<span id="L1077" class="LineNr">1077 </span>    <span class="PreProc">return</span> *result
-<span id="L1078" class="LineNr">1078 </span>  <span class="Delimiter">}</span>
-<span id="L1079" class="LineNr">1079 </span>  <span class="muComment"># if we get here there's nothing left</span>
-<span id="L1080" class="LineNr">1080 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/nul
-<span id="L1081" class="LineNr">1081 </span><span class="Delimiter">}</span>
-<span id="L1082" class="LineNr">1082 </span>
-<span id="L1083" class="LineNr">1083 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
-<span id="L1084" class="LineNr">1084 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L1085" class="LineNr">1085 </span>  <span class="muComment"># more in left?</span>
-<span id="L1086" class="LineNr">1086 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L1087" class="LineNr">1087 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
-<span id="L1088" class="LineNr">1088 </span>  <span class="PreProc">var</span> left-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
-<span id="L1089" class="LineNr">1089 </span>  compare *left-read-index-a, left-size
-<span id="L1090" class="LineNr">1090 </span>  <span class="Delimiter">{</span>
-<span id="L1091" class="LineNr">1091 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1092" class="LineNr">1092 </span>    <span class="PreProc">var</span> left-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
-<span id="L1093" class="LineNr">1093 </span>    <span class="PreProc">var</span> left-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *left-data-ah
-<span id="L1094" class="LineNr">1094 </span>    <span class="PreProc">var</span> left-read-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *left-read-index-a
-<span id="L1095" class="LineNr">1095 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index left-data, left-read-index
-<span id="L1096" class="LineNr">1096 </span>    increment *left-read-index-a
-<span id="L1097" class="LineNr">1097 </span>    <span class="PreProc">return</span> *result
-<span id="L1098" class="LineNr">1098 </span>  <span class="Delimiter">}</span>
-<span id="L1099" class="LineNr">1099 </span>  <span class="muComment"># more in right?</span>
-<span id="L1100" class="LineNr">1100 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L1101" class="LineNr">1101 </span>  <span class="PreProc">var</span> _right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
-<span id="L1102" class="LineNr">1102 </span>  <span class="PreProc">var</span> right-size/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _right-size
-<span id="L1103" class="LineNr">1103 </span>  <span class="PreProc">var</span> right-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
-<span id="L1104" class="LineNr">1104 </span>  compare *right-read-index-a, right-size
-<span id="L1105" class="LineNr">1105 </span>  <span class="Delimiter">{</span>
-<span id="L1106" class="LineNr">1106 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1107" class="LineNr">1107 </span>    <span class="muComment"># read the right from reverse</span>
-<span id="L1108" class="LineNr">1108 </span>    <span class="PreProc">var</span> right-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
-<span id="L1109" class="LineNr">1109 </span>    <span class="PreProc">var</span> right-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *right-data-ah
-<span id="L1110" class="LineNr">1110 </span>    <span class="PreProc">var</span> right-read-index/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy right-size
-<span id="L1111" class="LineNr">1111 </span>    right-read-index <span class="Special">&lt;-</span> subtract *right-read-index-a
-<span id="L1112" class="LineNr">1112 </span>    right-read-index <span class="Special">&lt;-</span> subtract <span class="Constant">1</span>
-<span id="L1113" class="LineNr">1113 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index right-data, right-read-index
-<span id="L1114" class="LineNr">1114 </span>    increment *right-read-index-a
-<span id="L1115" class="LineNr">1115 </span>    <span class="PreProc">return</span> *result
-<span id="L1116" class="LineNr">1116 </span>  <span class="Delimiter">}</span>
-<span id="L1117" class="LineNr">1117 </span>  <span class="muComment"># if we get here there's nothing left</span>
-<span id="L1118" class="LineNr">1118 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/nul
-<span id="L1119" class="LineNr">1119 </span><span class="Delimiter">}</span>
-<span id="L1120" class="LineNr">1120 </span>
-<span id="L1121" class="LineNr">1121 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1121'>put-back-from-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1122" class="LineNr">1122 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L1123" class="LineNr">1123 </span>  <span class="muComment"># more in right?</span>
-<span id="L1124" class="LineNr">1124 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
-<span id="L1125" class="LineNr">1125 </span>  <span class="PreProc">var</span> right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
-<span id="L1126" class="LineNr">1126 </span>  <span class="PreProc">var</span> right-read-index-a/eax: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
-<span id="L1127" class="LineNr">1127 </span>  compare *right-read-index-a, <span class="Constant">0</span>
-<span id="L1128" class="LineNr">1128 </span>  <span class="Delimiter">{</span>
-<span id="L1129" class="LineNr">1129 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L1130" class="LineNr">1130 </span>    decrement *right-read-index-a
-<span id="L1131" class="LineNr">1131 </span>    <span class="PreProc">return</span>
-<span id="L1132" class="LineNr">1132 </span>  <span class="Delimiter">}</span>
-<span id="L1133" class="LineNr">1133 </span>  <span class="muComment"># more in left?</span>
-<span id="L1134" class="LineNr">1134 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
-<span id="L1135" class="LineNr">1135 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
-<span id="L1136" class="LineNr">1136 </span>  <span class="PreProc">var</span> left-read-index-a/eax: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
-<span id="L1137" class="LineNr">1137 </span>  decrement *left-read-index-a
-<span id="L1138" class="LineNr">1138 </span><span class="Delimiter">}</span>
-<span id="L1139" class="LineNr">1139 </span>
-<span id="L1140" class="LineNr">1140 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a></span> <span class="Delimiter">{</span>
-<span id="L1141" class="LineNr">1141 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
-<span id="L1142" class="LineNr">1142 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
-<span id="L1143" class="LineNr">1143 </span>  <a href='514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
-<span id="L1144" class="LineNr">1144 </span>  <span class="muComment"># gap is at end, all contents are in left</span>
-<span id="L1145" class="LineNr">1145 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1146" class="LineNr">1146 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-1/done&quot;</span>
-<span id="L1147" class="LineNr">1147 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1148" class="LineNr">1148 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1149" class="LineNr">1149 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-1&quot;</span>
-<span id="L1150" class="LineNr">1150 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1151" class="LineNr">1151 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-2/done&quot;</span>
-<span id="L1152" class="LineNr">1152 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1153" class="LineNr">1153 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1154" class="LineNr">1154 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-2&quot;</span>
-<span id="L1155" class="LineNr">1155 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1156" class="LineNr">1156 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-3/done&quot;</span>
-<span id="L1157" class="LineNr">1157 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1158" class="LineNr">1158 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1159" class="LineNr">1159 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-3&quot;</span>
-<span id="L1160" class="LineNr">1160 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1161" class="LineNr">1161 </span>  <a href='502test.mu.html#L19'>check</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-4/done&quot;</span>
-<span id="L1162" class="LineNr">1162 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1163" class="LineNr">1163 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1164" class="LineNr">1164 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0</span>/nul, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/left-4&quot;</span>
-<span id="L1165" class="LineNr">1165 </span>  <span class="muComment"># now check when everything is to the right</span>
-<span id="L1166" class="LineNr">1166 </span>  <a href='514gap-buffer.mu.html#L452'>gap-to-start</a> gap
-<span id="L1167" class="LineNr">1167 </span>  <a href='514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> gap
-<span id="L1168" class="LineNr">1168 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1169" class="LineNr">1169 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-1/done&quot;</span>
-<span id="L1170" class="LineNr">1170 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1171" class="LineNr">1171 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1172" class="LineNr">1172 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-1&quot;</span>
-<span id="L1173" class="LineNr">1173 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1174" class="LineNr">1174 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-2/done&quot;</span>
-<span id="L1175" class="LineNr">1175 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1176" class="LineNr">1176 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1177" class="LineNr">1177 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-2&quot;</span>
-<span id="L1178" class="LineNr">1178 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1179" class="LineNr">1179 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-3/done&quot;</span>
-<span id="L1180" class="LineNr">1180 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1181" class="LineNr">1181 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1182" class="LineNr">1182 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-3&quot;</span>
-<span id="L1183" class="LineNr">1183 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> gap
-<span id="L1184" class="LineNr">1184 </span>  <a href='502test.mu.html#L19'>check</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-4/done&quot;</span>
-<span id="L1185" class="LineNr">1185 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> gap
-<span id="L1186" class="LineNr">1186 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
-<span id="L1187" class="LineNr">1187 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0</span>/nul, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1140'>test-read-from-gap-buffer</a>/right-4&quot;</span>
-<span id="L1188" class="LineNr">1188 </span><span class="Delimiter">}</span>
-<span id="L1189" class="LineNr">1189 </span>
-<span id="L1190" class="LineNr">1190 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1190'>skip-spaces-from-gap-buffer</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1191" class="LineNr">1191 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> self
-<span id="L1192" class="LineNr">1192 </span>  compare done?, <span class="Constant">0</span>/false
-<span id="L1193" class="LineNr">1193 </span>  <span class="PreProc">break-if-!=</span>
-<span id="L1194" class="LineNr">1194 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> self
-<span id="L1195" class="LineNr">1195 </span>  <span class="Delimiter">{</span>
-<span id="L1196" class="LineNr">1196 </span>    compare g, <span class="Constant">0x20</span>/space
-<span id="L1197" class="LineNr">1197 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1198" class="LineNr">1198 </span>    <span class="PreProc">return</span>
-<span id="L1199" class="LineNr">1199 </span>  <span class="Delimiter">}</span>
-<span id="L1200" class="LineNr">1200 </span>  g <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> self
-<span id="L1201" class="LineNr">1201 </span>  <span class="PreProc">loop</span>
-<span id="L1202" class="LineNr">1202 </span><span class="Delimiter">}</span>
-<span id="L1203" class="LineNr">1203 </span>
-<span id="L1204" class="LineNr">1204 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1204'>edit-gap-buffer</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), key: grapheme <span class="Delimiter">{</span>
-<span id="L1205" class="LineNr">1205 </span>  <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: grapheme <span class="Special">&lt;-</span> copy key
-<span id="L1206" class="LineNr">1206 </span>  <span class="Delimiter">{</span>
-<span id="L1207" class="LineNr">1207 </span>    compare g, <span class="Constant">8</span>/backspace
-<span id="L1208" class="LineNr">1208 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1209" class="LineNr">1209 </span>    <a href='514gap-buffer.mu.html#L566'>delete-before-gap</a> self
-<span id="L1210" class="LineNr">1210 </span>    <span class="PreProc">return</span>
-<span id="L1211" class="LineNr">1211 </span>  <span class="Delimiter">}</span>
-<span id="L1212" class="LineNr">1212 </span>  <span class="Delimiter">{</span>
-<span id="L1213" class="LineNr">1213 </span>    compare g, <span class="Constant">0x80</span>/left-arrow
-<span id="L1214" class="LineNr">1214 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1215" class="LineNr">1215 </span>    <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1216" class="LineNr">1216 </span>    <span class="PreProc">return</span>
-<span id="L1217" class="LineNr">1217 </span>  <span class="Delimiter">}</span>
-<span id="L1218" class="LineNr">1218 </span>  <span class="Delimiter">{</span>
-<span id="L1219" class="LineNr">1219 </span>    compare g, <span class="Constant">0x83</span>/right-arrow
-<span id="L1220" class="LineNr">1220 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1221" class="LineNr">1221 </span>    <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1222" class="LineNr">1222 </span>    <span class="PreProc">return</span>
-<span id="L1223" class="LineNr">1223 </span>  <span class="Delimiter">}</span>
-<span id="L1224" class="LineNr">1224 </span>  <span class="Delimiter">{</span>
-<span id="L1225" class="LineNr">1225 </span>    compare g, <span class="Constant">6</span>/ctrl-f
-<span id="L1226" class="LineNr">1226 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1227" class="LineNr">1227 </span>    <a href='514gap-buffer.mu.html#L1278'>gap-to-start-of-next-word</a> self
-<span id="L1228" class="LineNr">1228 </span>    <span class="PreProc">return</span>
-<span id="L1229" class="LineNr">1229 </span>  <span class="Delimiter">}</span>
-<span id="L1230" class="LineNr">1230 </span>  <span class="Delimiter">{</span>
-<span id="L1231" class="LineNr">1231 </span>    compare g, <span class="Constant">2</span>/ctrl-b
-<span id="L1232" class="LineNr">1232 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1233" class="LineNr">1233 </span>    <a href='514gap-buffer.mu.html#L1305'>gap-to-end-of-previous-word</a> self
-<span id="L1234" class="LineNr">1234 </span>    <span class="PreProc">return</span>
-<span id="L1235" class="LineNr">1235 </span>  <span class="Delimiter">}</span>
-<span id="L1236" class="LineNr">1236 </span>  <span class="Delimiter">{</span>
-<span id="L1237" class="LineNr">1237 </span>    compare g, <span class="Constant">1</span>/ctrl-a
-<span id="L1238" class="LineNr">1238 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1239" class="LineNr">1239 </span>    <a href='514gap-buffer.mu.html#L1332'>gap-to-previous-start-of-line</a> self
-<span id="L1240" class="LineNr">1240 </span>    <span class="PreProc">return</span>
-<span id="L1241" class="LineNr">1241 </span>  <span class="Delimiter">}</span>
-<span id="L1242" class="LineNr">1242 </span>  <span class="Delimiter">{</span>
-<span id="L1243" class="LineNr">1243 </span>    compare g, <span class="Constant">5</span>/ctrl-e
-<span id="L1244" class="LineNr">1244 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1245" class="LineNr">1245 </span>    <a href='514gap-buffer.mu.html#L1353'>gap-to-next-end-of-line</a> self
-<span id="L1246" class="LineNr">1246 </span>    <span class="PreProc">return</span>
-<span id="L1247" class="LineNr">1247 </span>  <span class="Delimiter">}</span>
-<span id="L1248" class="LineNr">1248 </span>  <span class="Delimiter">{</span>
-<span id="L1249" class="LineNr">1249 </span>    compare g, <span class="Constant">0x81</span>/down-arrow
-<span id="L1250" class="LineNr">1250 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1251" class="LineNr">1251 </span>    <a href='514gap-buffer.mu.html#L1401'>gap-down</a> self
-<span id="L1252" class="LineNr">1252 </span>    <span class="PreProc">return</span>
-<span id="L1253" class="LineNr">1253 </span>  <span class="Delimiter">}</span>
-<span id="L1254" class="LineNr">1254 </span>  <span class="Delimiter">{</span>
-<span id="L1255" class="LineNr">1255 </span>    compare g, <span class="Constant">0x82</span>/up-arrow
-<span id="L1256" class="LineNr">1256 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1257" class="LineNr">1257 </span>    <a href='514gap-buffer.mu.html#L1374'>gap-up</a> self
-<span id="L1258" class="LineNr">1258 </span>    <span class="PreProc">return</span>
-<span id="L1259" class="LineNr">1259 </span>  <span class="Delimiter">}</span>
-<span id="L1260" class="LineNr">1260 </span>  <span class="Delimiter">{</span>
-<span id="L1261" class="LineNr">1261 </span>    compare g, <span class="Constant">0x15</span>/ctrl-u
-<span id="L1262" class="LineNr">1262 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1263" class="LineNr">1263 </span>    <a href='514gap-buffer.mu.html#L19'>clear-gap-buffer</a> self
-<span id="L1264" class="LineNr">1264 </span>    <span class="PreProc">return</span>
-<span id="L1265" class="LineNr">1265 </span>  <span class="Delimiter">}</span>
-<span id="L1266" class="LineNr">1266 </span>  <span class="Delimiter">{</span>
-<span id="L1267" class="LineNr">1267 </span>    compare g, <span class="Constant">9</span>/tab
-<span id="L1268" class="LineNr">1268 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1269" class="LineNr">1269 </span>    <span class="muComment"># tab = 2 spaces</span>
-<span id="L1270" class="LineNr">1270 </span>    <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> self, <span class="Constant">0x20</span>/space
-<span id="L1271" class="LineNr">1271 </span>    <a href='514gap-buffer.mu.html#L447'>add-code-point-at-gap</a> self, <span class="Constant">0x20</span>/space
-<span id="L1272" class="LineNr">1272 </span>    <span class="PreProc">return</span>
-<span id="L1273" class="LineNr">1273 </span>  <span class="Delimiter">}</span>
-<span id="L1274" class="LineNr">1274 </span>  <span class="muComment"># default: insert character</span>
-<span id="L1275" class="LineNr">1275 </span>  <a href='514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> self, g
-<span id="L1276" class="LineNr">1276 </span><span class="Delimiter">}</span>
-<span id="L1277" class="LineNr">1277 </span>
-<span id="L1278" class="LineNr">1278 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1278'>gap-to-start-of-next-word</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1279" class="LineNr">1279 </span>  <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1280" class="LineNr">1280 </span>  <span class="muComment"># skip to next space</span>
-<span id="L1281" class="LineNr">1281 </span>  <span class="Delimiter">{</span>
-<span id="L1282" class="LineNr">1282 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1283" class="LineNr">1283 </span>    compare curr, <span class="Constant">-1</span>
-<span id="L1284" class="LineNr">1284 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1285" class="LineNr">1285 </span>    compare curr, <span class="Constant">0x20</span>/space
-<span id="L1286" class="LineNr">1286 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1287" class="LineNr">1287 </span>    compare curr, <span class="Constant">0xa</span>/newline
-<span id="L1288" class="LineNr">1288 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1289" class="LineNr">1289 </span>    <span class="PreProc">loop</span>
-<span id="L1290" class="LineNr">1290 </span>  <span class="Delimiter">}</span>
-<span id="L1291" class="LineNr">1291 </span>  <span class="muComment"># skip past spaces</span>
-<span id="L1292" class="LineNr">1292 </span>  <span class="Delimiter">{</span>
-<span id="L1293" class="LineNr">1293 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1294" class="LineNr">1294 </span>    compare curr, <span class="Constant">-1</span>
-<span id="L1295" class="LineNr">1295 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1296" class="LineNr">1296 </span>    compare curr, <span class="Constant">0x20</span>/space
-<span id="L1297" class="LineNr">1297 </span>    <span class="PreProc">loop-if-=</span>
-<span id="L1298" class="LineNr">1298 </span>    compare curr, <span class="Constant">0xa</span>/space
-<span id="L1299" class="LineNr">1299 </span>    <span class="PreProc">loop-if-=</span>
-<span id="L1300" class="LineNr">1300 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1301" class="LineNr">1301 </span>    <span class="PreProc">break</span>
-<span id="L1302" class="LineNr">1302 </span>  <span class="Delimiter">}</span>
-<span id="L1303" class="LineNr">1303 </span><span class="Delimiter">}</span>
-<span id="L1304" class="LineNr">1304 </span>
-<span id="L1305" class="LineNr">1305 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1305'>gap-to-end-of-previous-word</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1306" class="LineNr">1306 </span>  <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1307" class="LineNr">1307 </span>  <span class="muComment"># skip to previous space</span>
-<span id="L1308" class="LineNr">1308 </span>  <span class="Delimiter">{</span>
-<span id="L1309" class="LineNr">1309 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1310" class="LineNr">1310 </span>    compare curr, <span class="Constant">-1</span>
-<span id="L1311" class="LineNr">1311 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1312" class="LineNr">1312 </span>    compare curr, <span class="Constant">0x20</span>/space
-<span id="L1313" class="LineNr">1313 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1314" class="LineNr">1314 </span>    compare curr, <span class="Constant">0xa</span>/newline
-<span id="L1315" class="LineNr">1315 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1316" class="LineNr">1316 </span>    <span class="PreProc">loop</span>
-<span id="L1317" class="LineNr">1317 </span>  <span class="Delimiter">}</span>
-<span id="L1318" class="LineNr">1318 </span>  <span class="muComment"># skip past all spaces but one</span>
-<span id="L1319" class="LineNr">1319 </span>  <span class="Delimiter">{</span>
-<span id="L1320" class="LineNr">1320 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1321" class="LineNr">1321 </span>    compare curr, <span class="Constant">-1</span>
-<span id="L1322" class="LineNr">1322 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1323" class="LineNr">1323 </span>    compare curr, <span class="Constant">0x20</span>/space
-<span id="L1324" class="LineNr">1324 </span>    <span class="PreProc">loop-if-=</span>
-<span id="L1325" class="LineNr">1325 </span>    compare curr, <span class="Constant">0xa</span>/space
-<span id="L1326" class="LineNr">1326 </span>    <span class="PreProc">loop-if-=</span>
-<span id="L1327" class="LineNr">1327 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1328" class="LineNr">1328 </span>    <span class="PreProc">break</span>
-<span id="L1329" class="LineNr">1329 </span>  <span class="Delimiter">}</span>
-<span id="L1330" class="LineNr">1330 </span><span class="Delimiter">}</span>
-<span id="L1331" class="LineNr">1331 </span>
-<span id="L1332" class="LineNr">1332 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1332'>gap-to-previous-start-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1333" class="LineNr">1333 </span>  <span class="muComment"># skip past immediate newline</span>
-<span id="L1334" class="LineNr">1334 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1335" class="LineNr">1335 </span>  <span class="muComment"># skip to previous newline</span>
-<span id="L1336" class="LineNr">1336 </span>  <span class="Delimiter">{</span>
-<span id="L1337" class="LineNr">1337 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1338" class="LineNr">1338 </span>    <span class="Delimiter">{</span>
-<span id="L1339" class="LineNr">1339 </span>      compare dummy, <span class="Constant">-1</span>
-<span id="L1340" class="LineNr">1340 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1341" class="LineNr">1341 </span>      <span class="PreProc">return</span>
-<span id="L1342" class="LineNr">1342 </span>    <span class="Delimiter">}</span>
-<span id="L1343" class="LineNr">1343 </span>    <span class="Delimiter">{</span>
-<span id="L1344" class="LineNr">1344 </span>      compare dummy, <span class="Constant">0xa</span>/newline
-<span id="L1345" class="LineNr">1345 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1346" class="LineNr">1346 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1347" class="LineNr">1347 </span>      <span class="PreProc">return</span>
-<span id="L1348" class="LineNr">1348 </span>    <span class="Delimiter">}</span>
-<span id="L1349" class="LineNr">1349 </span>    <span class="PreProc">loop</span>
-<span id="L1350" class="LineNr">1350 </span>  <span class="Delimiter">}</span>
-<span id="L1351" class="LineNr">1351 </span><span class="Delimiter">}</span>
-<span id="L1352" class="LineNr">1352 </span>
-<span id="L1353" class="LineNr">1353 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1353'>gap-to-next-end-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1354" class="LineNr">1354 </span>  <span class="muComment"># skip past immediate newline</span>
-<span id="L1355" class="LineNr">1355 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1356" class="LineNr">1356 </span>  <span class="muComment"># skip to next newline</span>
-<span id="L1357" class="LineNr">1357 </span>  <span class="Delimiter">{</span>
-<span id="L1358" class="LineNr">1358 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1359" class="LineNr">1359 </span>    <span class="Delimiter">{</span>
-<span id="L1360" class="LineNr">1360 </span>      compare dummy, <span class="Constant">-1</span>
-<span id="L1361" class="LineNr">1361 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1362" class="LineNr">1362 </span>      <span class="PreProc">return</span>
-<span id="L1363" class="LineNr">1363 </span>    <span class="Delimiter">}</span>
-<span id="L1364" class="LineNr">1364 </span>    <span class="Delimiter">{</span>
-<span id="L1365" class="LineNr">1365 </span>      compare dummy, <span class="Constant">0xa</span>/newline
-<span id="L1366" class="LineNr">1366 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1367" class="LineNr">1367 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1368" class="LineNr">1368 </span>      <span class="PreProc">return</span>
-<span id="L1369" class="LineNr">1369 </span>    <span class="Delimiter">}</span>
-<span id="L1370" class="LineNr">1370 </span>    <span class="PreProc">loop</span>
-<span id="L1371" class="LineNr">1371 </span>  <span class="Delimiter">}</span>
-<span id="L1372" class="LineNr">1372 </span><span class="Delimiter">}</span>
-<span id="L1373" class="LineNr">1373 </span>
-<span id="L1374" class="LineNr">1374 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1374'>gap-up</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1375" class="LineNr">1375 </span>  <span class="muComment"># compute column</span>
-<span id="L1376" class="LineNr">1376 </span>  <span class="PreProc">var</span> col/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1429'>count-columns-to-start-of-line</a> self
-<span id="L1377" class="LineNr">1377 </span>  <span class="muComment">#</span>
-<span id="L1378" class="LineNr">1378 </span>  <a href='514gap-buffer.mu.html#L1332'>gap-to-previous-start-of-line</a> self
-<span id="L1379" class="LineNr">1379 </span>  <span class="muComment"># skip ahead by up to col on previous line</span>
-<span id="L1380" class="LineNr">1380 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1381" class="LineNr">1381 </span>  <span class="Delimiter">{</span>
-<span id="L1382" class="LineNr">1382 </span>    compare i, col
-<span id="L1383" class="LineNr">1383 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1384" class="LineNr">1384 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1385" class="LineNr">1385 </span>    <span class="Delimiter">{</span>
-<span id="L1386" class="LineNr">1386 </span>      compare curr, <span class="Constant">-1</span>
-<span id="L1387" class="LineNr">1387 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1388" class="LineNr">1388 </span>      <span class="PreProc">return</span>
-<span id="L1389" class="LineNr">1389 </span>    <span class="Delimiter">}</span>
-<span id="L1390" class="LineNr">1390 </span>    compare curr, <span class="Constant">0xa</span>/newline
-<span id="L1391" class="LineNr">1391 </span>    <span class="Delimiter">{</span>
-<span id="L1392" class="LineNr">1392 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1393" class="LineNr">1393 </span>      curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1394" class="LineNr">1394 </span>      <span class="PreProc">return</span>
-<span id="L1395" class="LineNr">1395 </span>    <span class="Delimiter">}</span>
-<span id="L1396" class="LineNr">1396 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L1397" class="LineNr">1397 </span>    <span class="PreProc">loop</span>
-<span id="L1398" class="LineNr">1398 </span>  <span class="Delimiter">}</span>
-<span id="L1399" class="LineNr">1399 </span><span class="Delimiter">}</span>
-<span id="L1400" class="LineNr">1400 </span>
-<span id="L1401" class="LineNr">1401 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1401'>gap-down</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1402" class="LineNr">1402 </span>  <span class="muComment"># compute column</span>
-<span id="L1403" class="LineNr">1403 </span>  <span class="PreProc">var</span> col/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1429'>count-columns-to-start-of-line</a> self
-<span id="L1404" class="LineNr">1404 </span>  <span class="muComment"># skip to start of next line</span>
-<span id="L1405" class="LineNr">1405 </span>  <a href='514gap-buffer.mu.html#L1452'>gap-to-end-of-line</a> self
-<span id="L1406" class="LineNr">1406 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1407" class="LineNr">1407 </span>  <span class="muComment"># skip ahead by up to col on previous line</span>
-<span id="L1408" class="LineNr">1408 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1409" class="LineNr">1409 </span>  <span class="Delimiter">{</span>
-<span id="L1410" class="LineNr">1410 </span>    compare i, col
-<span id="L1411" class="LineNr">1411 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1412" class="LineNr">1412 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1413" class="LineNr">1413 </span>    <span class="Delimiter">{</span>
-<span id="L1414" class="LineNr">1414 </span>      compare curr, <span class="Constant">-1</span>
-<span id="L1415" class="LineNr">1415 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1416" class="LineNr">1416 </span>      <span class="PreProc">return</span>
-<span id="L1417" class="LineNr">1417 </span>    <span class="Delimiter">}</span>
-<span id="L1418" class="LineNr">1418 </span>    compare curr, <span class="Constant">0xa</span>/newline
-<span id="L1419" class="LineNr">1419 </span>    <span class="Delimiter">{</span>
-<span id="L1420" class="LineNr">1420 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1421" class="LineNr">1421 </span>      curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1422" class="LineNr">1422 </span>      <span class="PreProc">return</span>
-<span id="L1423" class="LineNr">1423 </span>    <span class="Delimiter">}</span>
-<span id="L1424" class="LineNr">1424 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L1425" class="LineNr">1425 </span>    <span class="PreProc">loop</span>
-<span id="L1426" class="LineNr">1426 </span>  <span class="Delimiter">}</span>
-<span id="L1427" class="LineNr">1427 </span><span class="Delimiter">}</span>
-<span id="L1428" class="LineNr">1428 </span>
-<span id="L1429" class="LineNr">1429 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1429'>count-columns-to-start-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/<span class="muRegEdx">edx</span>: int <span class="Delimiter">{</span>
-<span id="L1430" class="LineNr">1430 </span>  <span class="PreProc">var</span> count/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1431" class="LineNr">1431 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1432" class="LineNr">1432 </span>  <span class="muComment"># skip to previous newline</span>
-<span id="L1433" class="LineNr">1433 </span>  <span class="Delimiter">{</span>
-<span id="L1434" class="LineNr">1434 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1435" class="LineNr">1435 </span>    <span class="Delimiter">{</span>
-<span id="L1436" class="LineNr">1436 </span>      compare dummy, <span class="Constant">-1</span>
-<span id="L1437" class="LineNr">1437 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1438" class="LineNr">1438 </span>      <span class="PreProc">return</span> count
-<span id="L1439" class="LineNr">1439 </span>    <span class="Delimiter">}</span>
-<span id="L1440" class="LineNr">1440 </span>    <span class="Delimiter">{</span>
-<span id="L1441" class="LineNr">1441 </span>      compare dummy, <span class="Constant">0xa</span>/newline
-<span id="L1442" class="LineNr">1442 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1443" class="LineNr">1443 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1444" class="LineNr">1444 </span>      <span class="PreProc">return</span> count
-<span id="L1445" class="LineNr">1445 </span>    <span class="Delimiter">}</span>
-<span id="L1446" class="LineNr">1446 </span>    count <span class="Special">&lt;-</span> increment
-<span id="L1447" class="LineNr">1447 </span>    <span class="PreProc">loop</span>
-<span id="L1448" class="LineNr">1448 </span>  <span class="Delimiter">}</span>
-<span id="L1449" class="LineNr">1449 </span>  <span class="PreProc">return</span> count
-<span id="L1450" class="LineNr">1450 </span><span class="Delimiter">}</span>
-<span id="L1451" class="LineNr">1451 </span>
-<span id="L1452" class="LineNr">1452 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1452'>gap-to-end-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1453" class="LineNr">1453 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1454" class="LineNr">1454 </span>  <span class="muComment"># skip to next newline</span>
-<span id="L1455" class="LineNr">1455 </span>  <span class="Delimiter">{</span>
-<span id="L1456" class="LineNr">1456 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L482'>gap-right</a> self
-<span id="L1457" class="LineNr">1457 </span>    <span class="Delimiter">{</span>
-<span id="L1458" class="LineNr">1458 </span>      compare dummy, <span class="Constant">-1</span>
-<span id="L1459" class="LineNr">1459 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1460" class="LineNr">1460 </span>      <span class="PreProc">return</span>
-<span id="L1461" class="LineNr">1461 </span>    <span class="Delimiter">}</span>
-<span id="L1462" class="LineNr">1462 </span>    <span class="Delimiter">{</span>
-<span id="L1463" class="LineNr">1463 </span>      compare dummy, <span class="Constant">0xa</span>/newline
-<span id="L1464" class="LineNr">1464 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L1465" class="LineNr">1465 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L496'>gap-left</a> self
-<span id="L1466" class="LineNr">1466 </span>      <span class="PreProc">return</span>
-<span id="L1467" class="LineNr">1467 </span>    <span class="Delimiter">}</span>
-<span id="L1468" class="LineNr">1468 </span>    <span class="PreProc">loop</span>
-<span id="L1469" class="LineNr">1469 </span>  <span class="Delimiter">}</span>
-<span id="L1470" class="LineNr">1470 </span><span class="Delimiter">}</span>
+<span id="L52" class="LineNr">  52 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), keys: (addr array byte) <span class="Delimiter">{</span>
+<span id="L53" class="LineNr">  53 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> self, <span class="Constant">0x40</span>/capacity
+<span id="L54" class="LineNr">  54 </span>  <span class="PreProc">var</span> input-stream-storage: (stream byte <span class="Constant">0x40</span>/capacity)
+<span id="L55" class="LineNr">  55 </span>  <span class="PreProc">var</span> input-stream/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address input-stream-storage
+<span id="L56" class="LineNr">  56 </span>  <a href='108write.subx.html#L11'>write</a> input-stream, keys
+<span id="L57" class="LineNr">  57 </span>  <span class="Delimiter">{</span>
+<span id="L58" class="LineNr">  58 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> input-stream
+<span id="L59" class="LineNr">  59 </span>    compare done?, <span class="Constant">0</span>/false
+<span id="L60" class="LineNr">  60 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L61" class="LineNr">  61 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> input-stream
+<span id="L62" class="LineNr">  62 </span>    <a href='514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> self, g
+<span id="L63" class="LineNr">  63 </span>    <span class="PreProc">loop</span>
+<span id="L64" class="LineNr">  64 </span>  <span class="Delimiter">}</span>
+<span id="L65" class="LineNr">  65 </span><span class="Delimiter">}</span>
+<span id="L66" class="LineNr">  66 </span>
+<span id="L67" class="LineNr">  67 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), in: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L68" class="LineNr">  68 </span>  <a href='106stream.subx.html#L59'>rewind-stream</a> in
+<span id="L69" class="LineNr">  69 </span>  <span class="Delimiter">{</span>
+<span id="L70" class="LineNr">  70 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> in
+<span id="L71" class="LineNr">  71 </span>    compare done?, <span class="Constant">0</span>/false
+<span id="L72" class="LineNr">  72 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L73" class="LineNr">  73 </span>    <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
+<span id="L74" class="LineNr">  74 </span>    compare key, <span class="Constant">0</span>/null
+<span id="L75" class="LineNr">  75 </span>    <span class="PreProc">break-if-=</span>
+<span id="L76" class="LineNr">  76 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy key
+<span id="L77" class="LineNr">  77 </span>    <a href='514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> self, g
+<span id="L78" class="LineNr">  78 </span>    <span class="PreProc">loop</span>
+<span id="L79" class="LineNr">  79 </span>  <span class="Delimiter">}</span>
+<span id="L80" class="LineNr">  80 </span><span class="Delimiter">}</span>
+<span id="L81" class="LineNr">  81 </span>
+<span id="L82" class="LineNr">  82 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L82'>emit-gap-buffer</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L83" class="LineNr">  83 </span>  <a href='106stream.subx.html#L20'>clear-stream</a> out
+<span id="L84" class="LineNr">  84 </span>  <a href='514gap-buffer.mu.html#L87'>append-gap-buffer</a> self, out
+<span id="L85" class="LineNr">  85 </span><span class="Delimiter">}</span>
+<span id="L86" class="LineNr">  86 </span>
+<span id="L87" class="LineNr">  87 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L87'>append-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L88" class="LineNr">  88 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L89" class="LineNr">  89 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L90" class="LineNr">  90 </span>  <a href='514gap-buffer.mu.html#L96'>emit-stack-from-bottom</a> left, out
+<span id="L91" class="LineNr">  91 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L92" class="LineNr">  92 </span>  <a href='514gap-buffer.mu.html#L114'>emit-stack-from-top</a> right, out
+<span id="L93" class="LineNr">  93 </span><span class="Delimiter">}</span>
+<span id="L94" class="LineNr">  94 </span>
+<span id="L95" class="LineNr">  95 </span><span class="muComment"># dump stack from bottom to top</span>
+<span id="L96" class="LineNr">  96 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L96'>emit-stack-from-bottom</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L97" class="LineNr">  97 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L98" class="LineNr">  98 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
+<span id="L99" class="LineNr">  99 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L100" class="LineNr"> 100 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
+<span id="L101" class="LineNr"> 101 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
+<span id="L102" class="LineNr"> 102 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L103" class="LineNr"> 103 </span>  <span class="Delimiter">{</span>
+<span id="L104" class="LineNr"> 104 </span>    compare i, *top-addr
+<span id="L105" class="LineNr"> 105 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L106" class="LineNr"> 106 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
+<span id="L107" class="LineNr"> 107 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
+<span id="L108" class="LineNr"> 108 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L109" class="LineNr"> 109 </span>    <span class="PreProc">loop</span>
+<span id="L110" class="LineNr"> 110 </span>  <span class="Delimiter">}</span>
+<span id="L111" class="LineNr"> 111 </span><span class="Delimiter">}</span>
+<span id="L112" class="LineNr"> 112 </span>
+<span id="L113" class="LineNr"> 113 </span><span class="muComment"># dump stack from top to bottom</span>
+<span id="L114" class="LineNr"> 114 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L114'>emit-stack-from-top</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L115" class="LineNr"> 115 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L116" class="LineNr"> 116 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
+<span id="L117" class="LineNr"> 117 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L118" class="LineNr"> 118 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
+<span id="L119" class="LineNr"> 119 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
+<span id="L120" class="LineNr"> 120 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L121" class="LineNr"> 121 </span>  i <span class="Special">&lt;-</span> decrement
+<span id="L122" class="LineNr"> 122 </span>  <span class="Delimiter">{</span>
+<span id="L123" class="LineNr"> 123 </span>    compare i, <span class="Constant">0</span>
+<span id="L124" class="LineNr"> 124 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L125" class="LineNr"> 125 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
+<span id="L126" class="LineNr"> 126 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
+<span id="L127" class="LineNr"> 127 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L128" class="LineNr"> 128 </span>    <span class="PreProc">loop</span>
+<span id="L129" class="LineNr"> 129 </span>  <span class="Delimiter">}</span>
+<span id="L130" class="LineNr"> 130 </span><span class="Delimiter">}</span>
+<span id="L131" class="LineNr"> 131 </span>
+<span id="L132" class="LineNr"> 132 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L132'>word-at-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L133" class="LineNr"> 133 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L134" class="LineNr"> 134 </span>  <a href='106stream.subx.html#L20'>clear-stream</a> out
+<span id="L135" class="LineNr"> 135 </span>  <span class="Delimiter">{</span>
+<span id="L136" class="LineNr"> 136 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L243'>grapheme-at-gap</a> self
+<span id="L137" class="LineNr"> 137 </span>    <span class="PreProc">var</span> at-word?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L334'>is-ascii-word-grapheme?</a> g
+<span id="L138" class="LineNr"> 138 </span>    compare at-word?, <span class="Constant">0</span>/false
+<span id="L139" class="LineNr"> 139 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L140" class="LineNr"> 140 </span>    <span class="PreProc">return</span>
+<span id="L141" class="LineNr"> 141 </span>  <span class="Delimiter">}</span>
+<span id="L142" class="LineNr"> 142 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L143" class="LineNr"> 143 </span>  <span class="PreProc">var</span> left-index/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L275'>top-most-word</a> left
+<span id="L144" class="LineNr"> 144 </span>  <a href='514gap-buffer.mu.html#L297'>emit-stack-from-index</a> left, left-index, out
+<span id="L145" class="LineNr"> 145 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L146" class="LineNr"> 146 </span>  <span class="PreProc">var</span> right-index/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L275'>top-most-word</a> right
+<span id="L147" class="LineNr"> 147 </span>  <a href='514gap-buffer.mu.html#L314'>emit-stack-to-index</a> right, right-index, out
+<span id="L148" class="LineNr"> 148 </span><span class="Delimiter">}</span>
+<span id="L149" class="LineNr"> 149 </span>
+<span id="L150" class="LineNr"> 150 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L150'>test-word-at-gap-single-word-with-gap-at-end</a></span> <span class="Delimiter">{</span>
+<span id="L151" class="LineNr"> 151 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L152" class="LineNr"> 152 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L153" class="LineNr"> 153 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc&quot;</span>
+<span id="L154" class="LineNr"> 154 </span>  <span class="muComment"># gap is at end (right is empty)</span>
+<span id="L155" class="LineNr"> 155 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L156" class="LineNr"> 156 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L157" class="LineNr"> 157 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L158" class="LineNr"> 158 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-single-word-with-gap-at-end&quot;</span>
+<span id="L159" class="LineNr"> 159 </span><span class="Delimiter">}</span>
+<span id="L160" class="LineNr"> 160 </span>
+<span id="L161" class="LineNr"> 161 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L161'>test-word-at-gap-single-word-with-gap-at-start</a></span> <span class="Delimiter">{</span>
+<span id="L162" class="LineNr"> 162 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L163" class="LineNr"> 163 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L164" class="LineNr"> 164 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc&quot;</span>
+<span id="L165" class="LineNr"> 165 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> g
+<span id="L166" class="LineNr"> 166 </span>  <span class="muComment">#</span>
+<span id="L167" class="LineNr"> 167 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L168" class="LineNr"> 168 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L169" class="LineNr"> 169 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L170" class="LineNr"> 170 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-single-word-with-gap-at-start&quot;</span>
+<span id="L171" class="LineNr"> 171 </span><span class="Delimiter">}</span>
+<span id="L172" class="LineNr"> 172 </span>
+<span id="L173" class="LineNr"> 173 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L173'>test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-end</a></span> <span class="Delimiter">{</span>
+<span id="L174" class="LineNr"> 174 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L175" class="LineNr"> 175 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L176" class="LineNr"> 176 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc &quot;</span>
+<span id="L177" class="LineNr"> 177 </span>  <span class="muComment"># gap is at end (right is empty)</span>
+<span id="L178" class="LineNr"> 178 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L179" class="LineNr"> 179 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L180" class="LineNr"> 180 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L181" class="LineNr"> 181 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-end&quot;</span>
+<span id="L182" class="LineNr"> 182 </span><span class="Delimiter">}</span>
+<span id="L183" class="LineNr"> 183 </span>
+<span id="L184" class="LineNr"> 184 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L184'>test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-start</a></span> <span class="Delimiter">{</span>
+<span id="L185" class="LineNr"> 185 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L186" class="LineNr"> 186 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L187" class="LineNr"> 187 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot; abc&quot;</span>
+<span id="L188" class="LineNr"> 188 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> g
+<span id="L189" class="LineNr"> 189 </span>  <span class="muComment">#</span>
+<span id="L190" class="LineNr"> 190 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L191" class="LineNr"> 191 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L192" class="LineNr"> 192 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L193" class="LineNr"> 193 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-non-word-grapheme-at-start&quot;</span>
+<span id="L194" class="LineNr"> 194 </span><span class="Delimiter">}</span>
+<span id="L195" class="LineNr"> 195 </span>
+<span id="L196" class="LineNr"> 196 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L196'>test-word-at-gap-multiple-words-with-gap-at-end</a></span> <span class="Delimiter">{</span>
+<span id="L197" class="LineNr"> 197 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L198" class="LineNr"> 198 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L199" class="LineNr"> 199 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;a bc d&quot;</span>
+<span id="L200" class="LineNr"> 200 </span>  <span class="muComment"># gap is at end (right is empty)</span>
+<span id="L201" class="LineNr"> 201 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L202" class="LineNr"> 202 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L203" class="LineNr"> 203 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L204" class="LineNr"> 204 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;d&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-end&quot;</span>
+<span id="L205" class="LineNr"> 205 </span><span class="Delimiter">}</span>
+<span id="L206" class="LineNr"> 206 </span>
+<span id="L207" class="LineNr"> 207 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L207'>test-word-at-gap-multiple-words-with-gap-at-initial-word</a></span> <span class="Delimiter">{</span>
+<span id="L208" class="LineNr"> 208 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L209" class="LineNr"> 209 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L210" class="LineNr"> 210 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;a bc d&quot;</span>
+<span id="L211" class="LineNr"> 211 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> g
+<span id="L212" class="LineNr"> 212 </span>  <span class="muComment">#</span>
+<span id="L213" class="LineNr"> 213 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L214" class="LineNr"> 214 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L215" class="LineNr"> 215 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L216" class="LineNr"> 216 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-initial-word&quot;</span>
+<span id="L217" class="LineNr"> 217 </span><span class="Delimiter">}</span>
+<span id="L218" class="LineNr"> 218 </span>
+<span id="L219" class="LineNr"> 219 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L219'>test-word-at-gap-multiple-words-with-gap-at-final-word</a></span> <span class="Delimiter">{</span>
+<span id="L220" class="LineNr"> 220 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L221" class="LineNr"> 221 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L222" class="LineNr"> 222 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;a bc d&quot;</span>
+<span id="L223" class="LineNr"> 223 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> g
+<span id="L224" class="LineNr"> 224 </span>  <span class="muComment"># gap is at final word</span>
+<span id="L225" class="LineNr"> 225 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L226" class="LineNr"> 226 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L227" class="LineNr"> 227 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L228" class="LineNr"> 228 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;d&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-final-word&quot;</span>
+<span id="L229" class="LineNr"> 229 </span><span class="Delimiter">}</span>
+<span id="L230" class="LineNr"> 230 </span>
+<span id="L231" class="LineNr"> 231 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L231'>test-word-at-gap-multiple-words-with-gap-at-final-non-word</a></span> <span class="Delimiter">{</span>
+<span id="L232" class="LineNr"> 232 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L233" class="LineNr"> 233 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L234" class="LineNr"> 234 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> g, <span class="Constant">&quot;abc &quot;</span>
+<span id="L235" class="LineNr"> 235 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> g
+<span id="L236" class="LineNr"> 236 </span>  <span class="muComment"># gap is at final word</span>
+<span id="L237" class="LineNr"> 237 </span>  <span class="PreProc">var</span> out-storage: (stream byte <span class="Constant">0x10</span>)
+<span id="L238" class="LineNr"> 238 </span>  <span class="PreProc">var</span> out/eax: (addr stream byte) <span class="Special">&lt;-</span> address out-storage
+<span id="L239" class="LineNr"> 239 </span>  <a href='514gap-buffer.mu.html#L132'>word-at-gap</a> g, out
+<span id="L240" class="LineNr"> 240 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> out, <span class="Constant">&quot;&quot;</span>, <span class="Constant">&quot;F - test-word-at-gap-multiple-words-with-gap-at-final-non-word&quot;</span>
+<span id="L241" class="LineNr"> 241 </span><span class="Delimiter">}</span>
+<span id="L242" class="LineNr"> 242 </span>
+<span id="L243" class="LineNr"> 243 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L243'>grapheme-at-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L244" class="LineNr"> 244 </span>  <span class="muComment"># send top of right most of the time</span>
+<span id="L245" class="LineNr"> 245 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L246" class="LineNr"> 246 </span>  <span class="PreProc">var</span> right/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L247" class="LineNr"> 247 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
+<span id="L248" class="LineNr"> 248 </span>  <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L249" class="LineNr"> 249 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get right, top
+<span id="L250" class="LineNr"> 250 </span>  <span class="Delimiter">{</span>
+<span id="L251" class="LineNr"> 251 </span>    compare *top-addr, <span class="Constant">0</span>
+<span id="L252" class="LineNr"> 252 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L253" class="LineNr"> 253 </span>    <span class="PreProc">var</span> top/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L254" class="LineNr"> 254 </span>    top <span class="Special">&lt;-</span> decrement
+<span id="L255" class="LineNr"> 255 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top
+<span id="L256" class="LineNr"> 256 </span>    <span class="PreProc">return</span> *result
+<span id="L257" class="LineNr"> 257 </span>  <span class="Delimiter">}</span>
+<span id="L258" class="LineNr"> 258 </span>  <span class="muComment"># send top of left only if right is empty</span>
+<span id="L259" class="LineNr"> 259 </span>  <span class="PreProc">var</span> left/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L260" class="LineNr"> 260 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
+<span id="L261" class="LineNr"> 261 </span>  <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L262" class="LineNr"> 262 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
+<span id="L263" class="LineNr"> 263 </span>  <span class="Delimiter">{</span>
+<span id="L264" class="LineNr"> 264 </span>    compare *top-addr, <span class="Constant">0</span>
+<span id="L265" class="LineNr"> 265 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L266" class="LineNr"> 266 </span>    <span class="PreProc">var</span> top/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L267" class="LineNr"> 267 </span>    top <span class="Special">&lt;-</span> decrement
+<span id="L268" class="LineNr"> 268 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top
+<span id="L269" class="LineNr"> 269 </span>    <span class="PreProc">return</span> *result
+<span id="L270" class="LineNr"> 270 </span>  <span class="Delimiter">}</span>
+<span id="L271" class="LineNr"> 271 </span>  <span class="muComment"># send null if everything is empty</span>
+<span id="L272" class="LineNr"> 272 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>
+<span id="L273" class="LineNr"> 273 </span><span class="Delimiter">}</span>
+<span id="L274" class="LineNr"> 274 </span>
+<span id="L275" class="LineNr"> 275 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L275'>top-most-word</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L276" class="LineNr"> 276 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L277" class="LineNr"> 277 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
+<span id="L278" class="LineNr"> 278 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L279" class="LineNr"> 279 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
+<span id="L280" class="LineNr"> 280 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
+<span id="L281" class="LineNr"> 281 </span>  <span class="PreProc">var</span> i/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L282" class="LineNr"> 282 </span>  i <span class="Special">&lt;-</span> decrement
+<span id="L283" class="LineNr"> 283 </span>  <span class="Delimiter">{</span>
+<span id="L284" class="LineNr"> 284 </span>    compare i, <span class="Constant">0</span>
+<span id="L285" class="LineNr"> 285 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L286" class="LineNr"> 286 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
+<span id="L287" class="LineNr"> 287 </span>    <span class="PreProc">var</span> is-word?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L334'>is-ascii-word-grapheme?</a> *g
+<span id="L288" class="LineNr"> 288 </span>    compare is-word?, <span class="Constant">0</span>/false
+<span id="L289" class="LineNr"> 289 </span>    <span class="PreProc">break-if-=</span>
+<span id="L290" class="LineNr"> 290 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L291" class="LineNr"> 291 </span>    <span class="PreProc">loop</span>
+<span id="L292" class="LineNr"> 292 </span>  <span class="Delimiter">}</span>
+<span id="L293" class="LineNr"> 293 </span>  i <span class="Special">&lt;-</span> increment
+<span id="L294" class="LineNr"> 294 </span>  <span class="PreProc">return</span> i
+<span id="L295" class="LineNr"> 295 </span><span class="Delimiter">}</span>
+<span id="L296" class="LineNr"> 296 </span>
+<span id="L297" class="LineNr"> 297 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L297'>emit-stack-from-index</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), start: int, out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L298" class="LineNr"> 298 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L299" class="LineNr"> 299 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
+<span id="L300" class="LineNr"> 300 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L301" class="LineNr"> 301 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
+<span id="L302" class="LineNr"> 302 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
+<span id="L303" class="LineNr"> 303 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy start
+<span id="L304" class="LineNr"> 304 </span>  <span class="Delimiter">{</span>
+<span id="L305" class="LineNr"> 305 </span>    compare i, *top-addr
+<span id="L306" class="LineNr"> 306 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L307" class="LineNr"> 307 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
+<span id="L308" class="LineNr"> 308 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
+<span id="L309" class="LineNr"> 309 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L310" class="LineNr"> 310 </span>    <span class="PreProc">loop</span>
+<span id="L311" class="LineNr"> 311 </span>  <span class="Delimiter">}</span>
+<span id="L312" class="LineNr"> 312 </span><span class="Delimiter">}</span>
+<span id="L313" class="LineNr"> 313 </span>
+<span id="L314" class="LineNr"> 314 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L314'>emit-stack-to-index</a></span> _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), end: int, out: (addr stream byte) <span class="Delimiter">{</span>
+<span id="L315" class="LineNr"> 315 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L316" class="LineNr"> 316 </span>  <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
+<span id="L317" class="LineNr"> 317 </span>  <span class="PreProc">var</span> _data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L318" class="LineNr"> 318 </span>  <span class="PreProc">var</span> data/<span class="muRegEdi">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
+<span id="L319" class="LineNr"> 319 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
+<span id="L320" class="LineNr"> 320 </span>  <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L321" class="LineNr"> 321 </span>  i <span class="Special">&lt;-</span> decrement
+<span id="L322" class="LineNr"> 322 </span>  <span class="Delimiter">{</span>
+<span id="L323" class="LineNr"> 323 </span>    compare i, <span class="Constant">0</span>
+<span id="L324" class="LineNr"> 324 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L325" class="LineNr"> 325 </span>    compare i, end
+<span id="L326" class="LineNr"> 326 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L327" class="LineNr"> 327 </span>    <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
+<span id="L328" class="LineNr"> 328 </span>    <a href='403unicode.mu.html#L339'>write-grapheme</a> out, *g
+<span id="L329" class="LineNr"> 329 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L330" class="LineNr"> 330 </span>    <span class="PreProc">loop</span>
+<span id="L331" class="LineNr"> 331 </span>  <span class="Delimiter">}</span>
+<span id="L332" class="LineNr"> 332 </span><span class="Delimiter">}</span>
+<span id="L333" class="LineNr"> 333 </span>
+<span id="L334" class="LineNr"> 334 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L334'>is-ascii-word-grapheme?</a></span> g: grapheme<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L335" class="LineNr"> 335 </span>  compare g, <span class="Constant">0x21</span>/!
+<span id="L336" class="LineNr"> 336 </span>  <span class="Delimiter">{</span>
+<span id="L337" class="LineNr"> 337 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L338" class="LineNr"> 338 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L339" class="LineNr"> 339 </span>  <span class="Delimiter">}</span>
+<span id="L340" class="LineNr"> 340 </span>  compare g, <span class="Constant">0x30</span>/<span class="Constant">0</span>
+<span id="L341" class="LineNr"> 341 </span>  <span class="Delimiter">{</span>
+<span id="L342" class="LineNr"> 342 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L343" class="LineNr"> 343 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L344" class="LineNr"> 344 </span>  <span class="Delimiter">}</span>
+<span id="L345" class="LineNr"> 345 </span>  compare g, <span class="Constant">0x39</span>/<span class="Constant">9</span>
+<span id="L346" class="LineNr"> 346 </span>  <span class="Delimiter">{</span>
+<span id="L347" class="LineNr"> 347 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L348" class="LineNr"> 348 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L349" class="LineNr"> 349 </span>  <span class="Delimiter">}</span>
+<span id="L350" class="LineNr"> 350 </span>  compare g, <span class="Constant">0x3f</span>/?
+<span id="L351" class="LineNr"> 351 </span>  <span class="Delimiter">{</span>
+<span id="L352" class="LineNr"> 352 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L353" class="LineNr"> 353 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L354" class="LineNr"> 354 </span>  <span class="Delimiter">}</span>
+<span id="L355" class="LineNr"> 355 </span>  compare g, <span class="Constant">0x41</span>/A
+<span id="L356" class="LineNr"> 356 </span>  <span class="Delimiter">{</span>
+<span id="L357" class="LineNr"> 357 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L358" class="LineNr"> 358 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L359" class="LineNr"> 359 </span>  <span class="Delimiter">}</span>
+<span id="L360" class="LineNr"> 360 </span>  compare g, <span class="Constant">0x5a</span>/Z
+<span id="L361" class="LineNr"> 361 </span>  <span class="Delimiter">{</span>
+<span id="L362" class="LineNr"> 362 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L363" class="LineNr"> 363 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L364" class="LineNr"> 364 </span>  <span class="Delimiter">}</span>
+<span id="L365" class="LineNr"> 365 </span>  compare g, <span class="Constant">0x5f</span>/_
+<span id="L366" class="LineNr"> 366 </span>  <span class="Delimiter">{</span>
+<span id="L367" class="LineNr"> 367 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L368" class="LineNr"> 368 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L369" class="LineNr"> 369 </span>  <span class="Delimiter">}</span>
+<span id="L370" class="LineNr"> 370 </span>  compare g, <span class="Constant">0x61</span>/a
+<span id="L371" class="LineNr"> 371 </span>  <span class="Delimiter">{</span>
+<span id="L372" class="LineNr"> 372 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L373" class="LineNr"> 373 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L374" class="LineNr"> 374 </span>  <span class="Delimiter">}</span>
+<span id="L375" class="LineNr"> 375 </span>  compare g, <span class="Constant">0x7a</span>/z
+<span id="L376" class="LineNr"> 376 </span>  <span class="Delimiter">{</span>
+<span id="L377" class="LineNr"> 377 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L378" class="LineNr"> 378 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L379" class="LineNr"> 379 </span>  <span class="Delimiter">}</span>
+<span id="L380" class="LineNr"> 380 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L381" class="LineNr"> 381 </span><span class="Delimiter">}</span>
+<span id="L382" class="LineNr"> 382 </span>
+<span id="L383" class="LineNr"> 383 </span><span class="muComment"># We implicitly render everything editable in a single color, and assume the</span>
+<span id="L384" class="LineNr"> 384 </span><span class="muComment"># cursor is a single other color.</span>
+<span id="L385" class="LineNr"> 385 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), xmin: int, ymin: int, xmax: int, ymax: int, render-cursor?: boolean, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L386" class="LineNr"> 386 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _gap
+<span id="L387" class="LineNr"> 387 </span>  <span class="PreProc">var</span> left/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, left
+<span id="L388" class="LineNr"> 388 </span>  <span class="PreProc">var</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>/<span class="muRegEbx">ebx</span>: boolean <span class="Special">&lt;-</span> copy <span class="Constant">0</span>/false
+<span id="L389" class="LineNr"> 389 </span>  <span class="PreProc">var</span> matching-open-paren-depth/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L390" class="LineNr"> 390 </span>  <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, matching-open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a> gap, render-cursor?
+<span id="L391" class="LineNr"> 391 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L392" class="LineNr"> 392 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L393" class="LineNr"> 393 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, left, xmin, ymin, xmax, ymax, xmin, ymin, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, matching-open-paren-depth, color, background-color
+<span id="L394" class="LineNr"> 394 </span>  <span class="PreProc">var</span> right/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, right
+<span id="L395" class="LineNr"> 395 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L143'>render-stack-from-top-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, right, xmin, ymin, xmax, ymax, x2, y2, render-cursor?, color, background-color
+<span id="L396" class="LineNr"> 396 </span>  <span class="muComment"># decide whether we still need to print a cursor</span>
+<span id="L397" class="LineNr"> 397 </span>  <span class="PreProc">var</span> fg/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy color
+<span id="L398" class="LineNr"> 398 </span>  <span class="PreProc">var</span> bg/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy background-color
+<span id="L399" class="LineNr"> 399 </span>  compare render-cursor?, <span class="Constant">0</span>/false
+<span id="L400" class="LineNr"> 400 </span>  <span class="Delimiter">{</span>
+<span id="L401" class="LineNr"> 401 </span>    <span class="PreProc">break-if-=</span>
+<span id="L402" class="LineNr"> 402 </span>    <span class="muComment"># if the right side is empty, grapheme stack didn't print the cursor</span>
+<span id="L403" class="LineNr"> 403 </span>    <span class="PreProc">var</span> empty?/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L22'>grapheme-stack-empty?</a> right
+<span id="L404" class="LineNr"> 404 </span>    compare empty?, <span class="Constant">0</span>/false
+<span id="L405" class="LineNr"> 405 </span>    <span class="PreProc">break-if-=</span>
+<span id="L406" class="LineNr"> 406 </span>    <span class="muComment"># swap foreground and background</span>
+<span id="L407" class="LineNr"> 407 </span>    fg <span class="Special">&lt;-</span> copy background-color
+<span id="L408" class="LineNr"> 408 </span>    bg <span class="Special">&lt;-</span> copy color
+<span id="L409" class="LineNr"> 409 </span>  <span class="Delimiter">}</span>
+<span id="L410" class="LineNr"> 410 </span>  <span class="muComment"># print a grapheme either way so that cursor position doesn't affect printed width</span>
+<span id="L411" class="LineNr"> 411 </span>  <span class="PreProc">var</span> space/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>
+<span id="L412" class="LineNr"> 412 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, space, xmin, ymin, xmax, ymax, x2, y2, fg, bg
+<span id="L413" class="LineNr"> 413 </span>  <span class="PreProc">return</span> x2, y2
+<span id="L414" class="LineNr"> 414 </span><span class="Delimiter">}</span>
+<span id="L415" class="LineNr"> 415 </span>
+<span id="L416" class="LineNr"> 416 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), x: int, y: int, render-cursor?: boolean, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L417" class="LineNr"> 417 </span>  <span class="PreProc">var</span> _width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L418" class="LineNr"> 418 </span>  <span class="PreProc">var</span> _height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L419" class="LineNr"> 419 </span>  _width, _height <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L420" class="LineNr"> 420 </span>  <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy _width
+<span id="L421" class="LineNr"> 421 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _height
+<span id="L422" class="LineNr"> 422 </span>  <span class="PreProc">var</span> x2/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L423" class="LineNr"> 423 </span>  <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L424" class="LineNr"> 424 </span>  x2, y2 <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, x, y, width, height, render-cursor?, color, background-color
+<span id="L425" class="LineNr"> 425 </span>  <span class="PreProc">return</span> x2  <span class="muComment"># y2? yolo</span>
+<span id="L426" class="LineNr"> 426 </span><span class="Delimiter">}</span>
+<span id="L427" class="LineNr"> 427 </span>
+<span id="L428" class="LineNr"> 428 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L428'>gap-buffer-length</a></span> _gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L429" class="LineNr"> 429 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _gap
+<span id="L430" class="LineNr"> 430 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, left
+<span id="L431" class="LineNr"> 431 </span>  <span class="PreProc">var</span> tmp/eax: (addr int) <span class="Special">&lt;-</span> get left, top
+<span id="L432" class="LineNr"> 432 </span>  <span class="PreProc">var</span> left-length/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *tmp
+<span id="L433" class="LineNr"> 433 </span>  <span class="PreProc">var</span> right/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, right
+<span id="L434" class="LineNr"> 434 </span>  tmp <span class="Special">&lt;-</span> get right, top
+<span id="L435" class="LineNr"> 435 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *tmp
+<span id="L436" class="LineNr"> 436 </span>  result <span class="Special">&lt;-</span> add left-length
+<span id="L437" class="LineNr"> 437 </span>  <span class="PreProc">return</span> result
+<span id="L438" class="LineNr"> 438 </span><span class="Delimiter">}</span>
+<span id="L439" class="LineNr"> 439 </span>
+<span id="L440" class="LineNr"> 440 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), g: grapheme <span class="Delimiter">{</span>
+<span id="L441" class="LineNr"> 441 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L442" class="LineNr"> 442 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L443" class="LineNr"> 443 </span>  <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> left, g
+<span id="L444" class="LineNr"> 444 </span><span class="Delimiter">}</span>
+<span id="L445" class="LineNr"> 445 </span>
+<span id="L446" class="LineNr"> 446 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), c: code-point <span class="Delimiter">{</span>
+<span id="L447" class="LineNr"> 447 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy c
+<span id="L448" class="LineNr"> 448 </span>  <a href='514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> self, g
+<span id="L449" class="LineNr"> 449 </span><span class="Delimiter">}</span>
+<span id="L450" class="LineNr"> 450 </span>
+<span id="L451" class="LineNr"> 451 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L451'>gap-to-start</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L452" class="LineNr"> 452 </span>  <span class="Delimiter">{</span>
+<span id="L453" class="LineNr"> 453 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L454" class="LineNr"> 454 </span>    compare curr, <span class="Constant">-1</span>
+<span id="L455" class="LineNr"> 455 </span>    <span class="PreProc">loop-if-!=</span>
+<span id="L456" class="LineNr"> 456 </span>  <span class="Delimiter">}</span>
+<span id="L457" class="LineNr"> 457 </span><span class="Delimiter">}</span>
+<span id="L458" class="LineNr"> 458 </span>
+<span id="L459" class="LineNr"> 459 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L459'>gap-to-end</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L460" class="LineNr"> 460 </span>  <span class="Delimiter">{</span>
+<span id="L461" class="LineNr"> 461 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L462" class="LineNr"> 462 </span>    compare curr, <span class="Constant">-1</span>
+<span id="L463" class="LineNr"> 463 </span>    <span class="PreProc">loop-if-!=</span>
+<span id="L464" class="LineNr"> 464 </span>  <span class="Delimiter">}</span>
+<span id="L465" class="LineNr"> 465 </span><span class="Delimiter">}</span>
+<span id="L466" class="LineNr"> 466 </span>
+<span id="L467" class="LineNr"> 467 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L467'>gap-at-start?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L468" class="LineNr"> 468 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L469" class="LineNr"> 469 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L470" class="LineNr"> 470 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L22'>grapheme-stack-empty?</a> left
+<span id="L471" class="LineNr"> 471 </span>  <span class="PreProc">return</span> result
+<span id="L472" class="LineNr"> 472 </span><span class="Delimiter">}</span>
+<span id="L473" class="LineNr"> 473 </span>
+<span id="L474" class="LineNr"> 474 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L474'>gap-at-end?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L475" class="LineNr"> 475 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L476" class="LineNr"> 476 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L477" class="LineNr"> 477 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L22'>grapheme-stack-empty?</a> right
+<span id="L478" class="LineNr"> 478 </span>  <span class="PreProc">return</span> result
+<span id="L479" class="LineNr"> 479 </span><span class="Delimiter">}</span>
+<span id="L480" class="LineNr"> 480 </span>
+<span id="L481" class="LineNr"> 481 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L481'>gap-right</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L482" class="LineNr"> 482 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L483" class="LineNr"> 483 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L484" class="LineNr"> 484 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L485" class="LineNr"> 485 </span>  g <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> right
+<span id="L486" class="LineNr"> 486 </span>  compare g, <span class="Constant">-1</span>
+<span id="L487" class="LineNr"> 487 </span>  <span class="Delimiter">{</span>
+<span id="L488" class="LineNr"> 488 </span>    <span class="PreProc">break-if-=</span>
+<span id="L489" class="LineNr"> 489 </span>    <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L490" class="LineNr"> 490 </span>    <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> left, g
+<span id="L491" class="LineNr"> 491 </span>  <span class="Delimiter">}</span>
+<span id="L492" class="LineNr"> 492 </span>  <span class="PreProc">return</span> g
+<span id="L493" class="LineNr"> 493 </span><span class="Delimiter">}</span>
+<span id="L494" class="LineNr"> 494 </span>
+<span id="L495" class="LineNr"> 495 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L495'>gap-left</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L496" class="LineNr"> 496 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L497" class="LineNr"> 497 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L498" class="LineNr"> 498 </span>  <span class="Delimiter">{</span>
+<span id="L499" class="LineNr"> 499 </span>    <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L500" class="LineNr"> 500 </span>    g <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> left
+<span id="L501" class="LineNr"> 501 </span>  <span class="Delimiter">}</span>
+<span id="L502" class="LineNr"> 502 </span>  compare g, <span class="Constant">-1</span>
+<span id="L503" class="LineNr"> 503 </span>  <span class="Delimiter">{</span>
+<span id="L504" class="LineNr"> 504 </span>    <span class="PreProc">break-if-=</span>
+<span id="L505" class="LineNr"> 505 </span>    <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L506" class="LineNr"> 506 </span>    <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> right, g
+<span id="L507" class="LineNr"> 507 </span>  <span class="Delimiter">}</span>
+<span id="L508" class="LineNr"> 508 </span>  <span class="PreProc">return</span> g
+<span id="L509" class="LineNr"> 509 </span><span class="Delimiter">}</span>
+<span id="L510" class="LineNr"> 510 </span>
+<span id="L511" class="LineNr"> 511 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L511'>index-of-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L512" class="LineNr"> 512 </span>  <span class="PreProc">var</span> self/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L513" class="LineNr"> 513 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L514" class="LineNr"> 514 </span>  <span class="PreProc">var</span> top-addr/eax: (addr int) <span class="Special">&lt;-</span> get left, top
+<span id="L515" class="LineNr"> 515 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L516" class="LineNr"> 516 </span>  <span class="PreProc">return</span> result
+<span id="L517" class="LineNr"> 517 </span><span class="Delimiter">}</span>
+<span id="L518" class="LineNr"> 518 </span>
+<span id="L519" class="LineNr"> 519 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L519'>first-grapheme-in-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L520" class="LineNr"> 520 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L521" class="LineNr"> 521 </span>  <span class="muComment"># try to read from left</span>
+<span id="L522" class="LineNr"> 522 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L523" class="LineNr"> 523 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
+<span id="L524" class="LineNr"> 524 </span>  compare *top-addr, <span class="Constant">0</span>
+<span id="L525" class="LineNr"> 525 </span>  <span class="Delimiter">{</span>
+<span id="L526" class="LineNr"> 526 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L527" class="LineNr"> 527 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
+<span id="L528" class="LineNr"> 528 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L529" class="LineNr"> 529 </span>    <span class="PreProc">var</span> result-addr/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, <span class="Constant">0</span>
+<span id="L530" class="LineNr"> 530 </span>    <span class="PreProc">return</span> *result-addr
+<span id="L531" class="LineNr"> 531 </span>  <span class="Delimiter">}</span>
+<span id="L532" class="LineNr"> 532 </span>  <span class="muComment"># try to read from right</span>
+<span id="L533" class="LineNr"> 533 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L534" class="LineNr"> 534 </span>  top-addr <span class="Special">&lt;-</span> get right, top
+<span id="L535" class="LineNr"> 535 </span>  compare *top-addr, <span class="Constant">0</span>
+<span id="L536" class="LineNr"> 536 </span>  <span class="Delimiter">{</span>
+<span id="L537" class="LineNr"> 537 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L538" class="LineNr"> 538 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
+<span id="L539" class="LineNr"> 539 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L540" class="LineNr"> 540 </span>    <span class="PreProc">var</span> top/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L541" class="LineNr"> 541 </span>    top <span class="Special">&lt;-</span> decrement
+<span id="L542" class="LineNr"> 542 </span>    <span class="PreProc">var</span> result-addr/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top
+<span id="L543" class="LineNr"> 543 </span>    <span class="PreProc">return</span> *result-addr
+<span id="L544" class="LineNr"> 544 </span>  <span class="Delimiter">}</span>
+<span id="L545" class="LineNr"> 545 </span>  <span class="muComment"># give up</span>
+<span id="L546" class="LineNr"> 546 </span>  <span class="PreProc">return</span> <span class="Constant">-1</span>
+<span id="L547" class="LineNr"> 547 </span><span class="Delimiter">}</span>
+<span id="L548" class="LineNr"> 548 </span>
+<span id="L549" class="LineNr"> 549 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L549'>grapheme-before-cursor-in-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L550" class="LineNr"> 550 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L551" class="LineNr"> 551 </span>  <span class="muComment"># try to read from left</span>
+<span id="L552" class="LineNr"> 552 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L553" class="LineNr"> 553 </span>  <span class="PreProc">var</span> top-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
+<span id="L554" class="LineNr"> 554 </span>  compare *top-addr, <span class="Constant">0</span>
+<span id="L555" class="LineNr"> 555 </span>  <span class="Delimiter">{</span>
+<span id="L556" class="LineNr"> 556 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L557" class="LineNr"> 557 </span>    <span class="PreProc">var</span> result/eax: grapheme <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> left
+<span id="L558" class="LineNr"> 558 </span>    <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> left, result
+<span id="L559" class="LineNr"> 559 </span>    <span class="PreProc">return</span> result
+<span id="L560" class="LineNr"> 560 </span>  <span class="Delimiter">}</span>
+<span id="L561" class="LineNr"> 561 </span>  <span class="muComment"># give up</span>
+<span id="L562" class="LineNr"> 562 </span>  <span class="PreProc">return</span> <span class="Constant">-1</span>
+<span id="L563" class="LineNr"> 563 </span><span class="Delimiter">}</span>
+<span id="L564" class="LineNr"> 564 </span>
+<span id="L565" class="LineNr"> 565 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L565'>delete-before-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L566" class="LineNr"> 566 </span>  <span class="PreProc">var</span> self/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L567" class="LineNr"> 567 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L568" class="LineNr"> 568 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> left
+<span id="L569" class="LineNr"> 569 </span><span class="Delimiter">}</span>
+<span id="L570" class="LineNr"> 570 </span>
+<span id="L571" class="LineNr"> 571 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L571'>pop-after-gap</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L572" class="LineNr"> 572 </span>  <span class="PreProc">var</span> self/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L573" class="LineNr"> 573 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L574" class="LineNr"> 574 </span>  <span class="PreProc">var</span> result/eax: grapheme <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L51'>pop-grapheme-stack</a> right
+<span id="L575" class="LineNr"> 575 </span>  <span class="PreProc">return</span> result
+<span id="L576" class="LineNr"> 576 </span><span class="Delimiter">}</span>
+<span id="L577" class="LineNr"> 577 </span>
+<span id="L578" class="LineNr"> 578 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L578'>gap-buffer-equal?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), s: (addr array byte)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L579" class="LineNr"> 579 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L580" class="LineNr"> 580 </span>  <span class="muComment"># complication: graphemes may be multiple bytes</span>
+<span id="L581" class="LineNr"> 581 </span>  <span class="muComment"># so don't rely on length</span>
+<span id="L582" class="LineNr"> 582 </span>  <span class="muComment"># instead turn the expected result into a stream and arrange to read from it in order</span>
+<span id="L583" class="LineNr"> 583 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x10</span>/capacity)
+<span id="L584" class="LineNr"> 584 </span>  <span class="PreProc">var</span> expected-stream/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L585" class="LineNr"> 585 </span>  <a href='108write.subx.html#L11'>write</a> expected-stream, s
+<span id="L586" class="LineNr"> 586 </span>  <span class="muComment"># compare left</span>
+<span id="L587" class="LineNr"> 587 </span>  <span class="PreProc">var</span> left/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L588" class="LineNr"> 588 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L497'>prefix-match?</a> left, expected-stream
+<span id="L589" class="LineNr"> 589 </span>  compare result, <span class="Constant">0</span>/false
+<span id="L590" class="LineNr"> 590 </span>  <span class="Delimiter">{</span>
+<span id="L591" class="LineNr"> 591 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L592" class="LineNr"> 592 </span>    <span class="PreProc">return</span> result
+<span id="L593" class="LineNr"> 593 </span>  <span class="Delimiter">}</span>
+<span id="L594" class="LineNr"> 594 </span>  <span class="muComment"># compare right</span>
+<span id="L595" class="LineNr"> 595 </span>  <span class="PreProc">var</span> right/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L596" class="LineNr"> 596 </span>  result <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L525'>suffix-match?</a> right, expected-stream
+<span id="L597" class="LineNr"> 597 </span>  compare result, <span class="Constant">0</span>/false
+<span id="L598" class="LineNr"> 598 </span>  <span class="Delimiter">{</span>
+<span id="L599" class="LineNr"> 599 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L600" class="LineNr"> 600 </span>    <span class="PreProc">return</span> result
+<span id="L601" class="LineNr"> 601 </span>  <span class="Delimiter">}</span>
+<span id="L602" class="LineNr"> 602 </span>  <span class="muComment"># ensure there's nothing left over</span>
+<span id="L603" class="LineNr"> 603 </span>  result <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> expected-stream
+<span id="L604" class="LineNr"> 604 </span>  <span class="PreProc">return</span> result
+<span id="L605" class="LineNr"> 605 </span><span class="Delimiter">}</span>
+<span id="L606" class="LineNr"> 606 </span>
+<span id="L607" class="LineNr"> 607 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L607'>test-gap-buffer-equal-from-end</a></span> <span class="Delimiter">{</span>
+<span id="L608" class="LineNr"> 608 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L609" class="LineNr"> 609 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L610" class="LineNr"> 610 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
+<span id="L611" class="LineNr"> 611 </span>  <span class="muComment">#</span>
+<span id="L612" class="LineNr"> 612 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L613" class="LineNr"> 613 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L614" class="LineNr"> 614 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L615" class="LineNr"> 615 </span>  <span class="muComment"># gap is at end (right is empty)</span>
+<span id="L616" class="LineNr"> 616 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L578'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aaa&quot;</span>
+<span id="L617" class="LineNr"> 617 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-from-end&quot;</span>
+<span id="L618" class="LineNr"> 618 </span><span class="Delimiter">}</span>
+<span id="L619" class="LineNr"> 619 </span>
+<span id="L620" class="LineNr"> 620 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L620'>test-gap-buffer-equal-from-middle</a></span> <span class="Delimiter">{</span>
+<span id="L621" class="LineNr"> 621 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L622" class="LineNr"> 622 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L623" class="LineNr"> 623 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
+<span id="L624" class="LineNr"> 624 </span>  <span class="muComment">#</span>
+<span id="L625" class="LineNr"> 625 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L626" class="LineNr"> 626 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L627" class="LineNr"> 627 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L628" class="LineNr"> 628 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> g
+<span id="L629" class="LineNr"> 629 </span>  <span class="muComment"># gap is in the middle</span>
+<span id="L630" class="LineNr"> 630 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L578'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aaa&quot;</span>
+<span id="L631" class="LineNr"> 631 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-from-middle&quot;</span>
+<span id="L632" class="LineNr"> 632 </span><span class="Delimiter">}</span>
+<span id="L633" class="LineNr"> 633 </span>
+<span id="L634" class="LineNr"> 634 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L634'>test-gap-buffer-equal-from-start</a></span> <span class="Delimiter">{</span>
+<span id="L635" class="LineNr"> 635 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L636" class="LineNr"> 636 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L637" class="LineNr"> 637 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
+<span id="L638" class="LineNr"> 638 </span>  <span class="muComment">#</span>
+<span id="L639" class="LineNr"> 639 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L640" class="LineNr"> 640 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L641" class="LineNr"> 641 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L642" class="LineNr"> 642 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> g
+<span id="L643" class="LineNr"> 643 </span>  dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> g
+<span id="L644" class="LineNr"> 644 </span>  dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> g
+<span id="L645" class="LineNr"> 645 </span>  <span class="muComment"># gap is at the start</span>
+<span id="L646" class="LineNr"> 646 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L578'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aaa&quot;</span>
+<span id="L647" class="LineNr"> 647 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-from-start&quot;</span>
+<span id="L648" class="LineNr"> 648 </span><span class="Delimiter">}</span>
+<span id="L649" class="LineNr"> 649 </span>
+<span id="L650" class="LineNr"> 650 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L650'>test-gap-buffer-equal-fails</a></span> <span class="Delimiter">{</span>
+<span id="L651" class="LineNr"> 651 </span>  <span class="muComment"># g = &quot;aaa&quot;</span>
+<span id="L652" class="LineNr"> 652 </span>  <span class="PreProc">var</span> _g: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L653" class="LineNr"> 653 </span>  <span class="PreProc">var</span> g/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _g
+<span id="L654" class="LineNr"> 654 </span>  <a href='514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> g, <span class="Constant">0x10</span>
+<span id="L655" class="LineNr"> 655 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L656" class="LineNr"> 656 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L657" class="LineNr"> 657 </span>  <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> g, <span class="Constant">0x61</span>/a
+<span id="L658" class="LineNr"> 658 </span>  <span class="muComment">#</span>
+<span id="L659" class="LineNr"> 659 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L578'>gap-buffer-equal?</a> g, <span class="Constant">&quot;aa&quot;</span>
+<span id="L660" class="LineNr"> 660 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - test-gap-buffer-equal-fails&quot;</span>
+<span id="L661" class="LineNr"> 661 </span><span class="Delimiter">}</span>
+<span id="L662" class="LineNr"> 662 </span>
+<span id="L663" class="LineNr"> 663 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L663'>gap-buffers-equal?</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), g: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L664" class="LineNr"> 664 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L428'>gap-buffer-length</a> self
+<span id="L665" class="LineNr"> 665 </span>  <span class="PreProc">var</span> len/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy tmp
+<span id="L666" class="LineNr"> 666 </span>  <span class="PreProc">var</span> leng/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L428'>gap-buffer-length</a> g
+<span id="L667" class="LineNr"> 667 </span>  compare len, leng
+<span id="L668" class="LineNr"> 668 </span>  <span class="Delimiter">{</span>
+<span id="L669" class="LineNr"> 669 </span>    <span class="PreProc">break-if-=</span>
+<span id="L670" class="LineNr"> 670 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L671" class="LineNr"> 671 </span>  <span class="Delimiter">}</span>
+<span id="L672" class="LineNr"> 672 </span>  <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L673" class="LineNr"> 673 </span>  <span class="Delimiter">{</span>
+<span id="L674" class="LineNr"> 674 </span>    compare i, len
+<span id="L675" class="LineNr"> 675 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L676" class="LineNr"> 676 </span>    <span class="Delimiter">{</span>
+<span id="L677" class="LineNr"> 677 </span>      <span class="PreProc">var</span> tmp/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> self, i
+<span id="L678" class="LineNr"> 678 </span>      <span class="PreProc">var</span> curr/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy tmp
+<span id="L679" class="LineNr"> 679 </span>      <span class="PreProc">var</span> currg/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> g, i
+<span id="L680" class="LineNr"> 680 </span>      compare curr, currg
+<span id="L681" class="LineNr"> 681 </span>      <span class="PreProc">break-if-=</span>
+<span id="L682" class="LineNr"> 682 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L683" class="LineNr"> 683 </span>    <span class="Delimiter">}</span>
+<span id="L684" class="LineNr"> 684 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L685" class="LineNr"> 685 </span>    <span class="PreProc">loop</span>
+<span id="L686" class="LineNr"> 686 </span>  <span class="Delimiter">}</span>
+<span id="L687" class="LineNr"> 687 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L688" class="LineNr"> 688 </span><span class="Delimiter">}</span>
+<span id="L689" class="LineNr"> 689 </span>
+<span id="L690" class="LineNr"> 690 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L690'>gap-index</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), _n: int<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L691" class="LineNr"> 691 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L692" class="LineNr"> 692 </span>  <span class="PreProc">var</span> n/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _n
+<span id="L693" class="LineNr"> 693 </span>  <span class="muComment"># if n &lt; left-&gt;length, index into left</span>
+<span id="L694" class="LineNr"> 694 </span>  <span class="PreProc">var</span> left/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L695" class="LineNr"> 695 </span>  <span class="PreProc">var</span> left-len-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get left, top
+<span id="L696" class="LineNr"> 696 </span>  compare n, *left-len-a
+<span id="L697" class="LineNr"> 697 </span>  <span class="Delimiter">{</span>
+<span id="L698" class="LineNr"> 698 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L699" class="LineNr"> 699 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
+<span id="L700" class="LineNr"> 700 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L701" class="LineNr"> 701 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, n
+<span id="L702" class="LineNr"> 702 </span>    <span class="PreProc">return</span> *result
+<span id="L703" class="LineNr"> 703 </span>  <span class="Delimiter">}</span>
+<span id="L704" class="LineNr"> 704 </span>  <span class="muComment"># shrink n</span>
+<span id="L705" class="LineNr"> 705 </span>  n <span class="Special">&lt;-</span> subtract *left-len-a
+<span id="L706" class="LineNr"> 706 </span>  <span class="muComment"># if n &lt; right-&gt;length, index into right</span>
+<span id="L707" class="LineNr"> 707 </span>  <span class="PreProc">var</span> right/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L708" class="LineNr"> 708 </span>  <span class="PreProc">var</span> right-len-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get right, top
+<span id="L709" class="LineNr"> 709 </span>  compare n, *right-len-a
+<span id="L710" class="LineNr"> 710 </span>  <span class="Delimiter">{</span>
+<span id="L711" class="LineNr"> 711 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L712" class="LineNr"> 712 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
+<span id="L713" class="LineNr"> 713 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L714" class="LineNr"> 714 </span>    <span class="muComment"># idx = right-&gt;len - n - 1</span>
+<span id="L715" class="LineNr"> 715 </span>    <span class="PreProc">var</span> idx/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy n
+<span id="L716" class="LineNr"> 716 </span>    idx <span class="Special">&lt;-</span> subtract *right-len-a
+<span id="L717" class="LineNr"> 717 </span>    idx <span class="Special">&lt;-</span> negate
+<span id="L718" class="LineNr"> 718 </span>    idx <span class="Special">&lt;-</span> subtract <span class="Constant">1</span>
+<span id="L719" class="LineNr"> 719 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, idx
+<span id="L720" class="LineNr"> 720 </span>    <span class="PreProc">return</span> *result
+<span id="L721" class="LineNr"> 721 </span>  <span class="Delimiter">}</span>
+<span id="L722" class="LineNr"> 722 </span>  <span class="muComment"># error</span>
+<span id="L723" class="LineNr"> 723 </span>  <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;gap-index: out of bounds&quot;</span>
+<span id="L724" class="LineNr"> 724 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>
+<span id="L725" class="LineNr"> 725 </span><span class="Delimiter">}</span>
+<span id="L726" class="LineNr"> 726 </span>
+<span id="L727" class="LineNr"> 727 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L727'>test-gap-buffers-equal?</a></span> <span class="Delimiter">{</span>
+<span id="L728" class="LineNr"> 728 </span>  <span class="PreProc">var</span> _a: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L729" class="LineNr"> 729 </span>  <span class="PreProc">var</span> a/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _a
+<span id="L730" class="LineNr"> 730 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> a, <span class="Constant">&quot;abc&quot;</span>
+<span id="L731" class="LineNr"> 731 </span>  <span class="PreProc">var</span> _b: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L732" class="LineNr"> 732 </span>  <span class="PreProc">var</span> b/<span class="muRegEdi">edi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _b
+<span id="L733" class="LineNr"> 733 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> b, <span class="Constant">&quot;abc&quot;</span>
+<span id="L734" class="LineNr"> 734 </span>  <span class="PreProc">var</span> _c: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L735" class="LineNr"> 735 </span>  <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _c
+<span id="L736" class="LineNr"> 736 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> c, <span class="Constant">&quot;ab&quot;</span>
+<span id="L737" class="LineNr"> 737 </span>  <span class="PreProc">var</span> _d: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L738" class="LineNr"> 738 </span>  <span class="PreProc">var</span> d/<span class="muRegEdx">edx</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address _d
+<span id="L739" class="LineNr"> 739 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> d, <span class="Constant">&quot;abd&quot;</span>
+<span id="L740" class="LineNr"> 740 </span>  <span class="muComment">#</span>
+<span id="L741" class="LineNr"> 741 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> a, a
+<span id="L742" class="LineNr"> 742 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L727'>test-gap-buffers-equal?</a> - reflexive&quot;</span>
+<span id="L743" class="LineNr"> 743 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> a, b
+<span id="L744" class="LineNr"> 744 </span>  <a href='502test.mu.html#L19'>check</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L727'>test-gap-buffers-equal?</a> - equal&quot;</span>
+<span id="L745" class="LineNr"> 745 </span>  <span class="muComment"># length not equal</span>
+<span id="L746" class="LineNr"> 746 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> a, c
+<span id="L747" class="LineNr"> 747 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L727'>test-gap-buffers-equal?</a> - not equal&quot;</span>
+<span id="L748" class="LineNr"> 748 </span>  <span class="muComment"># contents not equal</span>
+<span id="L749" class="LineNr"> 749 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> a, d
+<span id="L750" class="LineNr"> 750 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L727'>test-gap-buffers-equal?</a> - not equal 2&quot;</span>
+<span id="L751" class="LineNr"> 751 </span>  result <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> d, a
+<span id="L752" class="LineNr"> 752 </span>  <a href='502test.mu.html#L32'>check-not</a> result, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L727'>test-gap-buffers-equal?</a> - not equal 3&quot;</span>
+<span id="L753" class="LineNr"> 753 </span><span class="Delimiter">}</span>
+<span id="L754" class="LineNr"> 754 </span>
+<span id="L755" class="LineNr"> 755 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L755'>test-gap-buffer-index</a></span> <span class="Delimiter">{</span>
+<span id="L756" class="LineNr"> 756 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L757" class="LineNr"> 757 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L758" class="LineNr"> 758 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
+<span id="L759" class="LineNr"> 759 </span>  <span class="muComment"># gap is at end, all contents are in left</span>
+<span id="L760" class="LineNr"> 760 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> gap, <span class="Constant">0</span>
+<span id="L761" class="LineNr"> 761 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L762" class="LineNr"> 762 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - test-gap-index/left-1&quot;</span>
+<span id="L763" class="LineNr"> 763 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> gap, <span class="Constant">1</span>
+<span id="L764" class="LineNr"> 764 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L765" class="LineNr"> 765 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - test-gap-index/left-2&quot;</span>
+<span id="L766" class="LineNr"> 766 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> gap, <span class="Constant">2</span>
+<span id="L767" class="LineNr"> 767 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L768" class="LineNr"> 768 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - test-gap-index/left-3&quot;</span>
+<span id="L769" class="LineNr"> 769 </span>  <span class="muComment"># now check when everything is to the right</span>
+<span id="L770" class="LineNr"> 770 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> gap
+<span id="L771" class="LineNr"> 771 </span>  <a href='514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> gap
+<span id="L772" class="LineNr"> 772 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> gap, <span class="Constant">0</span>
+<span id="L773" class="LineNr"> 773 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L774" class="LineNr"> 774 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - test-gap-index/right-1&quot;</span>
+<span id="L775" class="LineNr"> 775 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> gap, <span class="Constant">1</span>
+<span id="L776" class="LineNr"> 776 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L777" class="LineNr"> 777 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - test-gap-index/right-2&quot;</span>
+<span id="L778" class="LineNr"> 778 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L690'>gap-index</a> gap, <span class="Constant">2</span>
+<span id="L779" class="LineNr"> 779 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L780" class="LineNr"> 780 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - test-gap-index/right-3&quot;</span>
+<span id="L781" class="LineNr"> 781 </span><span class="Delimiter">}</span>
+<span id="L782" class="LineNr"> 782 </span>
+<span id="L783" class="LineNr"> 783 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L783'>copy-gap-buffer</a></span> _src-ah: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), _dest-ah: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L784" class="LineNr"> 784 </span>  <span class="muComment"># obtain src-a, dest-a</span>
+<span id="L785" class="LineNr"> 785 </span>  <span class="PreProc">var</span> src-ah/eax: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _src-ah
+<span id="L786" class="LineNr"> 786 </span>  <span class="PreProc">var</span> _src-a/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *src-ah
+<span id="L787" class="LineNr"> 787 </span>  <span class="PreProc">var</span> src-a/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _src-a
+<span id="L788" class="LineNr"> 788 </span>  <span class="PreProc">var</span> dest-ah/eax: (addr handle <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _dest-ah
+<span id="L789" class="LineNr"> 789 </span>  <span class="PreProc">var</span> _dest-a/eax: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *dest-ah
+<span id="L790" class="LineNr"> 790 </span>  <span class="PreProc">var</span> dest-a/<span class="muRegEdi">edi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _dest-a
+<span id="L791" class="LineNr"> 791 </span>  <span class="muComment"># copy left grapheme-stack</span>
+<span id="L792" class="LineNr"> 792 </span>  <span class="PreProc">var</span> src/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get src-a, left
+<span id="L793" class="LineNr"> 793 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdx">edx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get dest-a, left
+<span id="L794" class="LineNr"> 794 </span>  <a href='513grapheme-stack.mu.html#L67'>copy-grapheme-stack</a> src, dest
+<span id="L795" class="LineNr"> 795 </span>  <span class="muComment"># copy right grapheme-stack</span>
+<span id="L796" class="LineNr"> 796 </span>  src <span class="Special">&lt;-</span> get src-a, right
+<span id="L797" class="LineNr"> 797 </span>  dest <span class="Special">&lt;-</span> get dest-a, right
+<span id="L798" class="LineNr"> 798 </span>  <a href='513grapheme-stack.mu.html#L67'>copy-grapheme-stack</a> src, dest
+<span id="L799" class="LineNr"> 799 </span><span class="Delimiter">}</span>
+<span id="L800" class="LineNr"> 800 </span>
+<span id="L801" class="LineNr"> 801 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L801'>gap-buffer-is-decimal-integer?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L802" class="LineNr"> 802 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L803" class="LineNr"> 803 </span>  <span class="PreProc">var</span> curr/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L804" class="LineNr"> 804 </span>  <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L552'>grapheme-stack-is-decimal-integer?</a> curr
+<span id="L805" class="LineNr"> 805 </span>  <span class="Delimiter">{</span>
+<span id="L806" class="LineNr"> 806 </span>    compare result, <span class="Constant">0</span>/false
+<span id="L807" class="LineNr"> 807 </span>    <span class="PreProc">break-if-=</span>
+<span id="L808" class="LineNr"> 808 </span>    curr <span class="Special">&lt;-</span> get self, right
+<span id="L809" class="LineNr"> 809 </span>    result <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L552'>grapheme-stack-is-decimal-integer?</a> curr
+<span id="L810" class="LineNr"> 810 </span>  <span class="Delimiter">}</span>
+<span id="L811" class="LineNr"> 811 </span>  <span class="PreProc">return</span> result
+<span id="L812" class="LineNr"> 812 </span><span class="Delimiter">}</span>
+<span id="L813" class="LineNr"> 813 </span>
+<span id="L814" class="LineNr"> 814 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L814'>test-render-gap-buffer-without-cursor</a></span> <span class="Delimiter">{</span>
+<span id="L815" class="LineNr"> 815 </span>  <span class="muComment"># setup</span>
+<span id="L816" class="LineNr"> 816 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L817" class="LineNr"> 817 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L818" class="LineNr"> 818 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
+<span id="L819" class="LineNr"> 819 </span>  <span class="muComment"># setup: screen</span>
+<span id="L820" class="LineNr"> 820 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L821" class="LineNr"> 821 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L822" class="LineNr"> 822 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L823" class="LineNr"> 823 </span>  <span class="muComment">#</span>
+<span id="L824" class="LineNr"> 824 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0</span>/no-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L825" class="LineNr"> 825 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-without-cursor&quot;</span>
+<span id="L826" class="LineNr"> 826 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L814'>test-render-gap-buffer-without-cursor</a>: result&quot;</span>
+<span id="L827" class="LineNr"> 827 </span>                                                                <span class="muComment"># abc</span>
+<span id="L828" class="LineNr"> 828 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;    &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L814'>test-render-gap-buffer-without-cursor</a>: bg&quot;</span>
+<span id="L829" class="LineNr"> 829 </span><span class="Delimiter">}</span>
+<span id="L830" class="LineNr"> 830 </span>
+<span id="L831" class="LineNr"> 831 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L831'>test-render-gap-buffer-with-cursor-at-end</a></span> <span class="Delimiter">{</span>
+<span id="L832" class="LineNr"> 832 </span>  <span class="muComment"># setup</span>
+<span id="L833" class="LineNr"> 833 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L834" class="LineNr"> 834 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L835" class="LineNr"> 835 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
+<span id="L836" class="LineNr"> 836 </span>  <a href='514gap-buffer.mu.html#L459'>gap-to-end</a> gap
+<span id="L837" class="LineNr"> 837 </span>  <span class="muComment"># setup: screen</span>
+<span id="L838" class="LineNr"> 838 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L839" class="LineNr"> 839 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L840" class="LineNr"> 840 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L841" class="LineNr"> 841 </span>  <span class="muComment">#</span>
+<span id="L842" class="LineNr"> 842 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L843" class="LineNr"> 843 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-with-cursor-at-end&quot;</span>
+<span id="L844" class="LineNr"> 844 </span>  <span class="muComment"># we've drawn one extra grapheme for the cursor</span>
+<span id="L845" class="LineNr"> 845 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L831'>test-render-gap-buffer-with-cursor-at-end</a>: result&quot;</span>
+<span id="L846" class="LineNr"> 846 </span>                                                                <span class="muComment"># abc</span>
+<span id="L847" class="LineNr"> 847 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;   |&quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L831'>test-render-gap-buffer-with-cursor-at-end</a>: bg&quot;</span>
+<span id="L848" class="LineNr"> 848 </span><span class="Delimiter">}</span>
+<span id="L849" class="LineNr"> 849 </span>
+<span id="L850" class="LineNr"> 850 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L850'>test-render-gap-buffer-with-cursor-in-middle</a></span> <span class="Delimiter">{</span>
+<span id="L851" class="LineNr"> 851 </span>  <span class="muComment"># setup</span>
+<span id="L852" class="LineNr"> 852 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L853" class="LineNr"> 853 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L854" class="LineNr"> 854 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
+<span id="L855" class="LineNr"> 855 </span>  <a href='514gap-buffer.mu.html#L459'>gap-to-end</a> gap
+<span id="L856" class="LineNr"> 856 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> gap
+<span id="L857" class="LineNr"> 857 </span>  <span class="muComment"># setup: screen</span>
+<span id="L858" class="LineNr"> 858 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L859" class="LineNr"> 859 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L860" class="LineNr"> 860 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L861" class="LineNr"> 861 </span>  <span class="muComment">#</span>
+<span id="L862" class="LineNr"> 862 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L863" class="LineNr"> 863 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-with-cursor-in-middle&quot;</span>
+<span id="L864" class="LineNr"> 864 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L850'>test-render-gap-buffer-with-cursor-in-middle</a>: result&quot;</span>
+<span id="L865" class="LineNr"> 865 </span>                                                                <span class="muComment"># abc</span>
+<span id="L866" class="LineNr"> 866 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;  | &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L850'>test-render-gap-buffer-with-cursor-in-middle</a>: bg&quot;</span>
+<span id="L867" class="LineNr"> 867 </span><span class="Delimiter">}</span>
+<span id="L868" class="LineNr"> 868 </span>
+<span id="L869" class="LineNr"> 869 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L869'>test-render-gap-buffer-with-cursor-at-start</a></span> <span class="Delimiter">{</span>
+<span id="L870" class="LineNr"> 870 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L871" class="LineNr"> 871 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L872" class="LineNr"> 872 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
+<span id="L873" class="LineNr"> 873 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> gap
+<span id="L874" class="LineNr"> 874 </span>  <span class="muComment"># setup: screen</span>
+<span id="L875" class="LineNr"> 875 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L876" class="LineNr"> 876 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L877" class="LineNr"> 877 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L878" class="LineNr"> 878 </span>  <span class="muComment">#</span>
+<span id="L879" class="LineNr"> 879 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L880" class="LineNr"> 880 </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">&quot;abc &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-with-cursor-at-start&quot;</span>
+<span id="L881" class="LineNr"> 881 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L869'>test-render-gap-buffer-with-cursor-at-start</a>: result&quot;</span>
+<span id="L882" class="LineNr"> 882 </span>                                                                <span class="muComment"># abc</span>
+<span id="L883" class="LineNr"> 883 </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">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">&quot;|   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L869'>test-render-gap-buffer-with-cursor-at-start</a>: bg&quot;</span>
+<span id="L884" class="LineNr"> 884 </span><span class="Delimiter">}</span>
+<span id="L885" class="LineNr"> 885 </span>
+<span id="L886" class="LineNr"> 886 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L886'>test-render-gap-buffer-highlight-matching-close-paren</a></span> <span class="Delimiter">{</span>
+<span id="L887" class="LineNr"> 887 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L888" class="LineNr"> 888 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L889" class="LineNr"> 889 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
+<span id="L890" class="LineNr"> 890 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> gap
+<span id="L891" class="LineNr"> 891 </span>  <span class="muComment"># setup: screen</span>
+<span id="L892" class="LineNr"> 892 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L893" class="LineNr"> 893 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L894" class="LineNr"> 894 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L895" class="LineNr"> 895 </span>  <span class="muComment">#</span>
+<span id="L896" class="LineNr"> 896 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L897" class="LineNr"> 897 </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">&quot;(a) &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-highlight-matching-close-paren&quot;</span>
+<span id="L898" class="LineNr"> 898 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L886'>test-render-gap-buffer-highlight-matching-close-paren</a>: result&quot;</span>
+<span id="L899" class="LineNr"> 899 </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">3</span>/bg=reverse,      <span class="Constant">0</span>/y, <span class="Constant">&quot;|   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L886'>test-render-gap-buffer-highlight-matching-close-paren</a>: cursor&quot;</span>
+<span id="L900" class="LineNr"> 900 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a>            <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=highlight, <span class="Constant">0</span>/y, <span class="Constant">&quot;  ) &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L886'>test-render-gap-buffer-highlight-matching-close-paren</a>: matching paren&quot;</span>
+<span id="L901" class="LineNr"> 901 </span><span class="Delimiter">}</span>
+<span id="L902" class="LineNr"> 902 </span>
+<span id="L903" class="LineNr"> 903 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L903'>test-render-gap-buffer-highlight-matching-open-paren</a></span> <span class="Delimiter">{</span>
+<span id="L904" class="LineNr"> 904 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L905" class="LineNr"> 905 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L906" class="LineNr"> 906 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
+<span id="L907" class="LineNr"> 907 </span>  <a href='514gap-buffer.mu.html#L459'>gap-to-end</a> gap
+<span id="L908" class="LineNr"> 908 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> gap
+<span id="L909" class="LineNr"> 909 </span>  <span class="muComment"># setup: screen</span>
+<span id="L910" class="LineNr"> 910 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L911" class="LineNr"> 911 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L912" class="LineNr"> 912 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L913" class="LineNr"> 913 </span>  <span class="muComment">#</span>
+<span id="L914" class="LineNr"> 914 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L915" class="LineNr"> 915 </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">&quot;(a) &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-highlight-matching-open-paren&quot;</span>
+<span id="L916" class="LineNr"> 916 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L903'>test-render-gap-buffer-highlight-matching-open-paren</a>: result&quot;</span>
+<span id="L917" class="LineNr"> 917 </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">3</span>/bg=reverse,      <span class="Constant">0</span>/y, <span class="Constant">&quot;  | &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L903'>test-render-gap-buffer-highlight-matching-open-paren</a>: cursor&quot;</span>
+<span id="L918" class="LineNr"> 918 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a>            <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=highlight, <span class="Constant">0</span>/y, <span class="Constant">&quot;(   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L903'>test-render-gap-buffer-highlight-matching-open-paren</a>: matching paren&quot;</span>
+<span id="L919" class="LineNr"> 919 </span><span class="Delimiter">}</span>
+<span id="L920" class="LineNr"> 920 </span>
+<span id="L921" class="LineNr"> 921 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L921'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a></span> <span class="Delimiter">{</span>
+<span id="L922" class="LineNr"> 922 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L923" class="LineNr"> 923 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L924" class="LineNr"> 924 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
+<span id="L925" class="LineNr"> 925 </span>  <a href='514gap-buffer.mu.html#L459'>gap-to-end</a> gap
+<span id="L926" class="LineNr"> 926 </span>  <span class="muComment"># setup: screen</span>
+<span id="L927" class="LineNr"> 927 </span>  <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a>
+<span id="L928" class="LineNr"> 928 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEdi">edi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address screen-storage
+<span id="L929" class="LineNr"> 929 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L930" class="LineNr"> 930 </span>  <span class="muComment">#</span>
+<span id="L931" class="LineNr"> 931 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gap, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/show-cursor, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L932" class="LineNr"> 932 </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">&quot;(a) &quot;</span>, <span class="Constant">&quot;F - test-render-gap-buffer-highlight-matching-open-paren-of-end&quot;</span>
+<span id="L933" class="LineNr"> 933 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">4</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L921'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a>: result&quot;</span>
+<span id="L934" class="LineNr"> 934 </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">3</span>/bg=reverse,      <span class="Constant">0</span>/y, <span class="Constant">&quot;   |&quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L921'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a>: cursor&quot;</span>
+<span id="L935" class="LineNr"> 935 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a>            <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=highlight, <span class="Constant">0</span>/y, <span class="Constant">&quot;(   &quot;</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L921'>test-render-gap-buffer-highlight-matching-open-paren-of-end</a>: matching paren&quot;</span>
+<span id="L936" class="LineNr"> 936 </span><span class="Delimiter">}</span>
+<span id="L937" class="LineNr"> 937 </span>
+<span id="L938" class="LineNr"> 938 </span><span class="muComment"># should I highlight a matching open paren? And if so, at what depth from top of left?</span>
+<span id="L939" class="LineNr"> 939 </span><span class="muComment"># basically there are two cases to disambiguate here:</span>
+<span id="L940" class="LineNr"> 940 </span><span class="muComment">#   Usually the cursor is at top of right. Highlight first '(' at depth 0 from top of left.</span>
+<span id="L941" class="LineNr"> 941 </span><span class="muComment">#   If right is empty, match the ')' _before_ cursor. Highlight first '(' at depth _1_ from top of left.</span>
+<span id="L942" class="LineNr"> 942 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a></span> _gap: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), render-cursor?: boolean<span class="PreProc"> -&gt; </span>_/<span class="muRegEbx">ebx</span>: boolean, _/<span class="muRegEdi">edi</span>: int <span class="Delimiter">{</span>
+<span id="L943" class="LineNr"> 943 </span>  <span class="muComment"># if not rendering cursor, return</span>
+<span id="L944" class="LineNr"> 944 </span>  compare render-cursor?, <span class="Constant">0</span>/false
+<span id="L945" class="LineNr"> 945 </span>  <span class="Delimiter">{</span>
+<span id="L946" class="LineNr"> 946 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L947" class="LineNr"> 947 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
+<span id="L948" class="LineNr"> 948 </span>  <span class="Delimiter">}</span>
+<span id="L949" class="LineNr"> 949 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _gap
+<span id="L950" class="LineNr"> 950 </span>  <span class="PreProc">var</span> stack/<span class="muRegEdi">edi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get gap, right
+<span id="L951" class="LineNr"> 951 </span>  <span class="PreProc">var</span> top-addr/eax: (addr int) <span class="Special">&lt;-</span> get stack, top
+<span id="L952" class="LineNr"> 952 </span>  <span class="PreProc">var</span> top-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
+<span id="L953" class="LineNr"> 953 </span>  compare top-index, <span class="Constant">0</span>
+<span id="L954" class="LineNr"> 954 </span>  <span class="Delimiter">{</span>
+<span id="L955" class="LineNr"> 955 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L956" class="LineNr"> 956 </span>    <span class="muComment"># if cursor at end, return (char before cursor == ')', 1)</span>
+<span id="L957" class="LineNr"> 957 </span>    stack <span class="Special">&lt;-</span> get gap, left
+<span id="L958" class="LineNr"> 958 </span>    top-addr <span class="Special">&lt;-</span> get stack, top
+<span id="L959" class="LineNr"> 959 </span>    top-index <span class="Special">&lt;-</span> copy *top-addr
+<span id="L960" class="LineNr"> 960 </span>    compare top-index, <span class="Constant">0</span>
+<span id="L961" class="LineNr"> 961 </span>    <span class="Delimiter">{</span>
+<span id="L962" class="LineNr"> 962 </span>      <span class="PreProc">break-if-&gt;</span>
+<span id="L963" class="LineNr"> 963 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
+<span id="L964" class="LineNr"> 964 </span>    <span class="Delimiter">}</span>
+<span id="L965" class="LineNr"> 965 </span>    top-index <span class="Special">&lt;-</span> decrement
+<span id="L966" class="LineNr"> 966 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get stack, data
+<span id="L967" class="LineNr"> 967 </span>    <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L968" class="LineNr"> 968 </span>    <span class="PreProc">var</span> g/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top-index
+<span id="L969" class="LineNr"> 969 </span>    compare *g, <span class="Constant">0x29</span>/close-paren
+<span id="L970" class="LineNr"> 970 </span>    <span class="Delimiter">{</span>
+<span id="L971" class="LineNr"> 971 </span>      <span class="PreProc">break-if-=</span>
+<span id="L972" class="LineNr"> 972 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
+<span id="L973" class="LineNr"> 973 </span>    <span class="Delimiter">}</span>
+<span id="L974" class="LineNr"> 974 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true, <span class="Constant">1</span>
+<span id="L975" class="LineNr"> 975 </span>  <span class="Delimiter">}</span>
+<span id="L976" class="LineNr"> 976 </span>  <span class="muComment"># cursor is not at end; return (char at cursor == ')')</span>
+<span id="L977" class="LineNr"> 977 </span>  top-index <span class="Special">&lt;-</span> decrement
+<span id="L978" class="LineNr"> 978 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get stack, data
+<span id="L979" class="LineNr"> 979 </span>  <span class="PreProc">var</span> data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah
+<span id="L980" class="LineNr"> 980 </span>  <span class="PreProc">var</span> g/eax: (addr grapheme) <span class="Special">&lt;-</span> index data, top-index
+<span id="L981" class="LineNr"> 981 </span>  compare *g, <span class="Constant">0x29</span>/close-paren
+<span id="L982" class="LineNr"> 982 </span>  <span class="Delimiter">{</span>
+<span id="L983" class="LineNr"> 983 </span>    <span class="PreProc">break-if-=</span>
+<span id="L984" class="LineNr"> 984 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false, <span class="Constant">0</span>
+<span id="L985" class="LineNr"> 985 </span>  <span class="Delimiter">}</span>
+<span id="L986" class="LineNr"> 986 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true, <span class="Constant">0</span>
+<span id="L987" class="LineNr"> 987 </span><span class="Delimiter">}</span>
+<span id="L988" class="LineNr"> 988 </span>
+<span id="L989" class="LineNr"> 989 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L989'>test-highlight-matching-open-paren</a></span> <span class="Delimiter">{</span>
+<span id="L990" class="LineNr"> 990 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L991" class="LineNr"> 991 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L992" class="LineNr"> 992 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;(a)&quot;</span>
+<span id="L993" class="LineNr"> 993 </span>  <a href='514gap-buffer.mu.html#L459'>gap-to-end</a> gap
+<span id="L994" class="LineNr"> 994 </span>  <span class="PreProc">var</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>/<span class="muRegEbx">ebx</span>: boolean <span class="Special">&lt;-</span> copy <span class="Constant">0</span>/false
+<span id="L995" class="LineNr"> 995 </span>  <span class="PreProc">var</span> open-paren-depth/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L996" class="LineNr"> 996 </span>  <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a> gap, <span class="Constant">0</span>/no-cursor
+<span id="L997" class="LineNr"> 997 </span>  <a href='502test.mu.html#L32'>check-not</a> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L989'>test-highlight-matching-open-paren</a>: no cursor&quot;</span>
+<span id="L998" class="LineNr"> 998 </span>  <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a> gap, <span class="Constant">1</span>/render-cursor
+<span id="L999" class="LineNr"> 999 </span>  <a href='502test.mu.html#L19'>check</a> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L989'>test-highlight-matching-open-paren</a>: at end immediately after ')'&quot;</span>
+<span id="L1000" class="LineNr">1000 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> open-paren-depth, <span class="Constant">1</span>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L989'>test-highlight-matching-open-paren</a>: depth at end immediately after ')'&quot;</span>
+<span id="L1001" class="LineNr">1001 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> gap
+<span id="L1002" class="LineNr">1002 </span>  <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a> gap, <span class="Constant">1</span>/render-cursor
+<span id="L1003" class="LineNr">1003 </span>  <a href='502test.mu.html#L19'>check</a> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L989'>test-highlight-matching-open-paren</a>: on ')'&quot;</span>
+<span id="L1004" class="LineNr">1004 </span>  dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> gap
+<span id="L1005" class="LineNr">1005 </span>  <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a> gap, <span class="Constant">1</span>/render-cursor
+<span id="L1006" class="LineNr">1006 </span>  <a href='502test.mu.html#L32'>check-not</a> <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L989'>test-highlight-matching-open-paren</a>: not on ')'&quot;</span>
+<span id="L1007" class="LineNr">1007 </span><span class="Delimiter">}</span>
+<span id="L1008" class="LineNr">1008 </span>
+<span id="L1009" class="LineNr">1009 </span><span class="muComment">## some primitives for scanning through a gap buffer</span>
+<span id="L1010" class="LineNr">1010 </span><span class="muComment"># don't modify the gap buffer while scanning</span>
+<span id="L1011" class="LineNr">1011 </span><span class="muComment"># this includes moving the cursor around</span>
+<span id="L1012" class="LineNr">1012 </span>
+<span id="L1013" class="LineNr">1013 </span><span class="muComment"># restart scan without affecting gap-buffer contents</span>
+<span id="L1014" class="LineNr">1014 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1015" class="LineNr">1015 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L1016" class="LineNr">1016 </span>  <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
+<span id="L1017" class="LineNr">1017 </span>  copy-to *dest, <span class="Constant">0</span>
+<span id="L1018" class="LineNr">1018 </span>  dest <span class="Special">&lt;-</span> get self, right-read-index
+<span id="L1019" class="LineNr">1019 </span>  copy-to *dest, <span class="Constant">0</span>
+<span id="L1020" class="LineNr">1020 </span><span class="Delimiter">}</span>
+<span id="L1021" class="LineNr">1021 </span>
+<span id="L1022" class="LineNr">1022 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L1023" class="LineNr">1023 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L1024" class="LineNr">1024 </span>  <span class="muComment"># more in left?</span>
+<span id="L1025" class="LineNr">1025 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L1026" class="LineNr">1026 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
+<span id="L1027" class="LineNr">1027 </span>  <span class="PreProc">var</span> left-read-index/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
+<span id="L1028" class="LineNr">1028 </span>  compare *left-read-index, left-size
+<span id="L1029" class="LineNr">1029 </span>  <span class="Delimiter">{</span>
+<span id="L1030" class="LineNr">1030 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1031" class="LineNr">1031 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L1032" class="LineNr">1032 </span>  <span class="Delimiter">}</span>
+<span id="L1033" class="LineNr">1033 </span>  <span class="muComment"># more in right?</span>
+<span id="L1034" class="LineNr">1034 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L1035" class="LineNr">1035 </span>  <span class="PreProc">var</span> right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
+<span id="L1036" class="LineNr">1036 </span>  <span class="PreProc">var</span> right-read-index/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
+<span id="L1037" class="LineNr">1037 </span>  compare *right-read-index, right-size
+<span id="L1038" class="LineNr">1038 </span>  <span class="Delimiter">{</span>
+<span id="L1039" class="LineNr">1039 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1040" class="LineNr">1040 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L1041" class="LineNr">1041 </span>  <span class="Delimiter">}</span>
+<span id="L1042" class="LineNr">1042 </span>  <span class="muComment">#</span>
+<span id="L1043" class="LineNr">1043 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L1044" class="LineNr">1044 </span><span class="Delimiter">}</span>
+<span id="L1045" class="LineNr">1045 </span>
+<span id="L1046" class="LineNr">1046 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L1047" class="LineNr">1047 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L1048" class="LineNr">1048 </span>  <span class="muComment"># more in left?</span>
+<span id="L1049" class="LineNr">1049 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L1050" class="LineNr">1050 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
+<span id="L1051" class="LineNr">1051 </span>  <span class="PreProc">var</span> left-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
+<span id="L1052" class="LineNr">1052 </span>  compare *left-read-index-a, left-size
+<span id="L1053" class="LineNr">1053 </span>  <span class="Delimiter">{</span>
+<span id="L1054" class="LineNr">1054 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1055" class="LineNr">1055 </span>    <span class="PreProc">var</span> left-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
+<span id="L1056" class="LineNr">1056 </span>    <span class="PreProc">var</span> left-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *left-data-ah
+<span id="L1057" class="LineNr">1057 </span>    <span class="PreProc">var</span> left-read-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *left-read-index-a
+<span id="L1058" class="LineNr">1058 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index left-data, left-read-index
+<span id="L1059" class="LineNr">1059 </span>    <span class="PreProc">return</span> *result
+<span id="L1060" class="LineNr">1060 </span>  <span class="Delimiter">}</span>
+<span id="L1061" class="LineNr">1061 </span>  <span class="muComment"># more in right?</span>
+<span id="L1062" class="LineNr">1062 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L1063" class="LineNr">1063 </span>  <span class="PreProc">var</span> _right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
+<span id="L1064" class="LineNr">1064 </span>  <span class="PreProc">var</span> right-size/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _right-size
+<span id="L1065" class="LineNr">1065 </span>  <span class="PreProc">var</span> right-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
+<span id="L1066" class="LineNr">1066 </span>  compare *right-read-index-a, right-size
+<span id="L1067" class="LineNr">1067 </span>  <span class="Delimiter">{</span>
+<span id="L1068" class="LineNr">1068 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1069" class="LineNr">1069 </span>    <span class="muComment"># read the right from reverse</span>
+<span id="L1070" class="LineNr">1070 </span>    <span class="PreProc">var</span> right-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
+<span id="L1071" class="LineNr">1071 </span>    <span class="PreProc">var</span> right-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *right-data-ah
+<span id="L1072" class="LineNr">1072 </span>    <span class="PreProc">var</span> right-read-index/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy right-size
+<span id="L1073" class="LineNr">1073 </span>    right-read-index <span class="Special">&lt;-</span> subtract *right-read-index-a
+<span id="L1074" class="LineNr">1074 </span>    right-read-index <span class="Special">&lt;-</span> subtract <span class="Constant">1</span>
+<span id="L1075" class="LineNr">1075 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index right-data, right-read-index
+<span id="L1076" class="LineNr">1076 </span>    <span class="PreProc">return</span> *result
+<span id="L1077" class="LineNr">1077 </span>  <span class="Delimiter">}</span>
+<span id="L1078" class="LineNr">1078 </span>  <span class="muComment"># if we get here there's nothing left</span>
+<span id="L1079" class="LineNr">1079 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/nul
+<span id="L1080" class="LineNr">1080 </span><span class="Delimiter">}</span>
+<span id="L1081" class="LineNr">1081 </span>
+<span id="L1082" class="LineNr">1082 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/eax: grapheme <span class="Delimiter">{</span>
+<span id="L1083" class="LineNr">1083 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L1084" class="LineNr">1084 </span>  <span class="muComment"># more in left?</span>
+<span id="L1085" class="LineNr">1085 </span>  <span class="PreProc">var</span> left/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L1086" class="LineNr">1086 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
+<span id="L1087" class="LineNr">1087 </span>  <span class="PreProc">var</span> left-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
+<span id="L1088" class="LineNr">1088 </span>  compare *left-read-index-a, left-size
+<span id="L1089" class="LineNr">1089 </span>  <span class="Delimiter">{</span>
+<span id="L1090" class="LineNr">1090 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1091" class="LineNr">1091 </span>    <span class="PreProc">var</span> left-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get left, data
+<span id="L1092" class="LineNr">1092 </span>    <span class="PreProc">var</span> left-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *left-data-ah
+<span id="L1093" class="LineNr">1093 </span>    <span class="PreProc">var</span> left-read-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *left-read-index-a
+<span id="L1094" class="LineNr">1094 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index left-data, left-read-index
+<span id="L1095" class="LineNr">1095 </span>    increment *left-read-index-a
+<span id="L1096" class="LineNr">1096 </span>    <span class="PreProc">return</span> *result
+<span id="L1097" class="LineNr">1097 </span>  <span class="Delimiter">}</span>
+<span id="L1098" class="LineNr">1098 </span>  <span class="muComment"># more in right?</span>
+<span id="L1099" class="LineNr">1099 </span>  <span class="PreProc">var</span> right/<span class="muRegEcx">ecx</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L1100" class="LineNr">1100 </span>  <span class="PreProc">var</span> _right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
+<span id="L1101" class="LineNr">1101 </span>  <span class="PreProc">var</span> right-size/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy _right-size
+<span id="L1102" class="LineNr">1102 </span>  <span class="PreProc">var</span> right-read-index-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
+<span id="L1103" class="LineNr">1103 </span>  compare *right-read-index-a, right-size
+<span id="L1104" class="LineNr">1104 </span>  <span class="Delimiter">{</span>
+<span id="L1105" class="LineNr">1105 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1106" class="LineNr">1106 </span>    <span class="muComment"># read the right from reverse</span>
+<span id="L1107" class="LineNr">1107 </span>    <span class="PreProc">var</span> right-data-ah/eax: (addr handle array grapheme) <span class="Special">&lt;-</span> get right, data
+<span id="L1108" class="LineNr">1108 </span>    <span class="PreProc">var</span> right-data/eax: (addr array grapheme) <span class="Special">&lt;-</span> <a href='120allocate.subx.html#L235'>lookup</a> *right-data-ah
+<span id="L1109" class="LineNr">1109 </span>    <span class="PreProc">var</span> right-read-index/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy right-size
+<span id="L1110" class="LineNr">1110 </span>    right-read-index <span class="Special">&lt;-</span> subtract *right-read-index-a
+<span id="L1111" class="LineNr">1111 </span>    right-read-index <span class="Special">&lt;-</span> subtract <span class="Constant">1</span>
+<span id="L1112" class="LineNr">1112 </span>    <span class="PreProc">var</span> result/eax: (addr grapheme) <span class="Special">&lt;-</span> index right-data, right-read-index
+<span id="L1113" class="LineNr">1113 </span>    increment *right-read-index-a
+<span id="L1114" class="LineNr">1114 </span>    <span class="PreProc">return</span> *result
+<span id="L1115" class="LineNr">1115 </span>  <span class="Delimiter">}</span>
+<span id="L1116" class="LineNr">1116 </span>  <span class="muComment"># if we get here there's nothing left</span>
+<span id="L1117" class="LineNr">1117 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/nul
+<span id="L1118" class="LineNr">1118 </span><span class="Delimiter">}</span>
+<span id="L1119" class="LineNr">1119 </span>
+<span id="L1120" class="LineNr">1120 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1120'>put-back-from-gap-buffer</a></span> _self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1121" class="LineNr">1121 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L1122" class="LineNr">1122 </span>  <span class="muComment"># more in right?</span>
+<span id="L1123" class="LineNr">1123 </span>  <span class="PreProc">var</span> right/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, right
+<span id="L1124" class="LineNr">1124 </span>  <span class="PreProc">var</span> right-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> right
+<span id="L1125" class="LineNr">1125 </span>  <span class="PreProc">var</span> right-read-index-a/eax: (addr int) <span class="Special">&lt;-</span> get self, right-read-index
+<span id="L1126" class="LineNr">1126 </span>  compare *right-read-index-a, <span class="Constant">0</span>
+<span id="L1127" class="LineNr">1127 </span>  <span class="Delimiter">{</span>
+<span id="L1128" class="LineNr">1128 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L1129" class="LineNr">1129 </span>    decrement *right-read-index-a
+<span id="L1130" class="LineNr">1130 </span>    <span class="PreProc">return</span>
+<span id="L1131" class="LineNr">1131 </span>  <span class="Delimiter">}</span>
+<span id="L1132" class="LineNr">1132 </span>  <span class="muComment"># more in left?</span>
+<span id="L1133" class="LineNr">1133 </span>  <span class="PreProc">var</span> left/eax: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> get self, left
+<span id="L1134" class="LineNr">1134 </span>  <span class="PreProc">var</span> left-size/eax: int <span class="Special">&lt;-</span> <a href='513grapheme-stack.mu.html#L33'>grapheme-stack-length</a> left
+<span id="L1135" class="LineNr">1135 </span>  <span class="PreProc">var</span> left-read-index-a/eax: (addr int) <span class="Special">&lt;-</span> get self, left-read-index
+<span id="L1136" class="LineNr">1136 </span>  decrement *left-read-index-a
+<span id="L1137" class="LineNr">1137 </span><span class="Delimiter">}</span>
+<span id="L1138" class="LineNr">1138 </span>
+<span id="L1139" class="LineNr">1139 </span><span class="PreProc">fn</span> <span class="muTest"><a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a></span> <span class="Delimiter">{</span>
+<span id="L1140" class="LineNr">1140 </span>  <span class="PreProc">var</span> gap-storage: <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>
+<span id="L1141" class="LineNr">1141 </span>  <span class="PreProc">var</span> gap/<span class="muRegEsi">esi</span>: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address gap-storage
+<span id="L1142" class="LineNr">1142 </span>  <a href='514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> gap, <span class="Constant">&quot;abc&quot;</span>
+<span id="L1143" class="LineNr">1143 </span>  <span class="muComment"># gap is at end, all contents are in left</span>
+<span id="L1144" class="LineNr">1144 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1145" class="LineNr">1145 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-1/done&quot;</span>
+<span id="L1146" class="LineNr">1146 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1147" class="LineNr">1147 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1148" class="LineNr">1148 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-1&quot;</span>
+<span id="L1149" class="LineNr">1149 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1150" class="LineNr">1150 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-2/done&quot;</span>
+<span id="L1151" class="LineNr">1151 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1152" class="LineNr">1152 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1153" class="LineNr">1153 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-2&quot;</span>
+<span id="L1154" class="LineNr">1154 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1155" class="LineNr">1155 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-3/done&quot;</span>
+<span id="L1156" class="LineNr">1156 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1157" class="LineNr">1157 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1158" class="LineNr">1158 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-3&quot;</span>
+<span id="L1159" class="LineNr">1159 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1160" class="LineNr">1160 </span>  <a href='502test.mu.html#L19'>check</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-4/done&quot;</span>
+<span id="L1161" class="LineNr">1161 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1162" class="LineNr">1162 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1163" class="LineNr">1163 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0</span>/nul, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/left-4&quot;</span>
+<span id="L1164" class="LineNr">1164 </span>  <span class="muComment"># now check when everything is to the right</span>
+<span id="L1165" class="LineNr">1165 </span>  <a href='514gap-buffer.mu.html#L451'>gap-to-start</a> gap
+<span id="L1166" class="LineNr">1166 </span>  <a href='514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> gap
+<span id="L1167" class="LineNr">1167 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1168" class="LineNr">1168 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-1/done&quot;</span>
+<span id="L1169" class="LineNr">1169 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1170" class="LineNr">1170 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1171" class="LineNr">1171 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x61</span>/a, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-1&quot;</span>
+<span id="L1172" class="LineNr">1172 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1173" class="LineNr">1173 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-2/done&quot;</span>
+<span id="L1174" class="LineNr">1174 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1175" class="LineNr">1175 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1176" class="LineNr">1176 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x62</span>/b, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-2&quot;</span>
+<span id="L1177" class="LineNr">1177 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1178" class="LineNr">1178 </span>  <a href='502test.mu.html#L32'>check-not</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-3/done&quot;</span>
+<span id="L1179" class="LineNr">1179 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1180" class="LineNr">1180 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1181" class="LineNr">1181 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0x63</span>/c, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-3&quot;</span>
+<span id="L1182" class="LineNr">1182 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> gap
+<span id="L1183" class="LineNr">1183 </span>  <a href='502test.mu.html#L19'>check</a> done?, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-4/done&quot;</span>
+<span id="L1184" class="LineNr">1184 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> gap
+<span id="L1185" class="LineNr">1185 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy g
+<span id="L1186" class="LineNr">1186 </span>  <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">0</span>/nul, <span class="Constant">&quot;F - <a href='514gap-buffer.mu.html#L1139'>test-read-from-gap-buffer</a>/right-4&quot;</span>
+<span id="L1187" class="LineNr">1187 </span><span class="Delimiter">}</span>
+<span id="L1188" class="LineNr">1188 </span>
+<span id="L1189" class="LineNr">1189 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1189'>skip-spaces-from-gap-buffer</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1190" class="LineNr">1190 </span>  <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> self
+<span id="L1191" class="LineNr">1191 </span>  compare done?, <span class="Constant">0</span>/false
+<span id="L1192" class="LineNr">1192 </span>  <span class="PreProc">break-if-!=</span>
+<span id="L1193" class="LineNr">1193 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> self
+<span id="L1194" class="LineNr">1194 </span>  <span class="Delimiter">{</span>
+<span id="L1195" class="LineNr">1195 </span>    compare g, <span class="Constant">0x20</span>/space
+<span id="L1196" class="LineNr">1196 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1197" class="LineNr">1197 </span>    <span class="PreProc">return</span>
+<span id="L1198" class="LineNr">1198 </span>  <span class="Delimiter">}</span>
+<span id="L1199" class="LineNr">1199 </span>  g <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> self
+<span id="L1200" class="LineNr">1200 </span>  <span class="PreProc">loop</span>
+<span id="L1201" class="LineNr">1201 </span><span class="Delimiter">}</span>
+<span id="L1202" class="LineNr">1202 </span>
+<span id="L1203" class="LineNr">1203 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1203'>edit-gap-buffer</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>), key: grapheme <span class="Delimiter">{</span>
+<span id="L1204" class="LineNr">1204 </span>  <span class="PreProc">var</span> g/<span class="muRegEdx">edx</span>: grapheme <span class="Special">&lt;-</span> copy key
+<span id="L1205" class="LineNr">1205 </span>  <span class="Delimiter">{</span>
+<span id="L1206" class="LineNr">1206 </span>    compare g, <span class="Constant">8</span>/backspace
+<span id="L1207" class="LineNr">1207 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1208" class="LineNr">1208 </span>    <a href='514gap-buffer.mu.html#L565'>delete-before-gap</a> self
+<span id="L1209" class="LineNr">1209 </span>    <span class="PreProc">return</span>
+<span id="L1210" class="LineNr">1210 </span>  <span class="Delimiter">}</span>
+<span id="L1211" class="LineNr">1211 </span>  <span class="Delimiter">{</span>
+<span id="L1212" class="LineNr">1212 </span>    compare g, <span class="Constant">0x80</span>/left-arrow
+<span id="L1213" class="LineNr">1213 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1214" class="LineNr">1214 </span>    <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1215" class="LineNr">1215 </span>    <span class="PreProc">return</span>
+<span id="L1216" class="LineNr">1216 </span>  <span class="Delimiter">}</span>
+<span id="L1217" class="LineNr">1217 </span>  <span class="Delimiter">{</span>
+<span id="L1218" class="LineNr">1218 </span>    compare g, <span class="Constant">0x83</span>/right-arrow
+<span id="L1219" class="LineNr">1219 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1220" class="LineNr">1220 </span>    <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1221" class="LineNr">1221 </span>    <span class="PreProc">return</span>
+<span id="L1222" class="LineNr">1222 </span>  <span class="Delimiter">}</span>
+<span id="L1223" class="LineNr">1223 </span>  <span class="Delimiter">{</span>
+<span id="L1224" class="LineNr">1224 </span>    compare g, <span class="Constant">6</span>/ctrl-f
+<span id="L1225" class="LineNr">1225 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1226" class="LineNr">1226 </span>    <a href='514gap-buffer.mu.html#L1277'>gap-to-start-of-next-word</a> self
+<span id="L1227" class="LineNr">1227 </span>    <span class="PreProc">return</span>
+<span id="L1228" class="LineNr">1228 </span>  <span class="Delimiter">}</span>
+<span id="L1229" class="LineNr">1229 </span>  <span class="Delimiter">{</span>
+<span id="L1230" class="LineNr">1230 </span>    compare g, <span class="Constant">2</span>/ctrl-b
+<span id="L1231" class="LineNr">1231 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1232" class="LineNr">1232 </span>    <a href='514gap-buffer.mu.html#L1304'>gap-to-end-of-previous-word</a> self
+<span id="L1233" class="LineNr">1233 </span>    <span class="PreProc">return</span>
+<span id="L1234" class="LineNr">1234 </span>  <span class="Delimiter">}</span>
+<span id="L1235" class="LineNr">1235 </span>  <span class="Delimiter">{</span>
+<span id="L1236" class="LineNr">1236 </span>    compare g, <span class="Constant">1</span>/ctrl-a
+<span id="L1237" class="LineNr">1237 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1238" class="LineNr">1238 </span>    <a href='514gap-buffer.mu.html#L1331'>gap-to-previous-start-of-line</a> self
+<span id="L1239" class="LineNr">1239 </span>    <span class="PreProc">return</span>
+<span id="L1240" class="LineNr">1240 </span>  <span class="Delimiter">}</span>
+<span id="L1241" class="LineNr">1241 </span>  <span class="Delimiter">{</span>
+<span id="L1242" class="LineNr">1242 </span>    compare g, <span class="Constant">5</span>/ctrl-e
+<span id="L1243" class="LineNr">1243 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1244" class="LineNr">1244 </span>    <a href='514gap-buffer.mu.html#L1352'>gap-to-next-end-of-line</a> self
+<span id="L1245" class="LineNr">1245 </span>    <span class="PreProc">return</span>
+<span id="L1246" class="LineNr">1246 </span>  <span class="Delimiter">}</span>
+<span id="L1247" class="LineNr">1247 </span>  <span class="Delimiter">{</span>
+<span id="L1248" class="LineNr">1248 </span>    compare g, <span class="Constant">0x81</span>/down-arrow
+<span id="L1249" class="LineNr">1249 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1250" class="LineNr">1250 </span>    <a href='514gap-buffer.mu.html#L1400'>gap-down</a> self
+<span id="L1251" class="LineNr">1251 </span>    <span class="PreProc">return</span>
+<span id="L1252" class="LineNr">1252 </span>  <span class="Delimiter">}</span>
+<span id="L1253" class="LineNr">1253 </span>  <span class="Delimiter">{</span>
+<span id="L1254" class="LineNr">1254 </span>    compare g, <span class="Constant">0x82</span>/up-arrow
+<span id="L1255" class="LineNr">1255 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1256" class="LineNr">1256 </span>    <a href='514gap-buffer.mu.html#L1373'>gap-up</a> self
+<span id="L1257" class="LineNr">1257 </span>    <span class="PreProc">return</span>
+<span id="L1258" class="LineNr">1258 </span>  <span class="Delimiter">}</span>
+<span id="L1259" class="LineNr">1259 </span>  <span class="Delimiter">{</span>
+<span id="L1260" class="LineNr">1260 </span>    compare g, <span class="Constant">0x15</span>/ctrl-u
+<span id="L1261" class="LineNr">1261 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1262" class="LineNr">1262 </span>    <a href='514gap-buffer.mu.html#L19'>clear-gap-buffer</a> self
+<span id="L1263" class="LineNr">1263 </span>    <span class="PreProc">return</span>
+<span id="L1264" class="LineNr">1264 </span>  <span class="Delimiter">}</span>
+<span id="L1265" class="LineNr">1265 </span>  <span class="Delimiter">{</span>
+<span id="L1266" class="LineNr">1266 </span>    compare g, <span class="Constant">9</span>/tab
+<span id="L1267" class="LineNr">1267 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1268" class="LineNr">1268 </span>    <span class="muComment"># tab = 2 spaces</span>
+<span id="L1269" class="LineNr">1269 </span>    <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> self, <span class="Constant">0x20</span>/space
+<span id="L1270" class="LineNr">1270 </span>    <a href='514gap-buffer.mu.html#L446'>add-code-point-at-gap</a> self, <span class="Constant">0x20</span>/space
+<span id="L1271" class="LineNr">1271 </span>    <span class="PreProc">return</span>
+<span id="L1272" class="LineNr">1272 </span>  <span class="Delimiter">}</span>
+<span id="L1273" class="LineNr">1273 </span>  <span class="muComment"># default: insert character</span>
+<span id="L1274" class="LineNr">1274 </span>  <a href='514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> self, g
+<span id="L1275" class="LineNr">1275 </span><span class="Delimiter">}</span>
+<span id="L1276" class="LineNr">1276 </span>
+<span id="L1277" class="LineNr">1277 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1277'>gap-to-start-of-next-word</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1278" class="LineNr">1278 </span>  <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1279" class="LineNr">1279 </span>  <span class="muComment"># skip to next space</span>
+<span id="L1280" class="LineNr">1280 </span>  <span class="Delimiter">{</span>
+<span id="L1281" class="LineNr">1281 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1282" class="LineNr">1282 </span>    compare curr, <span class="Constant">-1</span>
+<span id="L1283" class="LineNr">1283 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1284" class="LineNr">1284 </span>    compare curr, <span class="Constant">0x20</span>/space
+<span id="L1285" class="LineNr">1285 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1286" class="LineNr">1286 </span>    compare curr, <span class="Constant">0xa</span>/newline
+<span id="L1287" class="LineNr">1287 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1288" class="LineNr">1288 </span>    <span class="PreProc">loop</span>
+<span id="L1289" class="LineNr">1289 </span>  <span class="Delimiter">}</span>
+<span id="L1290" class="LineNr">1290 </span>  <span class="muComment"># skip past spaces</span>
+<span id="L1291" class="LineNr">1291 </span>  <span class="Delimiter">{</span>
+<span id="L1292" class="LineNr">1292 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1293" class="LineNr">1293 </span>    compare curr, <span class="Constant">-1</span>
+<span id="L1294" class="LineNr">1294 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1295" class="LineNr">1295 </span>    compare curr, <span class="Constant">0x20</span>/space
+<span id="L1296" class="LineNr">1296 </span>    <span class="PreProc">loop-if-=</span>
+<span id="L1297" class="LineNr">1297 </span>    compare curr, <span class="Constant">0xa</span>/space
+<span id="L1298" class="LineNr">1298 </span>    <span class="PreProc">loop-if-=</span>
+<span id="L1299" class="LineNr">1299 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1300" class="LineNr">1300 </span>    <span class="PreProc">break</span>
+<span id="L1301" class="LineNr">1301 </span>  <span class="Delimiter">}</span>
+<span id="L1302" class="LineNr">1302 </span><span class="Delimiter">}</span>
+<span id="L1303" class="LineNr">1303 </span>
+<span id="L1304" class="LineNr">1304 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1304'>gap-to-end-of-previous-word</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1305" class="LineNr">1305 </span>  <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1306" class="LineNr">1306 </span>  <span class="muComment"># skip to previous space</span>
+<span id="L1307" class="LineNr">1307 </span>  <span class="Delimiter">{</span>
+<span id="L1308" class="LineNr">1308 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1309" class="LineNr">1309 </span>    compare curr, <span class="Constant">-1</span>
+<span id="L1310" class="LineNr">1310 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1311" class="LineNr">1311 </span>    compare curr, <span class="Constant">0x20</span>/space
+<span id="L1312" class="LineNr">1312 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1313" class="LineNr">1313 </span>    compare curr, <span class="Constant">0xa</span>/newline
+<span id="L1314" class="LineNr">1314 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1315" class="LineNr">1315 </span>    <span class="PreProc">loop</span>
+<span id="L1316" class="LineNr">1316 </span>  <span class="Delimiter">}</span>
+<span id="L1317" class="LineNr">1317 </span>  <span class="muComment"># skip past all spaces but one</span>
+<span id="L1318" class="LineNr">1318 </span>  <span class="Delimiter">{</span>
+<span id="L1319" class="LineNr">1319 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1320" class="LineNr">1320 </span>    compare curr, <span class="Constant">-1</span>
+<span id="L1321" class="LineNr">1321 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1322" class="LineNr">1322 </span>    compare curr, <span class="Constant">0x20</span>/space
+<span id="L1323" class="LineNr">1323 </span>    <span class="PreProc">loop-if-=</span>
+<span id="L1324" class="LineNr">1324 </span>    compare curr, <span class="Constant">0xa</span>/space
+<span id="L1325" class="LineNr">1325 </span>    <span class="PreProc">loop-if-=</span>
+<span id="L1326" class="LineNr">1326 </span>    curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1327" class="LineNr">1327 </span>    <span class="PreProc">break</span>
+<span id="L1328" class="LineNr">1328 </span>  <span class="Delimiter">}</span>
+<span id="L1329" class="LineNr">1329 </span><span class="Delimiter">}</span>
+<span id="L1330" class="LineNr">1330 </span>
+<span id="L1331" class="LineNr">1331 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1331'>gap-to-previous-start-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1332" class="LineNr">1332 </span>  <span class="muComment"># skip past immediate newline</span>
+<span id="L1333" class="LineNr">1333 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1334" class="LineNr">1334 </span>  <span class="muComment"># skip to previous newline</span>
+<span id="L1335" class="LineNr">1335 </span>  <span class="Delimiter">{</span>
+<span id="L1336" class="LineNr">1336 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1337" class="LineNr">1337 </span>    <span class="Delimiter">{</span>
+<span id="L1338" class="LineNr">1338 </span>      compare dummy, <span class="Constant">-1</span>
+<span id="L1339" class="LineNr">1339 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1340" class="LineNr">1340 </span>      <span class="PreProc">return</span>
+<span id="L1341" class="LineNr">1341 </span>    <span class="Delimiter">}</span>
+<span id="L1342" class="LineNr">1342 </span>    <span class="Delimiter">{</span>
+<span id="L1343" class="LineNr">1343 </span>      compare dummy, <span class="Constant">0xa</span>/newline
+<span id="L1344" class="LineNr">1344 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1345" class="LineNr">1345 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1346" class="LineNr">1346 </span>      <span class="PreProc">return</span>
+<span id="L1347" class="LineNr">1347 </span>    <span class="Delimiter">}</span>
+<span id="L1348" class="LineNr">1348 </span>    <span class="PreProc">loop</span>
+<span id="L1349" class="LineNr">1349 </span>  <span class="Delimiter">}</span>
+<span id="L1350" class="LineNr">1350 </span><span class="Delimiter">}</span>
+<span id="L1351" class="LineNr">1351 </span>
+<span id="L1352" class="LineNr">1352 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1352'>gap-to-next-end-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1353" class="LineNr">1353 </span>  <span class="muComment"># skip past immediate newline</span>
+<span id="L1354" class="LineNr">1354 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1355" class="LineNr">1355 </span>  <span class="muComment"># skip to next newline</span>
+<span id="L1356" class="LineNr">1356 </span>  <span class="Delimiter">{</span>
+<span id="L1357" class="LineNr">1357 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1358" class="LineNr">1358 </span>    <span class="Delimiter">{</span>
+<span id="L1359" class="LineNr">1359 </span>      compare dummy, <span class="Constant">-1</span>
+<span id="L1360" class="LineNr">1360 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1361" class="LineNr">1361 </span>      <span class="PreProc">return</span>
+<span id="L1362" class="LineNr">1362 </span>    <span class="Delimiter">}</span>
+<span id="L1363" class="LineNr">1363 </span>    <span class="Delimiter">{</span>
+<span id="L1364" class="LineNr">1364 </span>      compare dummy, <span class="Constant">0xa</span>/newline
+<span id="L1365" class="LineNr">1365 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1366" class="LineNr">1366 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1367" class="LineNr">1367 </span>      <span class="PreProc">return</span>
+<span id="L1368" class="LineNr">1368 </span>    <span class="Delimiter">}</span>
+<span id="L1369" class="LineNr">1369 </span>    <span class="PreProc">loop</span>
+<span id="L1370" class="LineNr">1370 </span>  <span class="Delimiter">}</span>
+<span id="L1371" class="LineNr">1371 </span><span class="Delimiter">}</span>
+<span id="L1372" class="LineNr">1372 </span>
+<span id="L1373" class="LineNr">1373 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1373'>gap-up</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1374" class="LineNr">1374 </span>  <span class="muComment"># compute column</span>
+<span id="L1375" class="LineNr">1375 </span>  <span class="PreProc">var</span> col/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1428'>count-columns-to-start-of-line</a> self
+<span id="L1376" class="LineNr">1376 </span>  <span class="muComment">#</span>
+<span id="L1377" class="LineNr">1377 </span>  <a href='514gap-buffer.mu.html#L1331'>gap-to-previous-start-of-line</a> self
+<span id="L1378" class="LineNr">1378 </span>  <span class="muComment"># skip ahead by up to col on previous line</span>
+<span id="L1379" class="LineNr">1379 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1380" class="LineNr">1380 </span>  <span class="Delimiter">{</span>
+<span id="L1381" class="LineNr">1381 </span>    compare i, col
+<span id="L1382" class="LineNr">1382 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1383" class="LineNr">1383 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1384" class="LineNr">1384 </span>    <span class="Delimiter">{</span>
+<span id="L1385" class="LineNr">1385 </span>      compare curr, <span class="Constant">-1</span>
+<span id="L1386" class="LineNr">1386 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1387" class="LineNr">1387 </span>      <span class="PreProc">return</span>
+<span id="L1388" class="LineNr">1388 </span>    <span class="Delimiter">}</span>
+<span id="L1389" class="LineNr">1389 </span>    compare curr, <span class="Constant">0xa</span>/newline
+<span id="L1390" class="LineNr">1390 </span>    <span class="Delimiter">{</span>
+<span id="L1391" class="LineNr">1391 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1392" class="LineNr">1392 </span>      curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1393" class="LineNr">1393 </span>      <span class="PreProc">return</span>
+<span id="L1394" class="LineNr">1394 </span>    <span class="Delimiter">}</span>
+<span id="L1395" class="LineNr">1395 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L1396" class="LineNr">1396 </span>    <span class="PreProc">loop</span>
+<span id="L1397" class="LineNr">1397 </span>  <span class="Delimiter">}</span>
+<span id="L1398" class="LineNr">1398 </span><span class="Delimiter">}</span>
+<span id="L1399" class="LineNr">1399 </span>
+<span id="L1400" class="LineNr">1400 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1400'>gap-down</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1401" class="LineNr">1401 </span>  <span class="muComment"># compute column</span>
+<span id="L1402" class="LineNr">1402 </span>  <span class="PreProc">var</span> col/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L1428'>count-columns-to-start-of-line</a> self
+<span id="L1403" class="LineNr">1403 </span>  <span class="muComment"># skip to start of next line</span>
+<span id="L1404" class="LineNr">1404 </span>  <a href='514gap-buffer.mu.html#L1451'>gap-to-end-of-line</a> self
+<span id="L1405" class="LineNr">1405 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1406" class="LineNr">1406 </span>  <span class="muComment"># skip ahead by up to col on previous line</span>
+<span id="L1407" class="LineNr">1407 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1408" class="LineNr">1408 </span>  <span class="Delimiter">{</span>
+<span id="L1409" class="LineNr">1409 </span>    compare i, col
+<span id="L1410" class="LineNr">1410 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1411" class="LineNr">1411 </span>    <span class="PreProc">var</span> curr/eax: grapheme <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1412" class="LineNr">1412 </span>    <span class="Delimiter">{</span>
+<span id="L1413" class="LineNr">1413 </span>      compare curr, <span class="Constant">-1</span>
+<span id="L1414" class="LineNr">1414 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1415" class="LineNr">1415 </span>      <span class="PreProc">return</span>
+<span id="L1416" class="LineNr">1416 </span>    <span class="Delimiter">}</span>
+<span id="L1417" class="LineNr">1417 </span>    compare curr, <span class="Constant">0xa</span>/newline
+<span id="L1418" class="LineNr">1418 </span>    <span class="Delimiter">{</span>
+<span id="L1419" class="LineNr">1419 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1420" class="LineNr">1420 </span>      curr <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1421" class="LineNr">1421 </span>      <span class="PreProc">return</span>
+<span id="L1422" class="LineNr">1422 </span>    <span class="Delimiter">}</span>
+<span id="L1423" class="LineNr">1423 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L1424" class="LineNr">1424 </span>    <span class="PreProc">loop</span>
+<span id="L1425" class="LineNr">1425 </span>  <span class="Delimiter">}</span>
+<span id="L1426" class="LineNr">1426 </span><span class="Delimiter">}</span>
+<span id="L1427" class="LineNr">1427 </span>
+<span id="L1428" class="LineNr">1428 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1428'>count-columns-to-start-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>)<span class="PreProc"> -&gt; </span>_/<span class="muRegEdx">edx</span>: int <span class="Delimiter">{</span>
+<span id="L1429" class="LineNr">1429 </span>  <span class="PreProc">var</span> count/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1430" class="LineNr">1430 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1431" class="LineNr">1431 </span>  <span class="muComment"># skip to previous newline</span>
+<span id="L1432" class="LineNr">1432 </span>  <span class="Delimiter">{</span>
+<span id="L1433" class="LineNr">1433 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1434" class="LineNr">1434 </span>    <span class="Delimiter">{</span>
+<span id="L1435" class="LineNr">1435 </span>      compare dummy, <span class="Constant">-1</span>
+<span id="L1436" class="LineNr">1436 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1437" class="LineNr">1437 </span>      <span class="PreProc">return</span> count
+<span id="L1438" class="LineNr">1438 </span>    <span class="Delimiter">}</span>
+<span id="L1439" class="LineNr">1439 </span>    <span class="Delimiter">{</span>
+<span id="L1440" class="LineNr">1440 </span>      compare dummy, <span class="Constant">0xa</span>/newline
+<span id="L1441" class="LineNr">1441 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1442" class="LineNr">1442 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1443" class="LineNr">1443 </span>      <span class="PreProc">return</span> count
+<span id="L1444" class="LineNr">1444 </span>    <span class="Delimiter">}</span>
+<span id="L1445" class="LineNr">1445 </span>    count <span class="Special">&lt;-</span> increment
+<span id="L1446" class="LineNr">1446 </span>    <span class="PreProc">loop</span>
+<span id="L1447" class="LineNr">1447 </span>  <span class="Delimiter">}</span>
+<span id="L1448" class="LineNr">1448 </span>  <span class="PreProc">return</span> count
+<span id="L1449" class="LineNr">1449 </span><span class="Delimiter">}</span>
+<span id="L1450" class="LineNr">1450 </span>
+<span id="L1451" class="LineNr">1451 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='514gap-buffer.mu.html#L1451'>gap-to-end-of-line</a></span> self: (addr <a href='514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1452" class="LineNr">1452 </span>  <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1453" class="LineNr">1453 </span>  <span class="muComment"># skip to next newline</span>
+<span id="L1454" class="LineNr">1454 </span>  <span class="Delimiter">{</span>
+<span id="L1455" class="LineNr">1455 </span>    dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L481'>gap-right</a> self
+<span id="L1456" class="LineNr">1456 </span>    <span class="Delimiter">{</span>
+<span id="L1457" class="LineNr">1457 </span>      compare dummy, <span class="Constant">-1</span>
+<span id="L1458" class="LineNr">1458 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1459" class="LineNr">1459 </span>      <span class="PreProc">return</span>
+<span id="L1460" class="LineNr">1460 </span>    <span class="Delimiter">}</span>
+<span id="L1461" class="LineNr">1461 </span>    <span class="Delimiter">{</span>
+<span id="L1462" class="LineNr">1462 </span>      compare dummy, <span class="Constant">0xa</span>/newline
+<span id="L1463" class="LineNr">1463 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1464" class="LineNr">1464 </span>      dummy <span class="Special">&lt;-</span> <a href='514gap-buffer.mu.html#L495'>gap-left</a> self
+<span id="L1465" class="LineNr">1465 </span>      <span class="PreProc">return</span>
+<span id="L1466" class="LineNr">1466 </span>    <span class="Delimiter">}</span>
+<span id="L1467" class="LineNr">1467 </span>    <span class="PreProc">loop</span>
+<span id="L1468" class="LineNr">1468 </span>  <span class="Delimiter">}</span>
+<span id="L1469" class="LineNr">1469 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>
diff --git a/html/apps/color-game.mu.html b/html/apps/color-game.mu.html
index e96285ac..224409d9 100644
--- a/html/apps/color-game.mu.html
+++ b/html/apps/color-game.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 - apps/color-game.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -72,11 +72,11 @@ if ('onhashchange' in window) {
 <span id="L9" class="LineNr"> 9 </span>  <span class="Delimiter">{</span>
 <span id="L10" class="LineNr">10 </span>    compare leftx, rightx
 <span id="L11" class="LineNr">11 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L12" class="LineNr">12 </span>    <a href='../500fake-screen.mu.html#L307'>clear-screen</a> second-screen
+<span id="L12" class="LineNr">12 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> second-screen
 <span id="L13" class="LineNr">13 </span>    <span class="muComment"># interesting value: 9/blue with 0xe/yellow</span>
 <span id="L14" class="LineNr">14 </span>    <a href='color-game.mu.html#L31'>color-field</a> second-screen, leftx <span class="Constant">0x40</span>/y, <span class="Constant">0x40</span>/width <span class="Constant">0x40</span>/height, <span class="Constant">1</span>/blue
 <span id="L15" class="LineNr">15 </span>    <a href='color-game.mu.html#L31'>color-field</a> second-screen, rightx <span class="Constant">0x41</span>/y, <span class="Constant">0x40</span>/width <span class="Constant">0x40</span>/height, <span class="Constant">2</span>/green
-<span id="L16" class="LineNr">16 </span>    <a href='../500fake-screen.mu.html#L620'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L16" class="LineNr">16 </span>    <a href='../500fake-screen.mu.html#L641'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L17" class="LineNr">17 </span>    <span class="muComment"># on the first iteration, give everyone a chance to make their guess</span>
 <span id="L18" class="LineNr">18 </span>    <span class="Delimiter">{</span>
 <span id="L19" class="LineNr">19 </span>      compare leftx, <span class="Constant">0x80</span>
@@ -104,7 +104,7 @@ if ('onhashchange' in window) {
 <span id="L41" class="LineNr">41 </span>    <span class="Delimiter">{</span>
 <span id="L42" class="LineNr">42 </span>      compare x, xmax
 <span id="L43" class="LineNr">43 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L44" class="LineNr">44 </span>      <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L44" class="LineNr">44 </span>      <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L45" class="LineNr">45 </span>      x <span class="Special">&lt;-</span> add <span class="Constant">2</span>
 <span id="L46" class="LineNr">46 </span>      <span class="PreProc">loop</span>
 <span id="L47" class="LineNr">47 </span>    <span class="Delimiter">}</span>
@@ -116,7 +116,7 @@ if ('onhashchange' in window) {
 <span id="L53" class="LineNr">53 </span>    <span class="Delimiter">{</span>
 <span id="L54" class="LineNr">54 </span>      compare x, xmax
 <span id="L55" class="LineNr">55 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L56" class="LineNr">56 </span>      <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L56" class="LineNr">56 </span>      <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L57" class="LineNr">57 </span>      x <span class="Special">&lt;-</span> add <span class="Constant">2</span>
 <span id="L58" class="LineNr">58 </span>      <span class="PreProc">loop</span>
 <span id="L59" class="LineNr">59 </span>    <span class="Delimiter">}</span>
diff --git a/html/apps/colors.mu.html b/html/apps/colors.mu.html
index 4952798c..2602ae6b 100644
--- a/html/apps/colors.mu.html
+++ b/html/apps/colors.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 - apps/colors.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -78,11 +78,11 @@ if ('onhashchange' in window) {
 <span id="L15" class="LineNr"> 15 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address in-storage
 <span id="L16" class="LineNr"> 16 </span>  <span class="Delimiter">{</span>
 <span id="L17" class="LineNr"> 17 </span>    <span class="muComment"># print prompt</span>
-<span id="L18" class="LineNr"> 18 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;Enter 3 hex bytes for r, g, b (lowercase; no 0x prefix) separated by a single space&gt; &quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x28</span>/y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L18" class="LineNr"> 18 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;Enter 3 hex bytes for r, g, b (lowercase; no 0x prefix) separated by a single space&gt; &quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x28</span>/y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L19" class="LineNr"> 19 </span>    <span class="muComment"># read line from keyboard</span>
 <span id="L20" class="LineNr"> 20 </span>    <a href='../106stream.subx.html#L20'>clear-stream</a> in
 <span id="L21" class="LineNr"> 21 </span>    <span class="Delimiter">{</span>
-<span id="L22" class="LineNr"> 22 </span>      <a href='../500fake-screen.mu.html#L293'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space
+<span id="L22" class="LineNr"> 22 </span>      <a href='../500fake-screen.mu.html#L314'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space
 <span id="L23" class="LineNr"> 23 </span>      <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='../102keyboard.subx.html#L21'>read-key</a> keyboard
 <span id="L24" class="LineNr"> 24 </span>      compare key, <span class="Constant">0xa</span>/newline
 <span id="L25" class="LineNr"> 25 </span>      <span class="PreProc">break-if-=</span>
@@ -91,10 +91,10 @@ if ('onhashchange' in window) {
 <span id="L28" class="LineNr"> 28 </span>      <span class="PreProc">var</span> key2/eax: int <span class="Special">&lt;-</span> copy key
 <span id="L29" class="LineNr"> 29 </span>      <a href='../115write-byte.subx.html#L12'>append-byte</a> in, key2
 <span id="L30" class="LineNr"> 30 </span>      <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> copy key2  <span class="muComment"># TODO: unicode input</span>
-<span id="L31" class="LineNr"> 31 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L31" class="LineNr"> 31 </span>      <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
 <span id="L32" class="LineNr"> 32 </span>      <span class="PreProc">loop</span>
 <span id="L33" class="LineNr"> 33 </span>    <span class="Delimiter">}</span>
-<span id="L34" class="LineNr"> 34 </span>    <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L34" class="LineNr"> 34 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L35" class="LineNr"> 35 </span>    <span class="muComment"># parse</span>
 <span id="L36" class="LineNr"> 36 </span>    <span class="PreProc">var</span> a/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L37" class="LineNr"> 37 </span>    <span class="PreProc">var</span> b/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
@@ -112,11 +112,11 @@ if ('onhashchange' in window) {
 <span id="L49" class="LineNr"> 49 </span>    <a href='colors.mu.html#L188'>print-nearby-colors</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, a, b, c
 <span id="L50" class="LineNr"> 50 </span>    <span class="muComment"># another metric</span>
 <span id="L51" class="LineNr"> 51 </span>    <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='../505colors.mu.html#L260'>nearest-color-euclidean-hsl</a> a, b, c
-<span id="L52" class="LineNr"> 52 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/x, <span class="Constant">0x26</span>/y
-<span id="L53" class="LineNr"> 53 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;nearest (euclidean, h/s/l): &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L54" class="LineNr"> 54 </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>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
-<span id="L55" class="LineNr"> 55 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L56" class="LineNr"> 56 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
+<span id="L52" class="LineNr"> 52 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/x, <span class="Constant">0x26</span>/y
+<span id="L53" class="LineNr"> 53 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;nearest (euclidean, h/s/l): &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L54" class="LineNr"> 54 </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>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L55" class="LineNr"> 55 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L56" class="LineNr"> 56 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
 <span id="L57" class="LineNr"> 57 </span>    <span class="muComment">#</span>
 <span id="L58" class="LineNr"> 58 </span>    <span class="PreProc">loop</span>
 <span id="L59" class="LineNr"> 59 </span>  <span class="Delimiter">}</span>
@@ -285,11 +285,11 @@ if ('onhashchange' in window) {
 <span id="L222" class="LineNr">222 </span>      <span class="PreProc">break-if-!=</span>
 <span id="L223" class="LineNr">223 </span>      compare c, l
 <span id="L224" class="LineNr">224 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L225" class="LineNr">225 </span>      <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/x, y
-<span id="L226" class="LineNr">226 </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>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
-<span id="L227" class="LineNr">227 </span>      <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x14</span>/x, y
-<span id="L228" class="LineNr">228 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
-<span id="L229" class="LineNr">229 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
+<span id="L225" class="LineNr">225 </span>      <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/x, y
+<span id="L226" class="LineNr">226 </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>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L227" class="LineNr">227 </span>      <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x14</span>/x, y
+<span id="L228" class="LineNr">228 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L229" class="LineNr">229 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
 <span id="L230" class="LineNr">230 </span><span class="CommentedCode">#?       draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, &quot; &quot;, 7/fg, 0/bg</span>
 <span id="L231" class="LineNr">231 </span><span class="CommentedCode">#?       draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen screen, a, 7/fg, 0/bg</span>
 <span id="L232" class="LineNr">232 </span><span class="CommentedCode">#?       draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, &quot; &quot;, 7/fg, 0/bg</span>
diff --git a/html/apps/ex1.mu.html b/html/apps/ex1.mu.html
index 16aee038..e03c946b 100644
--- a/html/apps/ex1.mu.html
+++ b/html/apps/ex1.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 - apps/ex1.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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/ex10.mu.html b/html/apps/ex10.mu.html
index ffab815d..46ee2178 100644
--- a/html/apps/ex10.mu.html
+++ b/html/apps/ex10.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 - apps/ex10.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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -84,15 +84,15 @@ if ('onhashchange' in window) {
 <span id="L25" class="LineNr">25 </span>    <span class="Delimiter">{</span>
 <span id="L26" class="LineNr">26 </span>      <span class="PreProc">var</span> dummy1/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L27" class="LineNr">27 </span>      <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L28" class="LineNr">28 </span>      dummy1, dummy2 <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L261'>draw-text-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;         &quot;</span>, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L28" class="LineNr">28 </span>      dummy1, dummy2 <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L316'>draw-text-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;         &quot;</span>, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
 <span id="L29" class="LineNr">29 </span>    <span class="Delimiter">}</span>
 <span id="L30" class="LineNr">30 </span>    <span class="Delimiter">{</span>
 <span id="L31" class="LineNr">31 </span>      <span class="PreProc">var</span> dummy/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L32" class="LineNr">32 </span>      dx, dummy <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L371'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, dx, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L32" class="LineNr">32 </span>      dx, dummy <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, dx, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
 <span id="L33" class="LineNr">33 </span>    <span class="Delimiter">}</span>
 <span id="L34" class="LineNr">34 </span>    <span class="Delimiter">{</span>
 <span id="L35" class="LineNr">35 </span>      <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L36" class="LineNr">36 </span>      dummy, dy <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L371'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, dy, <span class="Constant">5</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L36" class="LineNr">36 </span>      dummy, dy <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, dy, <span class="Constant">5</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
 <span id="L37" class="LineNr">37 </span>    <span class="Delimiter">}</span>
 <span id="L38" class="LineNr">38 </span>    <span class="PreProc">loop</span>
 <span id="L39" class="LineNr">39 </span>  <span class="Delimiter">}</span>
diff --git a/html/apps/ex11.mu.html b/html/apps/ex11.mu.html
index 406265ba..cc71489a 100644
--- a/html/apps/ex11.mu.html
+++ b/html/apps/ex11.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 - apps/ex11.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -96,7 +96,7 @@ if ('onhashchange' in window) {
 <span id="L33" class="LineNr"> 33 </span><span class="Delimiter">}</span>
 <span id="L34" class="LineNr"> 34 </span>
 <span id="L35" class="LineNr"> 35 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex11.mu.html#L35'>render</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='ex11.mu.html#L23'>environment</a>) <span class="Delimiter">{</span>
-<span id="L36" class="LineNr"> 36 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L36" class="LineNr"> 36 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L37" class="LineNr"> 37 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='ex11.mu.html#L23'>environment</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L38" class="LineNr"> 38 </span>  <span class="PreProc">var</span> tmp-ah/<span class="muRegEcx">ecx</span>: (addr handle <a href='ex11.mu.html#L30'>point</a>) <span class="Special">&lt;-</span> get self, p0
 <span id="L39" class="LineNr"> 39 </span>  <span class="PreProc">var</span> tmp/eax: (addr <a href='ex11.mu.html#L30'>point</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tmp-ah
diff --git a/html/apps/ex12.mu.html b/html/apps/ex12.mu.html
index acd12fba..ddfd58e4 100644
--- a/html/apps/ex12.mu.html
+++ b/html/apps/ex12.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 - apps/ex12.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -71,7 +71,7 @@ if ('onhashchange' in window) {
 <span id="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> fg/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L12" class="LineNr">12 </span>  <span class="PreProc">var</span> prev-timer-counter/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L13" class="LineNr">13 </span>  <span class="Delimiter">{</span>
-<span id="L14" class="LineNr">14 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, fg, <span class="Constant">0</span>/bg
+<span id="L14" class="LineNr">14 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, fg, <span class="Constant">0</span>/bg
 <span id="L15" class="LineNr">15 </span>    <span class="muComment"># wait for timer to bump</span>
 <span id="L16" class="LineNr">16 </span>    <span class="Delimiter">{</span>
 <span id="L17" class="LineNr">17 </span>      <span class="PreProc">var</span> curr-timer-counter/eax: int <span class="Special">&lt;-</span> <a href='../319timer.subx.html#L3'>timer-counter</a>
diff --git a/html/apps/ex13.mu.html b/html/apps/ex13.mu.html
index fbe63285..9eb76a6c 100644
--- a/html/apps/ex13.mu.html
+++ b/html/apps/ex13.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 - apps/ex13.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/ex14.mu.html b/html/apps/ex14.mu.html
index 9b527ec1..3c93e761 100644
--- a/html/apps/ex14.mu.html
+++ b/html/apps/ex14.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 - apps/ex14.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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -77,7 +77,7 @@ if ('onhashchange' in window) {
 <span id="L18" class="LineNr">18 </span>  <span class="PreProc">var</span> text-storage: (stream byte <span class="Constant">0x200</span>)
 <span id="L19" class="LineNr">19 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address text-storage
 <span id="L20" class="LineNr">20 </span>  <a href='../510disk.mu.html#L1'>load-sectors</a> data-disk, <span class="Constant">0</span>/lba, <span class="Constant">1</span>/num-sectors, text
-<span id="L21" class="LineNr">21 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L117'>draw-stream-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/x <span class="Constant">0x80</span>/xmax <span class="Constant">0</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L21" class="LineNr">21 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L124'>draw-stream-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">0</span>/x <span class="Constant">0x80</span>/xmax <span class="Constant">0</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
 <span id="L22" class="LineNr">22 </span><span class="Delimiter">}</span>
 </pre>
 </body>
diff --git a/html/apps/ex15.mu.html b/html/apps/ex15.mu.html
index fd61ac64..838838b1 100644
--- a/html/apps/ex15.mu.html
+++ b/html/apps/ex15.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 - apps/ex15.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; }
@@ -17,14 +17,16 @@ a { color:inherit; }
 .PreProc { color: #c000c0; }
 .Special { color: #ff6060; }
 .LineNr { }
+.muRegEsi { color: #005faf; }
 .Constant { color: #008787; }
+.muRegEcx { color: #870000; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
 .muComment { color: #005faf; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -56,42 +58,155 @@ if ('onhashchange' in window) {
 <body onload='JumpToLine();'>
 <a href='https://github.com/akkartik/mu/blob/main/apps/ex15.mu'>https://github.com/akkartik/mu/blob/main/apps/ex15.mu</a>
 <pre id='vimCodeElement'>
-<span id="L1" class="LineNr"> 1 </span><span class="muComment"># Demo of combining-character support in Mu, which can be summarized as, &quot;the</span>
-<span id="L2" class="LineNr"> 2 </span><span class="muComment"># old typewriter-based approach of backing up one character and adding the</span>
-<span id="L3" class="LineNr"> 3 </span><span class="muComment"># accent or _matra_ in.&quot;</span>
-<span id="L4" class="LineNr"> 4 </span><span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Combining_character">https://en.wikipedia.org/wiki/Combining_character</a></span>
-<span id="L5" class="LineNr"> 5 </span><span class="muComment">#</span>
-<span id="L6" class="LineNr"> 6 </span><span class="muComment"># Mu uses this approach for both accents in Latin languages and vowel</span>
-<span id="L7" class="LineNr"> 7 </span><span class="muComment"># diacritics in Abugida scripts.</span>
-<span id="L8" class="LineNr"> 8 </span><span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Diacritic">https://en.wikipedia.org/wiki/Diacritic</a></span>
-<span id="L9" class="LineNr"> 9 </span><span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Abugida">https://en.wikipedia.org/wiki/Abugida</a></span>
-<span id="L10" class="LineNr">10 </span><span class="muComment">#</span>
-<span id="L11" class="LineNr">11 </span><span class="muComment"># Steps for trying it out:</span>
-<span id="L12" class="LineNr">12 </span><span class="muComment">#   1. Translate this example into a disk image code.img.</span>
-<span id="L13" class="LineNr">13 </span><span class="muComment">#       ./translate apps/ex15.mu</span>
-<span id="L14" class="LineNr">14 </span><span class="muComment">#   2. Run:</span>
-<span id="L15" class="LineNr">15 </span><span class="muComment">#       qemu-system-i386 -hda code.img -hdb data.img</span>
-<span id="L16" class="LineNr">16 </span><span class="muComment">#</span>
-<span id="L17" class="LineNr">17 </span><span class="muComment"># Expected output: 'à' in green in a few places near the top-left corner of</span>
-<span id="L18" class="LineNr">18 </span><span class="muComment"># screen, showing off what this approach can and cannot do.</span>
-<span id="L19" class="LineNr">19 </span>
-<span id="L20" class="LineNr">20 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex15.mu.html#L20'>main</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
-<span id="L21" class="LineNr">21 </span>  <span class="muComment"># at the top of screen, the accent is almost cropped</span>
-<span id="L22" class="LineNr">22 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">0</span>/x <span class="Constant">0</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L23" class="LineNr">23 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">0</span>/x <span class="Constant">0</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L24" class="LineNr">24 </span>
-<span id="L25" class="LineNr">25 </span>  <span class="muComment"># below a grapheme with a descender, the accent uglily overlaps</span>
-<span id="L26" class="LineNr">26 </span>  <span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Descender">https://en.wikipedia.org/wiki/Descender</a></span>
-<span id="L27" class="LineNr">27 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x67</span>/g,                       <span class="Constant">4</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L28" class="LineNr">28 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">4</span>/x <span class="Constant">4</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L29" class="LineNr">29 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">4</span>/x <span class="Constant">4</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L30" class="LineNr">30 </span>
-<span id="L31" class="LineNr">31 </span>  <span class="muComment"># beside a grapheme with a descender, it becomes more obvious that monowidth fonts can't make baselines line up</span>
-<span id="L32" class="LineNr">32 </span>  <span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Baseline_(typography)">https://en.wikipedia.org/wiki/Baseline_(typography)</a></span>
-<span id="L33" class="LineNr">33 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x67</span>/g,                       <span class="Constant">8</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L34" class="LineNr">34 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">9</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L35" class="LineNr">35 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">9</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L36" class="LineNr">36 </span><span class="Delimiter">}</span>
+<span id="L1" class="LineNr">  1 </span><span class="muComment"># Demo of combining-character support in Mu, which can be summarized as, &quot;the</span>
+<span id="L2" class="LineNr">  2 </span><span class="muComment"># old typewriter-based approach of backing up one character and adding the</span>
+<span id="L3" class="LineNr">  3 </span><span class="muComment"># accent or _matra_ in.&quot;</span>
+<span id="L4" class="LineNr">  4 </span><span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Combining_character">https://en.wikipedia.org/wiki/Combining_character</a></span>
+<span id="L5" class="LineNr">  5 </span><span class="muComment">#</span>
+<span id="L6" class="LineNr">  6 </span><span class="muComment"># Mu uses this approach for both accents in Latin languages and vowel</span>
+<span id="L7" class="LineNr">  7 </span><span class="muComment"># diacritics in Abugida scripts.</span>
+<span id="L8" class="LineNr">  8 </span><span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Diacritic">https://en.wikipedia.org/wiki/Diacritic</a></span>
+<span id="L9" class="LineNr">  9 </span><span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Abugida">https://en.wikipedia.org/wiki/Abugida</a></span>
+<span id="L10" class="LineNr"> 10 </span><span class="muComment">#</span>
+<span id="L11" class="LineNr"> 11 </span><span class="muComment"># Steps for trying it out:</span>
+<span id="L12" class="LineNr"> 12 </span><span class="muComment">#   1. Translate this example into a disk image code.img.</span>
+<span id="L13" class="LineNr"> 13 </span><span class="muComment">#       ./translate apps/ex15.mu</span>
+<span id="L14" class="LineNr"> 14 </span><span class="muComment">#   2. Run:</span>
+<span id="L15" class="LineNr"> 15 </span><span class="muComment">#       qemu-system-i386 -hda code.img -hdb data.img</span>
+<span id="L16" class="LineNr"> 16 </span><span class="muComment">#</span>
+<span id="L17" class="LineNr"> 17 </span><span class="muComment"># Expected output, showing off what this approach can and cannot do:</span>
+<span id="L18" class="LineNr"> 18 </span><span class="muComment">#   'à' in green in a few places near the top-left corner of screen, with</span>
+<span id="L19" class="LineNr"> 19 </span><span class="muComment">#   other letters nearby showing cases where characters blend to the eye.</span>
+<span id="L20" class="LineNr"> 20 </span><span class="muComment">#</span>
+<span id="L21" class="LineNr"> 21 </span><span class="muComment">#   A few Devanagari letter combinations. Devanagari works well except for</span>
+<span id="L22" class="LineNr"> 22 </span><span class="muComment">#   characters blending together.</span>
+<span id="L23" class="LineNr"> 23 </span><span class="muComment">#</span>
+<span id="L24" class="LineNr"> 24 </span><span class="muComment">#   A few Tamil letter combinations. Tamil often doesn't look right, and</span>
+<span id="L25" class="LineNr"> 25 </span><span class="muComment">#   requires ligatures for many letter combinations.</span>
+<span id="L26" class="LineNr"> 26 </span><span class="muComment">#</span>
+<span id="L27" class="LineNr"> 27 </span><span class="muComment">#   Others? (Patches welcome.) I suspect Tibetan in particular will not work</span>
+<span id="L28" class="LineNr"> 28 </span><span class="muComment">#   well with this approach. But I need native readers to assess quality.</span>
+<span id="L29" class="LineNr"> 29 </span>
+<span id="L30" class="LineNr"> 30 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex15.mu.html#L30'>main</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
+<span id="L31" class="LineNr"> 31 </span>  <span class="muComment"># at the top of screen, the accent is almost cropped</span>
+<span id="L32" class="LineNr"> 32 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">0</span>/x <span class="Constant">0</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L33" class="LineNr"> 33 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">0</span>/x <span class="Constant">0</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L34" class="LineNr"> 34 </span>
+<span id="L35" class="LineNr"> 35 </span>  <span class="muComment"># below a grapheme with a descender, the accent uglily overlaps</span>
+<span id="L36" class="LineNr"> 36 </span>  <span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Descender">https://en.wikipedia.org/wiki/Descender</a></span>
+<span id="L37" class="LineNr"> 37 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x67</span>/g,                       <span class="Constant">4</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L38" class="LineNr"> 38 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">4</span>/x <span class="Constant">4</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L39" class="LineNr"> 39 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">4</span>/x <span class="Constant">4</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L40" class="LineNr"> 40 </span>
+<span id="L41" class="LineNr"> 41 </span>  <span class="muComment"># beside a grapheme with a descender, it becomes more obvious that monowidth fonts can't make baselines line up</span>
+<span id="L42" class="LineNr"> 42 </span>  <span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Baseline_(typography)">https://en.wikipedia.org/wiki/Baseline_(typography)</a></span>
+<span id="L43" class="LineNr"> 43 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x67</span>/g,                       <span class="Constant">8</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L44" class="LineNr"> 44 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">9</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L45" class="LineNr"> 45 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">9</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L46" class="LineNr"> 46 </span>
+<span id="L47" class="LineNr"> 47 </span>  <span class="muComment"># a single devanagari letter combined with different vowel _matras_</span>
+<span id="L48" class="LineNr"> 48 </span>  <span class="muComment"># ka</span>
+<span id="L49" class="LineNr"> 49 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">4</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L50" class="LineNr"> 50 </span>  <span class="muComment"># kaa</span>
+<span id="L51" class="LineNr"> 51 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">7</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L52" class="LineNr"> 52 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x093e</span>/devanagari-vowel-aa, <span class="Constant">7</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L53" class="LineNr"> 53 </span>  <span class="muComment"># ki</span>
+<span id="L54" class="LineNr"> 54 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0xa</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L55" class="LineNr"> 55 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x093f</span>/devanagari-vowel-i, <span class="Constant">0xa</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L56" class="LineNr"> 56 </span>  <span class="muComment"># kee</span>
+<span id="L57" class="LineNr"> 57 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0xd</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L58" class="LineNr"> 58 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0940</span>/devanagari-vowel-ii, <span class="Constant">0xd</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L59" class="LineNr"> 59 </span>  <span class="muComment"># ku</span>
+<span id="L60" class="LineNr"> 60 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0x10</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L61" class="LineNr"> 61 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0941</span>/devanagari-vowel-u, <span class="Constant">0x10</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L62" class="LineNr"> 62 </span>  <span class="muComment"># koo</span>
+<span id="L63" class="LineNr"> 63 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0x13</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L64" class="LineNr"> 64 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0942</span>/devanagari-vowel-oo, <span class="Constant">0x13</span>/x <span class="Constant">8</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L65" class="LineNr"> 65 </span>  <span class="muComment"># kay</span>
+<span id="L66" class="LineNr"> 66 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">4</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L67" class="LineNr"> 67 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0947</span>/devanagari-vowel-E, <span class="Constant">4</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L68" class="LineNr"> 68 </span>  <span class="muComment"># kai</span>
+<span id="L69" class="LineNr"> 69 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">7</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L70" class="LineNr"> 70 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0948</span>/devanagari-vowel-ai, <span class="Constant">7</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L71" class="LineNr"> 71 </span>  <span class="muComment"># ko</span>
+<span id="L72" class="LineNr"> 72 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0xa</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L73" class="LineNr"> 73 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x094b</span>/devanagari-vowel-o, <span class="Constant">0xa</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L74" class="LineNr"> 74 </span>  <span class="muComment"># kow</span>
+<span id="L75" class="LineNr"> 75 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0xd</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L76" class="LineNr"> 76 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x094f</span>/devanagari-vowel-aw, <span class="Constant">0xd</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L77" class="LineNr"> 77 </span>  <span class="muComment"># kan</span>
+<span id="L78" class="LineNr"> 78 </span>  <span class="muComment"># bump this letter down to show the letter without overlap; we've already established above that overlap is an issue</span>
+<span id="L79" class="LineNr"> 79 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0x10</span>/x <span class="Constant">0xa</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L80" class="LineNr"> 80 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0902</span>/devanagari-anusvara, <span class="Constant">0x10</span>/x <span class="Constant">0xa</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L81" class="LineNr"> 81 </span>  <span class="muComment"># kaha</span>
+<span id="L82" class="LineNr"> 82 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0x13</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L83" class="LineNr"> 83 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0903</span>/devanagari-visarga, <span class="Constant">0x13</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L84" class="LineNr"> 84 </span>
+<span id="L85" class="LineNr"> 85 </span>  <span class="muComment"># render the same devanagari letters as a single stream of utf-8 graphemes rather than individual code-points.</span>
+<span id="L86" class="LineNr"> 86 </span>  <span class="PreProc">var</span> text-storage: (stream byte <span class="Constant">0x200</span>)
+<span id="L87" class="LineNr"> 87 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address text-storage
+<span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0915</span>/devanagari-letter-ka
+<span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> ka/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy g
+<span id="L90" class="LineNr"> 90 </span>  <span class="muComment"># ka</span>
+<span id="L91" class="LineNr"> 91 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L92" class="LineNr"> 92 </span>  <span class="muComment"># kaa</span>
+<span id="L93" class="LineNr"> 93 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L94" class="LineNr"> 94 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x093e</span>/devanagari-vowel-aa
+<span id="L95" class="LineNr"> 95 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L96" class="LineNr"> 96 </span>  <span class="muComment"># ki</span>
+<span id="L97" class="LineNr"> 97 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L98" class="LineNr"> 98 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x093f</span>/devanagari-vowel-i
+<span id="L99" class="LineNr"> 99 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L100" class="LineNr">100 </span>  <span class="muComment"># kee</span>
+<span id="L101" class="LineNr">101 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L102" class="LineNr">102 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0940</span>/devanagari-vowel-ii
+<span id="L103" class="LineNr">103 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L104" class="LineNr">104 </span>  <span class="muComment"># ku</span>
+<span id="L105" class="LineNr">105 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L106" class="LineNr">106 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0941</span>/devanagari-vowel-u
+<span id="L107" class="LineNr">107 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L108" class="LineNr">108 </span>  <span class="muComment"># koo</span>
+<span id="L109" class="LineNr">109 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L110" class="LineNr">110 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0942</span>/devanagari-vowel-oo
+<span id="L111" class="LineNr">111 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L112" class="LineNr">112 </span>  <span class="muComment"># kay</span>
+<span id="L113" class="LineNr">113 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L114" class="LineNr">114 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0947</span>/devanagari-vowel-E
+<span id="L115" class="LineNr">115 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L116" class="LineNr">116 </span>  <span class="muComment"># kai</span>
+<span id="L117" class="LineNr">117 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L118" class="LineNr">118 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0948</span>/devanagari-vowel-ai
+<span id="L119" class="LineNr">119 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L120" class="LineNr">120 </span>  <span class="muComment"># ko</span>
+<span id="L121" class="LineNr">121 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L122" class="LineNr">122 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x094b</span>/devanagari-vowel-o
+<span id="L123" class="LineNr">123 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L124" class="LineNr">124 </span>  <span class="muComment"># kow</span>
+<span id="L125" class="LineNr">125 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L126" class="LineNr">126 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x094f</span>/devanagari-vowel-aw
+<span id="L127" class="LineNr">127 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L128" class="LineNr">128 </span>  <span class="muComment"># kan</span>
+<span id="L129" class="LineNr">129 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L130" class="LineNr">130 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0902</span>/devanagari-anusvara
+<span id="L131" class="LineNr">131 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L132" class="LineNr">132 </span>  <span class="muComment"># kaha</span>
+<span id="L133" class="LineNr">133 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L134" class="LineNr">134 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0903</span>/devanagari-visarga
+<span id="L135" class="LineNr">135 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L136" class="LineNr">136 </span>  <span class="muComment"># render everything</span>
+<span id="L137" class="LineNr">137 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">4</span>/x <span class="Constant">0xe</span>/y
+<span id="L138" class="LineNr">138 </span>  <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L139" class="LineNr">139 </span>
+<span id="L140" class="LineNr">140 </span>  <span class="muComment"># a stream of tamil graphemes (with interspersed spaces for clarity) that don't look the same in Mu</span>
+<span id="L141" class="LineNr">141 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x12</span>/y
+<span id="L142" class="LineNr">142 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;எ ஃ கு &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L143" class="LineNr">143 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x13</span>/y
+<span id="L144" class="LineNr">144 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;அ ன் று &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L145" class="LineNr">145 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x14</span>/y
+<span id="L146" class="LineNr">146 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;அ தா வ து &quot;</span> , <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L147" class="LineNr">147 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x15</span>/y
+<span id="L148" class="LineNr">148 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;அ ஃ தா ன் று &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L149" class="LineNr">149 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>
diff --git a/html/apps/ex2.mu.html b/html/apps/ex2.mu.html
index c97b54fe..a8b5b427 100644
--- a/html/apps/ex2.mu.html
+++ b/html/apps/ex2.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 - apps/ex2.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -76,7 +76,7 @@ if ('onhashchange' in window) {
 <span id="L16" class="LineNr">16 </span>      <span class="PreProc">break-if-&gt;=</span>
 <span id="L17" class="LineNr">17 </span>      <span class="PreProc">var</span> color/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
 <span id="L18" class="LineNr">18 </span>      color <span class="Special">&lt;-</span> and <span class="Constant">0xff</span>
-<span id="L19" class="LineNr">19 </span>      <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a> x, y, color
+<span id="L19" class="LineNr">19 </span>      <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a> x, y, color
 <span id="L20" class="LineNr">20 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L21" class="LineNr">21 </span>      <span class="PreProc">loop</span>
 <span id="L22" class="LineNr">22 </span>    <span class="Delimiter">}</span>
diff --git a/html/apps/ex3.mu.html b/html/apps/ex3.mu.html
index 268bd3d9..60a92bc8 100644
--- a/html/apps/ex3.mu.html
+++ b/html/apps/ex3.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 - apps/ex3.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/ex4.mu.html b/html/apps/ex4.mu.html
index 89fca96e..93affdd9 100644
--- a/html/apps/ex4.mu.html
+++ b/html/apps/ex4.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 - apps/ex4.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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/ex5.mu.html b/html/apps/ex5.mu.html
index 8e4fc8de..539b2bf8 100644
--- a/html/apps/ex5.mu.html
+++ b/html/apps/ex5.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 - apps/ex5.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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -67,8 +67,8 @@ if ('onhashchange' in window) {
 <span id="L9" class="LineNr"> 9 </span><span class="muComment"># Expected output: text in green near the top-left corner of screen</span>
 <span id="L10" class="LineNr">10 </span>
 <span id="L11" class="LineNr">11 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex5.mu.html#L11'>main</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
-<span id="L12" class="LineNr">12 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L13" class="LineNr">13 </span>  dummy <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;you shouldn't see this&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0xa0</span>/xmax, <span class="Constant">0x30</span>/y, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg  <span class="muComment"># xmax is too narrow</span>
+<span id="L12" class="LineNr">12 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L13" class="LineNr">13 </span>  dummy <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;you shouldn't see this&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0xa0</span>/xmax, <span class="Constant">0x30</span>/y, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg  <span class="muComment"># xmax is too narrow</span>
 <span id="L14" class="LineNr">14 </span><span class="Delimiter">}</span>
 </pre>
 </body>
diff --git a/html/apps/ex6.mu.html b/html/apps/ex6.mu.html
index c0af2711..91fe110e 100644
--- a/html/apps/ex6.mu.html
+++ b/html/apps/ex6.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 - apps/ex6.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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -71,21 +71,21 @@ if ('onhashchange' in window) {
 <span id="L12" class="LineNr">12 </span>  <a href='../503manhattan-line.mu.html#L1'>draw-box-on-real-screen</a> <span class="Constant">0xf</span>, <span class="Constant">0x1f</span>, <span class="Constant">0x79</span>, <span class="Constant">0x51</span>, <span class="Constant">0x4</span>
 <span id="L13" class="LineNr">13 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>
 <span id="L14" class="LineNr">14 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>
-<span id="L15" class="LineNr">15 </span>  x, y <span class="Special">&lt;-</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">&quot;hello &quot;</span>,     <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L16" class="LineNr">16 </span>  x, y <span class="Special">&lt;-</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">&quot;from &quot;</span>,      <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L17" class="LineNr">17 </span>  x, y <span class="Special">&lt;-</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">&quot;baremetal &quot;</span>, <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L18" class="LineNr">18 </span>  x, y <span class="Special">&lt;-</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">&quot;Mu!&quot;</span>,        <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L15" class="LineNr">15 </span>  x, y <span class="Special">&lt;-</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">&quot;hello &quot;</span>,     <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L16" class="LineNr">16 </span>  x, y <span class="Special">&lt;-</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">&quot;from &quot;</span>,      <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L17" class="LineNr">17 </span>  x, y <span class="Special">&lt;-</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">&quot;baremetal &quot;</span>, <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L18" class="LineNr">18 </span>  x, y <span class="Special">&lt;-</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">&quot;Mu!&quot;</span>,        <span class="Constant">0x10</span>/xmin, <span class="Constant">0x20</span>/ymin, <span class="Constant">0x78</span>/xmax, <span class="Constant">0x50</span>/ymax, x, y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
 <span id="L19" class="LineNr">19 </span>
 <span id="L20" class="LineNr">20 </span>  <span class="muComment"># drawing at the cursor in multiple directions</span>
-<span id="L21" class="LineNr">21 </span>  <a href='../501draw-text.mu.html#L504'>draw-text-wrapping-down-then-right-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L22" class="LineNr">22 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;def&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L21" class="LineNr">21 </span>  <a href='../501draw-text.mu.html#L559'>draw-text-wrapping-down-then-right-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L22" class="LineNr">22 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;def&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
 <span id="L23" class="LineNr">23 </span>
 <span id="L24" class="LineNr">24 </span>  <span class="muComment"># test drawing near the edge</span>
-<span id="L25" class="LineNr">25 </span>  x <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;R&quot;</span>, <span class="Constant">0x7f</span>/x, <span class="Constant">0x80</span>/xmax=screen-width, <span class="Constant">0x18</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L26" class="LineNr">26 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;wrapped from R&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L25" class="LineNr">25 </span>  x <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;R&quot;</span>, <span class="Constant">0x7f</span>/x, <span class="Constant">0x80</span>/xmax=screen-width, <span class="Constant">0x18</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L26" class="LineNr">26 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;wrapped from R&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
 <span id="L27" class="LineNr">27 </span>
-<span id="L28" class="LineNr">28 </span>  x <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L406'>draw-text-downward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;D&quot;</span>, <span class="Constant">0x20</span>/x, <span class="Constant">0x2f</span>/y, <span class="Constant">0x30</span>/ymax=screen-height, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
-<span id="L29" class="LineNr">29 </span>  <a href='../501draw-text.mu.html#L504'>draw-text-wrapping-down-then-right-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;wrapped from D&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L28" class="LineNr">28 </span>  x <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L461'>draw-text-downward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;D&quot;</span>, <span class="Constant">0x20</span>/x, <span class="Constant">0x2f</span>/y, <span class="Constant">0x30</span>/ymax=screen-height, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L29" class="LineNr">29 </span>  <a href='../501draw-text.mu.html#L559'>draw-text-wrapping-down-then-right-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;wrapped from D&quot;</span>, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
 <span id="L30" class="LineNr">30 </span><span class="Delimiter">}</span>
 </pre>
 </body>
diff --git a/html/apps/ex7.mu.html b/html/apps/ex7.mu.html
index 6dbd0e24..50d9d4b5 100644
--- a/html/apps/ex7.mu.html
+++ b/html/apps/ex7.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 - apps/ex7.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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -67,39 +67,38 @@ if ('onhashchange' in window) {
 <span id="L9" class="LineNr"> 9 </span><span class="muComment"># k, l.</span>
 <span id="L10" class="LineNr">10 </span>
 <span id="L11" class="LineNr">11 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex7.mu.html#L11'>main</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
-<span id="L12" class="LineNr">12 </span>  <span class="PreProc">var</span> space/eax: grapheme <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>
-<span id="L13" class="LineNr">13 </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>, <span class="Constant">0</span>
-<span id="L14" class="LineNr">14 </span>  <span class="Delimiter">{</span>
-<span id="L15" class="LineNr">15 </span>    <a href='../500fake-screen.mu.html#L293'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, space
-<span id="L16" class="LineNr">16 </span>    <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='../102keyboard.subx.html#L21'>read-key</a> keyboard
-<span id="L17" class="LineNr">17 </span>    <span class="Delimiter">{</span>
-<span id="L18" class="LineNr">18 </span>      compare key, <span class="Constant">0x68</span>/h
-<span id="L19" class="LineNr">19 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L20" class="LineNr">20 </span>      draw-code-point-at-cursor <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
-<span id="L21" class="LineNr">21 </span>      <a href='../501draw-text.mu.html#L3'>move-cursor-left</a> <span class="Constant">0</span>
-<span id="L22" class="LineNr">22 </span>    <span class="Delimiter">}</span>
-<span id="L23" class="LineNr">23 </span>    <span class="Delimiter">{</span>
-<span id="L24" class="LineNr">24 </span>      compare key, <span class="Constant">0x6a</span>/j
-<span id="L25" class="LineNr">25 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L26" class="LineNr">26 </span>      draw-code-point-at-cursor <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x7c</span>/vertical-bar, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
-<span id="L27" class="LineNr">27 </span>      <a href='../501draw-text.mu.html#L47'>move-cursor-down</a> <span class="Constant">0</span>
-<span id="L28" class="LineNr">28 </span>    <span class="Delimiter">}</span>
-<span id="L29" class="LineNr">29 </span>    <span class="Delimiter">{</span>
-<span id="L30" class="LineNr">30 </span>      compare key, <span class="Constant">0x6b</span>/k
-<span id="L31" class="LineNr">31 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L32" class="LineNr">32 </span>      draw-code-point-at-cursor <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x7c</span>/vertical-bar, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
-<span id="L33" class="LineNr">33 </span>      <a href='../501draw-text.mu.html#L34'>move-cursor-up</a> <span class="Constant">0</span>
-<span id="L34" class="LineNr">34 </span>    <span class="Delimiter">}</span>
-<span id="L35" class="LineNr">35 </span>    <span class="Delimiter">{</span>
-<span id="L36" class="LineNr">36 </span>      compare key, <span class="Constant">0x6c</span>/l
-<span id="L37" class="LineNr">37 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L38" class="LineNr">38 </span>      <span class="PreProc">var</span> g/eax: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0x2d</span>/dash
-<span id="L39" class="LineNr">39 </span>      draw-code-point-at-cursor <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
-<span id="L40" class="LineNr">40 </span>      <a href='../501draw-text.mu.html#L16'>move-cursor-right</a> <span class="Constant">0</span>
-<span id="L41" class="LineNr">41 </span>    <span class="Delimiter">}</span>
-<span id="L42" class="LineNr">42 </span>    <span class="PreProc">loop</span>
-<span id="L43" class="LineNr">43 </span>  <span class="Delimiter">}</span>
-<span id="L44" class="LineNr">44 </span><span class="Delimiter">}</span>
+<span id="L12" class="LineNr">12 </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>, <span class="Constant">0</span>
+<span id="L13" class="LineNr">13 </span>  <span class="Delimiter">{</span>
+<span id="L14" class="LineNr">14 </span>    <a href='../500fake-screen.mu.html#L314'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space
+<span id="L15" class="LineNr">15 </span>    <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='../102keyboard.subx.html#L21'>read-key</a> keyboard
+<span id="L16" class="LineNr">16 </span>    <span class="Delimiter">{</span>
+<span id="L17" class="LineNr">17 </span>      compare key, <span class="Constant">0x80</span>/left-arrow
+<span id="L18" class="LineNr">18 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L19" class="LineNr">19 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L20" class="LineNr">20 </span>      <a href='../501draw-text.mu.html#L3'>move-cursor-left</a> <span class="Constant">0</span>
+<span id="L21" class="LineNr">21 </span>    <span class="Delimiter">}</span>
+<span id="L22" class="LineNr">22 </span>    <span class="Delimiter">{</span>
+<span id="L23" class="LineNr">23 </span>      compare key, <span class="Constant">0x81</span>/down-arrow
+<span id="L24" class="LineNr">24 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L25" class="LineNr">25 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x7c</span>/vertical-bar, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L26" class="LineNr">26 </span>      <a href='../501draw-text.mu.html#L47'>move-cursor-down</a> <span class="Constant">0</span>
+<span id="L27" class="LineNr">27 </span>    <span class="Delimiter">}</span>
+<span id="L28" class="LineNr">28 </span>    <span class="Delimiter">{</span>
+<span id="L29" class="LineNr">29 </span>      compare key, <span class="Constant">0x82</span>/up-arrow
+<span id="L30" class="LineNr">30 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L31" class="LineNr">31 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x7c</span>/vertical-bar, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L32" class="LineNr">32 </span>      <a href='../501draw-text.mu.html#L34'>move-cursor-up</a> <span class="Constant">0</span>
+<span id="L33" class="LineNr">33 </span>    <span class="Delimiter">}</span>
+<span id="L34" class="LineNr">34 </span>    <span class="Delimiter">{</span>
+<span id="L35" class="LineNr">35 </span>      compare key, <span class="Constant">0x83</span>/right-arrow
+<span id="L36" class="LineNr">36 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L37" class="LineNr">37 </span>      <span class="PreProc">var</span> g/eax: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0x2d</span>/dash
+<span id="L38" class="LineNr">38 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg
+<span id="L39" class="LineNr">39 </span>      <a href='../501draw-text.mu.html#L16'>move-cursor-right</a> <span class="Constant">0</span>
+<span id="L40" class="LineNr">40 </span>    <span class="Delimiter">}</span>
+<span id="L41" class="LineNr">41 </span>    <span class="PreProc">loop</span>
+<span id="L42" class="LineNr">42 </span>  <span class="Delimiter">}</span>
+<span id="L43" class="LineNr">43 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>
diff --git a/html/apps/ex8.mu.html b/html/apps/ex8.mu.html
index 429cddf4..d27adafd 100644
--- a/html/apps/ex8.mu.html
+++ b/html/apps/ex8.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 - apps/ex8.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; }
@@ -24,7 +24,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/ex9.mu.html b/html/apps/ex9.mu.html
index 891a510f..88eecf70 100644
--- a/html/apps/ex9.mu.html
+++ b/html/apps/ex9.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 - apps/ex9.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/hest-life.mu.html b/html/apps/hest-life.mu.html
index 3c781697..c98137d4 100644
--- a/html/apps/hest-life.mu.html
+++ b/html/apps/hest-life.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 - apps/hest-life.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -93,7 +93,7 @@ if ('onhashchange' in window) {
 <span id="L29" class="LineNr">  29 </span>  <a href='../500fake-screen.mu.html#L32'>initialize-screen</a> second-screen, <span class="Constant">0x80</span>, <span class="Constant">0x30</span>, <span class="Constant">1</span>/include-pixels
 <span id="L30" class="LineNr">  30 </span>  <a href='hest-life.mu.html#L63'>render</a> second-screen, env
 <span id="L31" class="LineNr">  31 </span>  convert-graphemes-to-pixels second-screen
-<span id="L32" class="LineNr">  32 </span>  <a href='../500fake-screen.mu.html#L620'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L32" class="LineNr">  32 </span>  <a href='../500fake-screen.mu.html#L641'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L33" class="LineNr">  33 </span>  <span class="Delimiter">{</span>
 <span id="L34" class="LineNr">  34 </span>    <a href='hest-life.mu.html#L595'>edit</a> keyboard, env
 <span id="L35" class="LineNr">  35 </span>    <span class="PreProc">var</span> play?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, play?
@@ -101,10 +101,10 @@ if ('onhashchange' in window) {
 <span id="L37" class="LineNr">  37 </span>    <span class="Delimiter">{</span>
 <span id="L38" class="LineNr">  38 </span>      <span class="PreProc">break-if-=</span>
 <span id="L39" class="LineNr">  39 </span>      <a href='hest-life.mu.html#L679'>step</a> env
-<span id="L40" class="LineNr">  40 </span>      <a href='../500fake-screen.mu.html#L307'>clear-screen</a> second-screen
+<span id="L40" class="LineNr">  40 </span>      <a href='../500fake-screen.mu.html#L328'>clear-screen</a> second-screen
 <span id="L41" class="LineNr">  41 </span>      <a href='hest-life.mu.html#L63'>render</a> second-screen, env
 <span id="L42" class="LineNr">  42 </span>      convert-graphemes-to-pixels second-screen
-<span id="L43" class="LineNr">  43 </span>      <a href='../500fake-screen.mu.html#L620'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L43" class="LineNr">  43 </span>      <a href='../500fake-screen.mu.html#L641'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L44" class="LineNr">  44 </span>    <span class="Delimiter">}</span>
 <span id="L45" class="LineNr">  45 </span>    <a href='hest-life.mu.html#L1019'>linger</a>
 <span id="L46" class="LineNr">  46 </span>    <span class="PreProc">loop</span>
@@ -130,13 +130,13 @@ if ('onhashchange' in window) {
 <span id="L66" class="LineNr">  66 </span>  compare *zoom, <span class="Constant">0</span>
 <span id="L67" class="LineNr">  67 </span>  <span class="Delimiter">{</span>
 <span id="L68" class="LineNr">  68 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L69" class="LineNr">  69 </span>    <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L69" class="LineNr">  69 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L70" class="LineNr">  70 </span>    <a href='hest-life.mu.html#L92'>render0</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self
 <span id="L71" class="LineNr">  71 </span>  <span class="Delimiter">}</span>
 <span id="L72" class="LineNr">  72 </span>  compare *zoom, <span class="Constant">1</span>
 <span id="L73" class="LineNr">  73 </span>  <span class="Delimiter">{</span>
 <span id="L74" class="LineNr">  74 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L75" class="LineNr">  75 </span>    <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L75" class="LineNr">  75 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L76" class="LineNr">  76 </span>    <a href='hest-life.mu.html#L212'>render1</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self
 <span id="L77" class="LineNr">  77 </span>  <span class="Delimiter">}</span>
 <span id="L78" class="LineNr">  78 </span>  compare *zoom, <span class="Constant">4</span>
@@ -146,8 +146,8 @@ if ('onhashchange' in window) {
 <span id="L82" class="LineNr">  82 </span>  <span class="Delimiter">}</span>
 <span id="L83" class="LineNr">  83 </span>  <span class="muComment"># clock</span>
 <span id="L84" class="LineNr">  84 </span>  <span class="PreProc">var</span> tick-a/eax: (addr int) <span class="Special">&lt;-</span> get self, tick
-<span id="L85" class="LineNr">  85 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x78</span>/x, <span class="Constant">0</span>/y
-<span id="L86" class="LineNr">  86 </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>, *tick-a, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L85" class="LineNr">  85 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x78</span>/x, <span class="Constant">0</span>/y
+<span id="L86" class="LineNr">  86 </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>, *tick-a, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
 <span id="L87" class="LineNr">  87 </span><span class="Delimiter">}</span>
 <span id="L88" class="LineNr">  88 </span>
 <span id="L89" class="LineNr">  89 </span><span class="muComment"># Lots of hardcoded constants for now.</span>
@@ -180,8 +180,8 @@ if ('onhashchange' in window) {
 <span id="L116" class="LineNr"> 116 </span>  <a href='../507line.mu.html#L86'>draw-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x350</span>/xmin  <span class="Constant">0x170</span>/ymin,   <span class="Constant">0x370</span>/xmax  <span class="Constant">0x190</span>/ymax,  color
 <span id="L117" class="LineNr"> 117 </span>  <span class="muComment"># sum node</span>
 <span id="L118" class="LineNr"> 118 </span>  <a href='../507line.mu.html#L86'>draw-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x170</span>/xsmin <span class="Constant">0x140</span>/ysmin,  <span class="Constant">0x190</span>/xsmax <span class="Constant">0x160</span>/ysmax, <span class="Constant">0x40</span>/color
-<span id="L119" class="LineNr"> 119 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/scol, <span class="Constant">0x13</span>/srow
-<span id="L120" class="LineNr"> 120 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;+&quot;</span>, <span class="Constant">0xf</span>/color, <span class="Constant">0</span>/bg
+<span id="L119" class="LineNr"> 119 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/scol, <span class="Constant">0x13</span>/srow
+<span id="L120" class="LineNr"> 120 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;+&quot;</span>, <span class="Constant">0xf</span>/color, <span class="Constant">0</span>/bg
 <span id="L121" class="LineNr"> 121 </span>  <span class="muComment"># conveyors from neighboring inputs to sum node</span>
 <span id="L122" class="LineNr"> 122 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,  <span class="Constant">0xa0</span>/x0  <span class="Constant">0x20</span>/y0,  <span class="Constant">0x100</span>/x1 <span class="Constant">0x150</span>/ys,  <span class="Constant">0x180</span>/xs <span class="Constant">0x150</span>/ys,  <span class="Constant">4</span>/color
 <span id="L123" class="LineNr"> 123 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,  <span class="Constant">0xa0</span>/x0 <span class="Constant">0x180</span>/y0,   <span class="Constant">0xc0</span>/x1 <span class="Constant">0x150</span>/ys,  <span class="Constant">0x180</span>/xs <span class="Constant">0x150</span>/ys,  <span class="Constant">4</span>/color
@@ -193,8 +193,8 @@ if ('onhashchange' in window) {
 <span id="L129" class="LineNr"> 129 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x360</span>/x0 <span class="Constant">0x2e0</span>/y0,  <span class="Constant">0x180</span>/x1 <span class="Constant">0x200</span>/y1,  <span class="Constant">0x180</span>/xs <span class="Constant">0x150</span>/ys,  <span class="Constant">4</span>/color
 <span id="L130" class="LineNr"> 130 </span>  <span class="muComment"># filter node</span>
 <span id="L131" class="LineNr"> 131 </span>  <a href='../507line.mu.html#L86'>draw-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x200</span>/xfmin <span class="Constant">0x1c0</span>/yfmin, <span class="Constant">0x220</span>/xfmax <span class="Constant">0x1e0</span>/yfmax, <span class="Constant">0x31</span>/color
-<span id="L132" class="LineNr"> 132 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x40</span>/fcol, <span class="Constant">0x1b</span>/frow
-<span id="L133" class="LineNr"> 133 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;?&quot;</span>, <span class="Constant">0xf</span>/color, <span class="Constant">0</span>/bg
+<span id="L132" class="LineNr"> 132 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x40</span>/fcol, <span class="Constant">0x1b</span>/frow
+<span id="L133" class="LineNr"> 133 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;?&quot;</span>, <span class="Constant">0xf</span>/color, <span class="Constant">0</span>/bg
 <span id="L134" class="LineNr"> 134 </span>  <span class="muComment"># conveyor from sum node to filter node</span>
 <span id="L135" class="LineNr"> 135 </span>  <a href='../507line.mu.html#L1'>draw-line</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span class="Constant">0x180</span>/xs, <span class="Constant">0x150</span>/ys, <span class="Constant">0x210</span>/xf, <span class="Constant">0x1d0</span>/yf, <span class="Constant">0xa2</span>/color
 <span id="L136" class="LineNr"> 136 </span>  <span class="muComment"># cell outputs at corners</span>
@@ -251,9 +251,9 @@ if ('onhashchange' in window) {
 <span id="L187" class="LineNr"> 187 </span>    <span class="PreProc">var</span> three-f/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> convert three
 <span id="L188" class="LineNr"> 188 </span>    u <span class="Special">&lt;-</span> divide three-f
 <span id="L189" class="LineNr"> 189 </span>    <a href='hest-life.mu.html#L588'>draw-linear-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, u, <span class="Constant">0x180</span>/xs, <span class="Constant">0x150</span>/ys, <span class="Constant">0x210</span>/xf, <span class="Constant">0x1d0</span>/yf, <span class="Constant">7</span>/color, <span class="Constant">4</span>/radius
-<span id="L190" class="LineNr"> 190 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x3a</span>/scol, <span class="Constant">0x18</span>/srow
+<span id="L190" class="LineNr"> 190 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x3a</span>/scol, <span class="Constant">0x18</span>/srow
 <span id="L191" class="LineNr"> 191 </span>    <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x80</span>/curx, <span class="Constant">0x60</span>/cury
-<span id="L192" class="LineNr"> 192 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L192" class="LineNr"> 192 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L193" class="LineNr"> 193 </span>    <span class="PreProc">return</span>
 <span id="L194" class="LineNr"> 194 </span>  <span class="Delimiter">}</span>
 <span id="L195" class="LineNr"> 195 </span>  <span class="muComment"># final 7 time steps for updating output</span>
@@ -369,17 +369,17 @@ if ('onhashchange' in window) {
 <span id="L305" class="LineNr"> 305 </span>  <a href='../507line.mu.html#L86'>draw-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2a0</span>/xfmin <span class="Constant">0x218</span>/yfmin, <span class="Constant">0x2b0</span>/xfmax <span class="Constant">0x228</span>/yfmax, <span class="Constant">0x31</span>/color
 <span id="L306" class="LineNr"> 306 </span>  <span class="muComment"># neighbor counts</span>
 <span id="L307" class="LineNr"> 307 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x80</span>/curx, <span class="Constant">0x60</span>/cury
-<span id="L308" class="LineNr"> 308 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>, <span class="Constant">0xe</span>
-<span id="L309" class="LineNr"> 309 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L308" class="LineNr"> 308 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>, <span class="Constant">0xe</span>
+<span id="L309" class="LineNr"> 309 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L310" class="LineNr"> 310 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x81</span>/curx, <span class="Constant">0x60</span>/cury
-<span id="L311" class="LineNr"> 311 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x52</span>, <span class="Constant">0xe</span>
-<span id="L312" class="LineNr"> 312 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L311" class="LineNr"> 311 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x52</span>, <span class="Constant">0xe</span>
+<span id="L312" class="LineNr"> 312 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L313" class="LineNr"> 313 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x80</span>/curx, <span class="Constant">0x61</span>/cury
-<span id="L314" class="LineNr"> 314 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>, <span class="Constant">0x20</span>
-<span id="L315" class="LineNr"> 315 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L314" class="LineNr"> 314 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>, <span class="Constant">0x20</span>
+<span id="L315" class="LineNr"> 315 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L316" class="LineNr"> 316 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x81</span>/curx, <span class="Constant">0x61</span>/cury
-<span id="L317" class="LineNr"> 317 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x52</span>, <span class="Constant">0x20</span>
-<span id="L318" class="LineNr"> 318 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L317" class="LineNr"> 317 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x52</span>, <span class="Constant">0x20</span>
+<span id="L318" class="LineNr"> 318 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L319" class="LineNr"> 319 </span>  <span class="muComment"># cell 0: conveyors from neighboring inputs to sum node</span>
 <span id="L320" class="LineNr"> 320 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,  <span class="Constant">0xc0</span>/x0  <span class="Constant">0x40</span>/y0,  <span class="Constant">0x100</span>/x1  <span class="Constant">0xd0</span>/ys, <span class="Constant">0x150</span>/xs  <span class="Constant">0xd0</span>/ys,  <span class="Constant">4</span>/color
 <span id="L321" class="LineNr"> 321 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,  <span class="Constant">0xc0</span>/x0  <span class="Constant">0xe8</span>/y0,   <span class="Constant">0xc0</span>/x1  <span class="Constant">0xd0</span>/ys, <span class="Constant">0x150</span>/xs  <span class="Constant">0xd0</span>/ys,  <span class="Constant">4</span>/color
diff --git a/html/apps/life.mu.html b/html/apps/life.mu.html
index af4a479a..a9c75a16 100644
--- a/html/apps/life.mu.html
+++ b/html/apps/life.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 - apps/life.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/apps/mandelbrot-fixed.mu.html b/html/apps/mandelbrot-fixed.mu.html
index b6781279..a5214703 100644
--- a/html/apps/mandelbrot-fixed.mu.html
+++ b/html/apps/mandelbrot-fixed.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 - apps/mandelbrot-fixed.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -214,7 +214,7 @@ if ('onhashchange' in window) {
 <span id="L150" class="LineNr">150 </span>        dummy, color <span class="Special">&lt;-</span> <a href='../314divide.subx.html#L3'>integer-divide</a> iterations, <span class="Constant">0x18</span>/<span class="Constant">24</span>/size-of-cycle-0
 <span id="L151" class="LineNr">151 </span>        color <span class="Special">&lt;-</span> add <span class="Constant">0x20</span>/cycle-0
 <span id="L152" class="LineNr">152 </span>      <span class="Delimiter">}</span>
-<span id="L153" class="LineNr">153 </span>      <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L153" class="LineNr">153 </span>      <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L154" class="LineNr">154 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L155" class="LineNr">155 </span>      <span class="PreProc">loop</span>
 <span id="L156" class="LineNr">156 </span>    <span class="Delimiter">}</span>
diff --git a/html/apps/mandelbrot-silhouette.mu.html b/html/apps/mandelbrot-silhouette.mu.html
index 87cc8150..572c9b2e 100644
--- a/html/apps/mandelbrot-silhouette.mu.html
+++ b/html/apps/mandelbrot-silhouette.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 - apps/mandelbrot-silhouette.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; }
@@ -28,7 +28,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -98,12 +98,12 @@ if ('onhashchange' in window) {
 <span id="L36" class="LineNr"> 36 </span>      compare iterations, <span class="Constant">0x400</span>/max
 <span id="L37" class="LineNr"> 37 </span>      <span class="Delimiter">{</span>
 <span id="L38" class="LineNr"> 38 </span>        <span class="PreProc">break-if-&gt;=</span>
-<span id="L39" class="LineNr"> 39 </span>        <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, <span class="Constant">0xf</span>/white
+<span id="L39" class="LineNr"> 39 </span>        <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, <span class="Constant">0xf</span>/white
 <span id="L40" class="LineNr"> 40 </span>      <span class="Delimiter">}</span>
 <span id="L41" class="LineNr"> 41 </span>      compare iterations, <span class="Constant">0x400</span>/max
 <span id="L42" class="LineNr"> 42 </span>      <span class="Delimiter">{</span>
 <span id="L43" class="LineNr"> 43 </span>        <span class="PreProc">break-if-&lt;</span>
-<span id="L44" class="LineNr"> 44 </span>        <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, <span class="Constant">0</span>/black
+<span id="L44" class="LineNr"> 44 </span>        <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, <span class="Constant">0</span>/black
 <span id="L45" class="LineNr"> 45 </span>      <span class="Delimiter">}</span>
 <span id="L46" class="LineNr"> 46 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L47" class="LineNr"> 47 </span>      <span class="PreProc">loop</span>
diff --git a/html/apps/mandelbrot.mu.html b/html/apps/mandelbrot.mu.html
index b432dd3e..0c193903 100644
--- a/html/apps/mandelbrot.mu.html
+++ b/html/apps/mandelbrot.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 - apps/mandelbrot.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -124,7 +124,7 @@ if ('onhashchange' in window) {
 <span id="L61" class="LineNr"> 61 </span>      <span class="PreProc">var</span> color/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L62" class="LineNr"> 62 </span>      iterations, color <span class="Special">&lt;-</span> <a href='../314divide.subx.html#L3'>integer-divide</a> iterations, <span class="Constant">0x18</span>/<span class="Constant">24</span>/size-of-cycle-0
 <span id="L63" class="LineNr"> 63 </span>      color <span class="Special">&lt;-</span> add <span class="Constant">0x20</span>/cycle-0
-<span id="L64" class="LineNr"> 64 </span>      <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L64" class="LineNr"> 64 </span>      <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L65" class="LineNr"> 65 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L66" class="LineNr"> 66 </span>      <span class="PreProc">loop</span>
 <span id="L67" class="LineNr"> 67 </span>    <span class="Delimiter">}</span>
diff --git a/html/apps/rpn.mu.html b/html/apps/rpn.mu.html
index df5867bb..8b34a5c3 100644
--- a/html/apps/rpn.mu.html
+++ b/html/apps/rpn.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 - apps/rpn.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; }
@@ -28,7 +28,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -85,11 +85,11 @@ if ('onhashchange' in window) {
 <span id="L23" class="LineNr"> 23 </span>  <span class="muComment"># read-eval-print loop</span>
 <span id="L24" class="LineNr"> 24 </span>  <span class="Delimiter">{</span>
 <span id="L25" class="LineNr"> 25 </span>    <span class="muComment"># print prompt</span>
-<span id="L26" class="LineNr"> 26 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;&gt; &quot;</span>, <span class="Constant">0</span>/x, <span class="Constant">0x80</span>/xmax, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L26" class="LineNr"> 26 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;&gt; &quot;</span>, <span class="Constant">0</span>/x, <span class="Constant">0x80</span>/xmax, y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L27" class="LineNr"> 27 </span>    <span class="muComment"># read line from keyboard</span>
 <span id="L28" class="LineNr"> 28 </span>    <a href='../106stream.subx.html#L20'>clear-stream</a> in
 <span id="L29" class="LineNr"> 29 </span>    <span class="Delimiter">{</span>
-<span id="L30" class="LineNr"> 30 </span>      <a href='../500fake-screen.mu.html#L293'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, space
+<span id="L30" class="LineNr"> 30 </span>      <a href='../500fake-screen.mu.html#L314'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, space
 <span id="L31" class="LineNr"> 31 </span>      <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='../102keyboard.subx.html#L21'>read-key</a> keyboard
 <span id="L32" class="LineNr"> 32 </span>      compare key, <span class="Constant">0xa</span>/newline
 <span id="L33" class="LineNr"> 33 </span>      <span class="PreProc">break-if-=</span>
@@ -98,16 +98,16 @@ if ('onhashchange' in window) {
 <span id="L36" class="LineNr"> 36 </span>      <span class="PreProc">var</span> key2/eax: int <span class="Special">&lt;-</span> copy key
 <span id="L37" class="LineNr"> 37 </span>      <a href='../115write-byte.subx.html#L12'>append-byte</a> in, key2
 <span id="L38" class="LineNr"> 38 </span>      <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> copy key2
-<span id="L39" class="LineNr"> 39 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L39" class="LineNr"> 39 </span>      <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
 <span id="L40" class="LineNr"> 40 </span>      <span class="PreProc">loop</span>
 <span id="L41" class="LineNr"> 41 </span>    <span class="Delimiter">}</span>
 <span id="L42" class="LineNr"> 42 </span>    <span class="muComment"># clear cursor</span>
-<span id="L43" class="LineNr"> 43 </span>    <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, space, <span class="Constant">3</span>/fg/never-used, <span class="Constant">0</span>/bg
+<span id="L43" class="LineNr"> 43 </span>    <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, space, <span class="Constant">3</span>/fg/never-used, <span class="Constant">0</span>/bg
 <span id="L44" class="LineNr"> 44 </span>    <span class="muComment"># parse and eval</span>
 <span id="L45" class="LineNr"> 45 </span>    <span class="PreProc">var</span> out/eax: int <span class="Special">&lt;-</span> <a href='rpn.mu.html#L61'>simplify</a> in
 <span id="L46" class="LineNr"> 46 </span>    <span class="muComment"># print</span>
 <span id="L47" class="LineNr"> 47 </span>    y <span class="Special">&lt;-</span> increment
-<span id="L48" class="LineNr"> 48 </span>    out, y <span class="Special">&lt;-</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>, out, <span class="Constant">0</span>/xmin, y, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x30</span>/ymax, <span class="Constant">0</span>/x, y, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L48" class="LineNr"> 48 </span>    out, y <span class="Special">&lt;-</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>, out, <span class="Constant">0</span>/xmin, y, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x30</span>/ymax, <span class="Constant">0</span>/x, y, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
 <span id="L49" class="LineNr"> 49 </span>    <span class="muComment"># newline</span>
 <span id="L50" class="LineNr"> 50 </span>    y <span class="Special">&lt;-</span> increment
 <span id="L51" class="LineNr"> 51 </span>    <span class="muComment">#</span>
diff --git a/html/boot.subx.html b/html/boot.subx.html
index d89d25e3..382fd092 100644
--- a/html/boot.subx.html
+++ b/html/boot.subx.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 - boot.subx</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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -382,7 +382,7 @@ if ('onhashchange' in window) {
 <span id="L322" class="LineNr"> 322 </span>  ff 03  <span class="subxComment"># final index of idt = size of idt - 1</span>
 <span id="L323" class="LineNr"> 323 </span>  <a href='boot.subx.html#L327'>idt_start</a>/imm32/start
 <span id="L324" class="LineNr"> 324 </span>
-<span id="L325" class="Folded"> 325 </span><span class="Folded">+-- 55 lines: # interrupt descriptor table --------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L325" class="Folded"> 325 </span><span class="Folded">+-- 55 lines: # interrupt descriptor table ----------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L380" class="LineNr"> 380 </span>
 <span id="L381" class="LineNr"> 381 </span>== code
 <span id="L382" class="LineNr"> 382 </span>
@@ -548,10 +548,10 @@ if ('onhashchange' in window) {
 <span id="L542" class="LineNr"> 542 </span>  00 00 00 00
 <span id="L543" class="LineNr"> 543 </span>  00 00 00 00
 <span id="L544" class="LineNr"> 544 </span>
-<span id="L545" class="Folded"> 545 </span><span class="Folded">+-- 95 lines: # Keyboard maps for translating keys to ASCII ---------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L545" class="Folded"> 545 </span><span class="Folded">+-- 95 lines: # Keyboard maps for translating keys to ASCII -----------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L640" class="LineNr"> 640 </span>
 <span id="L641" class="LineNr"> 641 </span><span class="SpecialChar">Video-mode-info</span>:
-<span id="L642" class="Folded"> 642 </span><span class="Folded">+-- 53 lines: # video mode info -------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L642" class="Folded"> 642 </span><span class="Folded">+-- 53 lines: # video mode info ---------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L695" class="LineNr"> 695 </span>
 <span id="L696" class="LineNr"> 696 </span><span class="subxComment">## Controlling IDE (ATA) hard disks</span>
 <span id="L697" class="LineNr"> 697 </span><span class="subxComment"># Uses 28-bit PIO mode.</span>
@@ -795,7 +795,7 @@ if ('onhashchange' in window) {
 <span id="L935" class="LineNr"> 935 </span>  5d/pop-to-ebp
 <span id="L936" class="LineNr"> 936 </span>  c3/return
 <span id="L937" class="LineNr"> 937 </span>
-<span id="L938" class="Folded"> 938 </span><span class="Folded">+--289 lines: # disk helpers ----------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L938" class="Folded"> 938 </span><span class="Folded">+--289 lines: # disk helpers ------------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L1227" class="LineNr">1227 </span>
 <span id="L1228" class="LineNr">1228 </span><span class="subxComment">## Controlling a PS/2 mouse</span>
 <span id="L1229" class="LineNr">1229 </span><span class="subxComment"># Uses no IRQs, just polling.</span>
@@ -856,7 +856,7 @@ if ('onhashchange' in window) {
 <span id="L1284" class="LineNr">1284 </span>  5d/pop-to-ebp
 <span id="L1285" class="LineNr">1285 </span>  c3/return
 <span id="L1286" class="LineNr">1286 </span>
-<span id="L1287" class="Folded">1287 </span><span class="Folded">+--147 lines: # mouse helpers ---------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L1287" class="Folded">1287 </span><span class="Folded">+--147 lines: # mouse helpers -----------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L1434" class="LineNr">1434 </span>
 <span id="L1435" class="LineNr">1435 </span><span class="subxComment"># vim&#0058;ft=subx</span>
 </pre>
diff --git a/html/browse-slack/environment.mu.html b/html/browse-slack/environment.mu.html
index 5cb0f3f9..131badd0 100644
--- a/html/browse-slack/environment.mu.html
+++ b/html/browse-slack/environment.mu.html
@@ -1,20 +1,21 @@
-<!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 - browse-slack/environment.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; }
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
 .PreProc { color: #c000c0; }
+.muS1Comment { color: #0000af; }
 .muRegEdx { color: #af5f00; }
 .Special { color: #ff6060; }
 .LineNr { }
@@ -29,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -75,1714 +76,1680 @@ if ('onhashchange' in window) {
 <span id="L12" class="LineNr">  12 </span>
 <span id="L13" class="LineNr">  13 </span><span class="PreProc">type</span> <a href='environment.mu.html#L13'>tab</a> <span class="Delimiter">{</span>
 <span id="L14" class="LineNr">  14 </span>  <span class="PreProc">type</span>: int
-<span id="L15" class="LineNr">  15 </span>      <span class="muComment"># type 0: everything</span>
+<span id="L15" class="LineNr">  15 </span>      <span class="muComment"># type 0: all items</span>
 <span id="L16" class="LineNr">  16 </span>      <span class="muComment"># type 1: items in a channel</span>
 <span id="L17" class="LineNr">  17 </span>      <span class="muComment"># type 2: search for a term</span>
 <span id="L18" class="LineNr">  18 </span>      <span class="muComment"># type 3: comments in a single thread</span>
-<span id="L19" class="LineNr">  19 </span>  <a href='environment.mu.html#L973'>item-index</a>: int  <span class="muComment"># what item in the corresponding list we start rendering</span>
+<span id="L19" class="LineNr">  19 </span>  <a href='environment.mu.html#L1189'>item-index</a>: int  <span class="muComment"># what item in the corresponding list we start rendering</span>
 <span id="L20" class="LineNr">  20 </span>                   <span class="muComment"># the current page at</span>
-<span id="L21" class="LineNr">  21 </span>  <span class="muComment"># only for type 1</span>
-<span id="L22" class="LineNr">  22 </span>  channel-index: int
-<span id="L23" class="LineNr">  23 </span>  <span class="muComment"># only for type 2</span>
-<span id="L24" class="LineNr">  24 </span>  search-terms: (handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>)
-<span id="L25" class="LineNr">  25 </span>  <a href='environment.mu.html#L1088'>search-items</a>: (handle array int)
-<span id="L26" class="LineNr">  26 </span>  search-items-first-free: int
-<span id="L27" class="LineNr">  27 </span>  <span class="muComment"># only for type 3</span>
-<span id="L28" class="LineNr">  28 </span>  root-index: int
-<span id="L29" class="LineNr">  29 </span><span class="Delimiter">}</span>
-<span id="L30" class="LineNr">  30 </span>
-<span id="L31" class="LineNr">  31 </span><span class="muComment"># static buffer sizes in this file:</span>
-<span id="L32" class="LineNr">  32 </span><span class="muComment">#   main-panel-hor            # in characters</span>
-<span id="L33" class="LineNr">  33 </span><span class="muComment">#   item-padding-hor          # in pixels</span>
-<span id="L34" class="LineNr">  34 </span><span class="muComment">#   item-padding-ver          # in characters</span>
-<span id="L35" class="LineNr">  35 </span><span class="muComment">#   avatar-side               # in pixels</span>
-<span id="L36" class="LineNr">  36 </span><span class="muComment">#   avatar-space-hor          # in characters</span>
-<span id="L37" class="LineNr">  37 </span><span class="muComment">#   avatar-space-ver          # in characters</span>
-<span id="L38" class="LineNr">  38 </span><span class="muComment">#   search-position-x         # in characters</span>
-<span id="L39" class="LineNr">  39 </span><span class="muComment">#   search-space-ver          # in characters</span>
-<span id="L40" class="LineNr">  40 </span><span class="muComment">#   author-name-padding-ver   # in characters</span>
-<span id="L41" class="LineNr">  41 </span><span class="muComment">#   post-right-coord          # in characters</span>
-<span id="L42" class="LineNr">  42 </span><span class="muComment">#   channel-offset-x          # in characters</span>
-<span id="L43" class="LineNr">  43 </span><span class="muComment">#   menu-space-ver            # in characters</span>
-<span id="L44" class="LineNr">  44 </span><span class="muComment">#   max-search-results</span>
-<span id="L45" class="LineNr">  45 </span>
-<span id="L46" class="LineNr">  46 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L46'>initialize-environment</a></span> _self: (addr <a href='environment.mu.html#L1'>environment</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L47" class="LineNr">  47 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _self
-<span id="L48" class="LineNr">  48 </span>  <span class="PreProc">var</span> search-terms-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, search-terms
-<span id="L49" class="LineNr">  49 </span>  <a href='../120allocate.subx.html#L43'>allocate</a> search-terms-ah
-<span id="L50" class="LineNr">  50 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
-<span id="L51" class="LineNr">  51 </span>  <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> search-terms, <span class="Constant">0x30</span>/search-capacity
-<span id="L52" class="LineNr">  52 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L53" class="LineNr">  53 </span>  <span class="PreProc">var</span> items-data-first-free-a/eax: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
-<span id="L54" class="LineNr">  54 </span>  <span class="PreProc">var</span> final-item/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *items-data-first-free-a
-<span id="L55" class="LineNr">  55 </span>  final-item <span class="Special">&lt;-</span> decrement
-<span id="L56" class="LineNr">  56 </span>  <span class="PreProc">var</span> tabs-ah/<span class="muRegEcx">ecx</span>: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get self, tabs
-<span id="L57" class="LineNr">  57 </span>  populate tabs-ah, <span class="Constant">0x10</span>/max-history
-<span id="L58" class="LineNr">  58 </span>  <span class="muComment"># current-tab-index implicitly set to 0</span>
-<span id="L59" class="LineNr">  59 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L60" class="LineNr">  60 </span>  <span class="PreProc">var</span> first-tab/eax: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, <span class="Constant">0</span>/current-tab-index
-<span id="L61" class="LineNr">  61 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get first-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L62" class="LineNr">  62 </span>  copy-to *dest, final-item
-<span id="L63" class="LineNr">  63 </span><span class="Delimiter">}</span>
-<span id="L64" class="LineNr">  64 </span>
-<span id="L65" class="LineNr">  65 </span><span class="muComment">### Render</span>
+<span id="L21" class="LineNr">  21 </span>  <span class="muComment"># only for type 0, 1</span>
+<span id="L22" class="LineNr">  22 </span>  hidden-items: (handle stream int)
+<span id="L23" class="LineNr">  23 </span>  <span class="muComment"># only for type 1</span>
+<span id="L24" class="LineNr">  24 </span>  channel-index: int
+<span id="L25" class="LineNr">  25 </span>  <span class="muComment"># only for type 2</span>
+<span id="L26" class="LineNr">  26 </span>  search-terms: (handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>)
+<span id="L27" class="LineNr">  27 </span>  <a href='environment.mu.html#L1329'>search-items</a>: (handle array int)
+<span id="L28" class="LineNr">  28 </span>  search-items-first-free: int
+<span id="L29" class="LineNr">  29 </span>  <span class="muComment"># only for type 3</span>
+<span id="L30" class="LineNr">  30 </span>  root-index: int
+<span id="L31" class="LineNr">  31 </span><span class="Delimiter">}</span>
+<span id="L32" class="LineNr">  32 </span>
+<span id="L33" class="LineNr">  33 </span><span class="muComment"># static buffer sizes in this file:</span>
+<span id="L34" class="LineNr">  34 </span><span class="muComment">#   main-panel-hor            # in characters</span>
+<span id="L35" class="LineNr">  35 </span><span class="muComment">#   item-padding-hor          # in pixels</span>
+<span id="L36" class="LineNr">  36 </span><span class="muComment">#   item-padding-ver          # in characters</span>
+<span id="L37" class="LineNr">  37 </span><span class="muComment">#   avatar-side               # in pixels</span>
+<span id="L38" class="LineNr">  38 </span><span class="muComment">#   avatar-space-hor          # in characters</span>
+<span id="L39" class="LineNr">  39 </span><span class="muComment">#   avatar-space-ver          # in characters</span>
+<span id="L40" class="LineNr">  40 </span><span class="muComment">#   search-position-x         # in characters</span>
+<span id="L41" class="LineNr">  41 </span><span class="muComment">#   search-space-ver          # in characters</span>
+<span id="L42" class="LineNr">  42 </span><span class="muComment">#   author-name-padding-ver   # in characters</span>
+<span id="L43" class="LineNr">  43 </span><span class="muComment">#   post-right-coord          # in characters</span>
+<span id="L44" class="LineNr">  44 </span><span class="muComment">#   channel-offset-x          # in characters</span>
+<span id="L45" class="LineNr">  45 </span><span class="muComment">#   menu-space-ver            # in characters</span>
+<span id="L46" class="LineNr">  46 </span><span class="muComment">#   max-search-results</span>
+<span id="L47" class="LineNr">  47 </span>
+<span id="L48" class="LineNr">  48 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L48'>initialize-environment</a></span> _self: (addr <a href='environment.mu.html#L1'>environment</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L49" class="LineNr">  49 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _self
+<span id="L50" class="LineNr">  50 </span>  <span class="PreProc">var</span> search-terms-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, search-terms
+<span id="L51" class="LineNr">  51 </span>  <a href='../120allocate.subx.html#L43'>allocate</a> search-terms-ah
+<span id="L52" class="LineNr">  52 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
+<span id="L53" class="LineNr">  53 </span>  <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> search-terms, <span class="Constant">0x30</span>/search-capacity
+<span id="L54" class="LineNr">  54 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L55" class="LineNr">  55 </span>  <span class="PreProc">var</span> items-data-first-free-a/eax: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
+<span id="L56" class="LineNr">  56 </span>  <span class="PreProc">var</span> final-item/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *items-data-first-free-a
+<span id="L57" class="LineNr">  57 </span>  final-item <span class="Special">&lt;-</span> decrement
+<span id="L58" class="LineNr">  58 </span>  <span class="PreProc">var</span> tabs-ah/<span class="muRegEcx">ecx</span>: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get self, tabs
+<span id="L59" class="LineNr">  59 </span>  populate tabs-ah, <span class="Constant">0x10</span>/max-history
+<span id="L60" class="LineNr">  60 </span>  <span class="muComment"># current-tab-index implicitly set to 0</span>
+<span id="L61" class="LineNr">  61 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L62" class="LineNr">  62 </span>  <span class="PreProc">var</span> first-tab/eax: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, <span class="Constant">0</span>/current-tab-index
+<span id="L63" class="LineNr">  63 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get first-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L64" class="LineNr">  64 </span>  copy-to *dest, final-item
+<span id="L65" class="LineNr">  65 </span><span class="Delimiter">}</span>
 <span id="L66" class="LineNr">  66 </span>
-<span id="L67" class="LineNr">  67 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L67'>render-environment</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L68" class="LineNr">  68 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L69" class="LineNr">  69 </span>  <span class="Delimiter">{</span>
-<span id="L70" class="LineNr">  70 </span>    <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
-<span id="L71" class="LineNr">  71 </span>    compare *dirty?, <span class="Constant">0</span>/false
-<span id="L72" class="LineNr">  72 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L73" class="LineNr">  73 </span>    <span class="muComment"># minimize repaints when typing into the search bar</span>
-<span id="L74" class="LineNr">  74 </span>    <span class="Delimiter">{</span>
-<span id="L75" class="LineNr">  75 </span>      <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L76" class="LineNr">  76 </span>      compare *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L77" class="LineNr">  77 </span>      <span class="PreProc">break-if-=</span>
-<span id="L78" class="LineNr">  78 </span>      <a href='environment.mu.html#L368'>render-search-input</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L79" class="LineNr">  79 </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 <span class="Constant">0x2f</span>/y, <span class="Constant">0x80</span>/x <span class="Constant">0x30</span>/y, <span class="Constant">0</span>/bg
-<span id="L80" class="LineNr">  80 </span>      <a href='environment.mu.html#L454'>render-search-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L81" class="LineNr">  81 </span>      <span class="PreProc">return</span>
-<span id="L82" class="LineNr">  82 </span>    <span class="Delimiter">}</span>
-<span id="L83" class="LineNr">  83 </span>    <span class="muComment"># minimize repaints when focus in channel nav</span>
-<span id="L84" class="LineNr">  84 </span>    <span class="Delimiter">{</span>
-<span id="L85" class="LineNr">  85 </span>      <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
-<span id="L86" class="LineNr">  86 </span>      compare *cursor-in-channels?, <span class="Constant">0</span>/false
-<span id="L87" class="LineNr">  87 </span>      <span class="PreProc">break-if-=</span>
-<span id="L88" class="LineNr">  88 </span>      <a href='environment.mu.html#L104'>render-channels</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, channels
-<span id="L89" class="LineNr">  89 </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 <span class="Constant">0x2f</span>/y, <span class="Constant">0x80</span>/x <span class="Constant">0x30</span>/y, <span class="Constant">0</span>/bg
-<span id="L90" class="LineNr">  90 </span>      <a href='environment.mu.html#L432'>render-channels-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L91" class="LineNr">  91 </span>      <span class="PreProc">return</span>
-<span id="L92" class="LineNr">  92 </span>    <span class="Delimiter">}</span>
-<span id="L93" class="LineNr">  93 </span>  <span class="Delimiter">}</span>
-<span id="L94" class="LineNr">  94 </span>  <span class="muComment"># full repaint</span>
-<span id="L95" class="LineNr">  95 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
-<span id="L96" class="LineNr">  96 </span>  <a href='environment.mu.html#L368'>render-search-input</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L97" class="LineNr">  97 </span>  <a href='environment.mu.html#L104'>render-channels</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, channels
-<span id="L98" class="LineNr">  98 </span>  <a href='environment.mu.html#L151'>render-item-list</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, items, channels, users
-<span id="L99" class="LineNr">  99 </span>  <a href='environment.mu.html#L387'>render-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L100" class="LineNr"> 100 </span>  <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
-<span id="L101" class="LineNr"> 101 </span>  copy-to *dirty?, <span class="Constant">0</span>/false
-<span id="L102" class="LineNr"> 102 </span><span class="Delimiter">}</span>
-<span id="L103" class="LineNr"> 103 </span>
-<span id="L104" class="LineNr"> 104 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L104'>render-channels</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Delimiter">{</span>
-<span id="L105" class="LineNr"> 105 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L106" class="LineNr"> 106 </span>  <span class="PreProc">var</span> cursor-index/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">-1</span>
-<span id="L107" class="LineNr"> 107 </span>  <span class="Delimiter">{</span>
-<span id="L108" class="LineNr"> 108 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L109" class="LineNr"> 109 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L110" class="LineNr"> 110 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L111" class="LineNr"> 111 </span>    <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
-<span id="L112" class="LineNr"> 112 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
-<span id="L113" class="LineNr"> 113 </span>    <span class="PreProc">break-if-=</span>
-<span id="L114" class="LineNr"> 114 </span>    <span class="PreProc">var</span> cursor-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, channel-cursor-index
-<span id="L115" class="LineNr"> 115 </span>    cursor-index <span class="Special">&lt;-</span> copy *cursor-index-addr
-<span id="L116" class="LineNr"> 116 </span>  <span class="Delimiter">}</span>
-<span id="L117" class="LineNr"> 117 </span>  <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L118" class="LineNr"> 118 </span>  <span class="PreProc">var</span> y/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
-<span id="L119" class="LineNr"> 119 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
-<span id="L120" class="LineNr"> 120 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L121" class="LineNr"> 121 </span>  <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length channels
-<span id="L122" class="LineNr"> 122 </span>  <span class="Delimiter">{</span>
-<span id="L123" class="LineNr"> 123 </span>    compare i, max
-<span id="L124" class="LineNr"> 124 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L125" class="LineNr"> 125 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, i
-<span id="L126" class="LineNr"> 126 </span>    <span class="PreProc">var</span> curr/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, offset
-<span id="L127" class="LineNr"> 127 </span>    <span class="PreProc">var</span> name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get curr, name
-<span id="L128" class="LineNr"> 128 </span>    <span class="PreProc">var</span> name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-ah
-<span id="L129" class="LineNr"> 129 </span>    compare name, <span class="Constant">0</span>
-<span id="L130" class="LineNr"> 130 </span>    <span class="PreProc">break-if-=</span>
-<span id="L131" class="LineNr"> 131 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x y
-<span id="L132" class="LineNr"> 132 </span>    <span class="Delimiter">{</span>
-<span id="L133" class="LineNr"> 133 </span>      compare cursor-index, i
-<span id="L134" class="LineNr"> 134 </span>      <span class="PreProc">break-if-=</span>
-<span id="L135" class="LineNr"> 135 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;#&quot;</span>, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
-<span id="L136" class="LineNr"> 136 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
-<span id="L137" class="LineNr"> 137 </span>    <span class="Delimiter">}</span>
-<span id="L138" class="LineNr"> 138 </span>    <span class="Delimiter">{</span>
-<span id="L139" class="LineNr"> 139 </span>      compare cursor-index, i
-<span id="L140" class="LineNr"> 140 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L141" class="LineNr"> 141 </span>      <span class="muComment"># cursor; reverse video</span>
-<span id="L142" class="LineNr"> 142 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;#&quot;</span>, <span class="Constant">0</span>/black <span class="Constant">0xf</span>/white
-<span id="L143" class="LineNr"> 143 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, <span class="Constant">0</span>/black <span class="Constant">0xf</span>/white
-<span id="L144" class="LineNr"> 144 </span>    <span class="Delimiter">}</span>
-<span id="L145" class="LineNr"> 145 </span>    y <span class="Special">&lt;-</span> add <span class="Constant">2</span>/channel-padding
-<span id="L146" class="LineNr"> 146 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L147" class="LineNr"> 147 </span>    <span class="PreProc">loop</span>
-<span id="L148" class="LineNr"> 148 </span>  <span class="Delimiter">}</span>
-<span id="L149" class="LineNr"> 149 </span><span class="Delimiter">}</span>
-<span id="L150" class="LineNr"> 150 </span>
-<span id="L151" class="LineNr"> 151 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L151'>render-item-list</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), users: (addr array <a href='main.mu.html#L7'>user</a>) <span class="Delimiter">{</span>
-<span id="L152" class="LineNr"> 152 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L153" class="LineNr"> 153 </span>  <span class="PreProc">var</span> tmp-width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L154" class="LineNr"> 154 </span>  <span class="PreProc">var</span> tmp-height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L155" class="LineNr"> 155 </span>  tmp-width, tmp-height <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
-<span id="L156" class="LineNr"> 156 </span>  <span class="PreProc">var</span> screen-width: int
-<span id="L157" class="LineNr"> 157 </span>  copy-to screen-width, tmp-width
-<span id="L158" class="LineNr"> 158 </span>  <span class="PreProc">var</span> screen-height: int
-<span id="L159" class="LineNr"> 159 </span>  copy-to screen-height, tmp-height
-<span id="L160" class="LineNr"> 160 </span>  <span class="muComment">#</span>
-<span id="L161" class="LineNr"> 161 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L162" class="LineNr"> 162 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L163" class="LineNr"> 163 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
-<span id="L164" class="LineNr"> 164 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L165" class="LineNr"> 165 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
-<span id="L166" class="LineNr"> 166 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L167" class="LineNr"> 167 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L168" class="LineNr"> 168 </span>  <span class="PreProc">var</span> show-cursor?: boolean
-<span id="L169" class="LineNr"> 169 </span>  <span class="Delimiter">{</span>
-<span id="L170" class="LineNr"> 170 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L171" class="LineNr"> 171 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L172" class="LineNr"> 172 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L173" class="LineNr"> 173 </span>    <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
-<span id="L174" class="LineNr"> 174 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
-<span id="L175" class="LineNr"> 175 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L176" class="LineNr"> 176 </span>    copy-to show-cursor?, <span class="Constant">1</span>/true
-<span id="L177" class="LineNr"> 177 </span>  <span class="Delimiter">}</span>
-<span id="L178" class="LineNr"> 178 </span>  <a href='environment.mu.html#L184'>render-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, items, channels, users, screen-height
-<span id="L179" class="LineNr"> 179 </span>  <span class="PreProc">var</span> top/eax: int <span class="Special">&lt;-</span> copy screen-height
-<span id="L180" class="LineNr"> 180 </span>  top <span class="Special">&lt;-</span> subtract <span class="Constant">2</span>/menu-space-ver
-<span id="L181" class="LineNr"> 181 </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> top, screen-width screen-height, <span class="Constant">0</span>/bg
-<span id="L182" class="LineNr"> 182 </span><span class="Delimiter">}</span>
-<span id="L183" class="LineNr"> 183 </span>
-<span id="L184" class="LineNr"> 184 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L184'>render-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, items: (addr <a href='main.mu.html#L24'>item-list</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), screen-height: int <span class="Delimiter">{</span>
-<span id="L185" class="LineNr"> 185 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L186" class="LineNr"> 186 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L187" class="LineNr"> 187 </span>  compare *current-tab-type, <span class="Constant">0</span>/all-items
-<span id="L188" class="LineNr"> 188 </span>  <span class="Delimiter">{</span>
-<span id="L189" class="LineNr"> 189 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L190" class="LineNr"> 190 </span>    <a href='environment.mu.html#L213'>render-all-items</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, items, users, screen-height
-<span id="L191" class="LineNr"> 191 </span>    <span class="PreProc">return</span>
-<span id="L192" class="LineNr"> 192 </span>  <span class="Delimiter">}</span>
-<span id="L193" class="LineNr"> 193 </span>  compare *current-tab-type, <span class="Constant">1</span>/channel
-<span id="L194" class="LineNr"> 194 </span>  <span class="Delimiter">{</span>
-<span id="L195" class="LineNr"> 195 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L196" class="LineNr"> 196 </span>    <a href='environment.mu.html#L240'>render-channel-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, items, channels, users, screen-height
-<span id="L197" class="LineNr"> 197 </span>    <span class="PreProc">return</span>
-<span id="L198" class="LineNr"> 198 </span>  <span class="Delimiter">}</span>
-<span id="L199" class="LineNr"> 199 </span>  compare *current-tab-type, <span class="Constant">2</span>/search
-<span id="L200" class="LineNr"> 200 </span>  <span class="Delimiter">{</span>
-<span id="L201" class="LineNr"> 201 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L202" class="LineNr"> 202 </span>    <a href='environment.mu.html#L279'>render-search-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, items, channels, users, screen-height
-<span id="L203" class="LineNr"> 203 </span>    <span class="PreProc">return</span>
-<span id="L204" class="LineNr"> 204 </span>  <span class="Delimiter">}</span>
-<span id="L205" class="LineNr"> 205 </span>  compare *current-tab-type, <span class="Constant">3</span>/thread
-<span id="L206" class="LineNr"> 206 </span>  <span class="Delimiter">{</span>
-<span id="L207" class="LineNr"> 207 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L208" class="LineNr"> 208 </span>    <a href='environment.mu.html#L319'>render-thread-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, items, channels, users, screen-height
-<span id="L209" class="LineNr"> 209 </span>    <span class="PreProc">return</span>
-<span id="L210" class="LineNr"> 210 </span>  <span class="Delimiter">}</span>
-<span id="L211" class="LineNr"> 211 </span><span class="Delimiter">}</span>
-<span id="L212" class="LineNr"> 212 </span>
-<span id="L213" class="LineNr"> 213 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L213'>render-all-items</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, _items: (addr <a href='main.mu.html#L24'>item-list</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), screen-height: int <span class="Delimiter">{</span>
-<span id="L214" class="LineNr"> 214 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L215" class="LineNr"> 215 </span>  <span class="PreProc">var</span> items/<span class="muRegEdi">edi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L216" class="LineNr"> 216 </span>  <span class="PreProc">var</span> newest-item/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L217" class="LineNr"> 217 </span>  <span class="PreProc">var</span> i/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *newest-item
-<span id="L218" class="LineNr"> 218 </span>  <span class="PreProc">var</span> items-data-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
-<span id="L219" class="LineNr"> 219 </span>  <a href='environment.mu.html#L359'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *items-data-first-free-addr
-<span id="L220" class="LineNr"> 220 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L221" class="LineNr"> 221 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L222" class="LineNr"> 222 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L223" class="LineNr"> 223 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
-<span id="L224" class="LineNr"> 224 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
-<span id="L225" class="LineNr"> 225 </span>  <span class="Delimiter">{</span>
-<span id="L226" class="LineNr"> 226 </span>    compare i, <span class="Constant">0</span>
-<span id="L227" class="LineNr"> 227 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L228" class="LineNr"> 228 </span>    compare y, screen-height
-<span id="L229" class="LineNr"> 229 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L230" class="LineNr"> 230 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, i
-<span id="L231" class="LineNr"> 231 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L232" class="LineNr"> 232 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L476'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
-<span id="L233" class="LineNr"> 233 </span>    <span class="muComment"># cursor always at top item</span>
-<span id="L234" class="LineNr"> 234 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
-<span id="L235" class="LineNr"> 235 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L236" class="LineNr"> 236 </span>    <span class="PreProc">loop</span>
-<span id="L237" class="LineNr"> 237 </span>  <span class="Delimiter">}</span>
-<span id="L238" class="LineNr"> 238 </span><span class="Delimiter">}</span>
-<span id="L239" class="LineNr"> 239 </span>
-<span id="L240" class="LineNr"> 240 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L240'>render-channel-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, _items: (addr <a href='main.mu.html#L24'>item-list</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), screen-height: int <span class="Delimiter">{</span>
-<span id="L241" class="LineNr"> 241 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L242" class="LineNr"> 242 </span>  <span class="PreProc">var</span> items/<span class="muRegEdi">edi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L243" class="LineNr"> 243 </span>  <span class="PreProc">var</span> channels/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L244" class="LineNr"> 244 </span>  <span class="PreProc">var</span> channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
-<span id="L245" class="LineNr"> 245 </span>  <span class="PreProc">var</span> channel-index/eax: int <span class="Special">&lt;-</span> copy *channel-index-addr
-<span id="L246" class="LineNr"> 246 </span>  <span class="PreProc">var</span> channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, channel-index
-<span id="L247" class="LineNr"> 247 </span>  <span class="PreProc">var</span> current-channel/<span class="muRegEcx">ecx</span>: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, channel-offset
-<span id="L248" class="LineNr"> 248 </span>  <span class="PreProc">var</span> current-channel-posts-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-channel, posts
-<span id="L249" class="LineNr"> 249 </span>  <span class="PreProc">var</span> _current-channel-posts/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-channel-posts-ah
-<span id="L250" class="LineNr"> 250 </span>  <span class="PreProc">var</span> current-channel-posts/<span class="muRegEdx">edx</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-channel-posts
-<span id="L251" class="LineNr"> 251 </span>  <span class="PreProc">var</span> current-channel-first-channel-item-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L252" class="LineNr"> 252 </span>  <span class="PreProc">var</span> i/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *current-channel-first-channel-item-addr
-<span id="L253" class="LineNr"> 253 </span>  <span class="PreProc">var</span> current-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-channel, posts-first-free
-<span id="L254" class="LineNr"> 254 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">0</span>/y
-<span id="L255" class="LineNr"> 255 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;channel&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L256" class="LineNr"> 256 </span>  <a href='environment.mu.html#L359'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *current-channel-posts-first-free-addr
-<span id="L257" class="LineNr"> 257 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L258" class="LineNr"> 258 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L259" class="LineNr"> 259 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L260" class="LineNr"> 260 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
-<span id="L261" class="LineNr"> 261 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
-<span id="L262" class="LineNr"> 262 </span>  <span class="Delimiter">{</span>
-<span id="L263" class="LineNr"> 263 </span>    compare i, <span class="Constant">0</span>
-<span id="L264" class="LineNr"> 264 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L265" class="LineNr"> 265 </span>    compare y, screen-height
-<span id="L266" class="LineNr"> 266 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L267" class="LineNr"> 267 </span>    <span class="PreProc">var</span> item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-channel-posts, i
-<span id="L268" class="LineNr"> 268 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L973'>item-index</a>/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
-<span id="L269" class="LineNr"> 269 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L270" class="LineNr"> 270 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
-<span id="L271" class="LineNr"> 271 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L476'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
-<span id="L272" class="LineNr"> 272 </span>    <span class="muComment"># cursor always at top item</span>
-<span id="L273" class="LineNr"> 273 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
-<span id="L274" class="LineNr"> 274 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L275" class="LineNr"> 275 </span>    <span class="PreProc">loop</span>
-<span id="L276" class="LineNr"> 276 </span>  <span class="Delimiter">}</span>
-<span id="L277" class="LineNr"> 277 </span><span class="Delimiter">}</span>
-<span id="L278" class="LineNr"> 278 </span>
-<span id="L279" class="LineNr"> 279 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L279'>render-search-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, _items: (addr <a href='main.mu.html#L24'>item-list</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), screen-height: int <span class="Delimiter">{</span>
-<span id="L280" class="LineNr"> 280 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L281" class="LineNr"> 281 </span>  <span class="PreProc">var</span> items/<span class="muRegEdi">edi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L282" class="LineNr"> 282 </span>  <span class="PreProc">var</span> current-tab-search-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1088'>search-items</a>
-<span id="L283" class="LineNr"> 283 </span>  <span class="PreProc">var</span> _current-tab-search-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-search-items-ah
-<span id="L284" class="LineNr"> 284 </span>  <span class="PreProc">var</span> current-tab-search-items/<span class="muRegEbx">ebx</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-tab-search-items
-<span id="L285" class="LineNr"> 285 </span>  <span class="PreProc">var</span> current-tab-top-item-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L286" class="LineNr"> 286 </span>  <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *current-tab-top-item-addr
-<span id="L287" class="LineNr"> 287 </span>  <span class="PreProc">var</span> current-tab-search-items-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, search-items-first-free
-<span id="L288" class="LineNr"> 288 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">0</span>/y
-<span id="L289" class="LineNr"> 289 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;search&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L290" class="LineNr"> 290 </span>  <a href='environment.mu.html#L359'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *current-tab-search-items-first-free-addr
-<span id="L291" class="LineNr"> 291 </span>  <span class="Delimiter">{</span>
-<span id="L292" class="LineNr"> 292 </span>    compare *current-tab-search-items-first-free-addr, <span class="Constant">0x100</span>/max-search-results
-<span id="L293" class="LineNr"> 293 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L294" class="LineNr"> 294 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">1</span>/y
-<span id="L295" class="LineNr"> 295 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;too many results&quot;</span>, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
-<span id="L296" class="LineNr"> 296 </span>  <span class="Delimiter">}</span>
-<span id="L297" class="LineNr"> 297 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L298" class="LineNr"> 298 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L299" class="LineNr"> 299 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L300" class="LineNr"> 300 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
-<span id="L301" class="LineNr"> 301 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
-<span id="L302" class="LineNr"> 302 </span>  <span class="Delimiter">{</span>
-<span id="L303" class="LineNr"> 303 </span>    compare i, <span class="Constant">0</span>
-<span id="L304" class="LineNr"> 304 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L305" class="LineNr"> 305 </span>    compare y, screen-height
-<span id="L306" class="LineNr"> 306 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L307" class="LineNr"> 307 </span>    <span class="PreProc">var</span> item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-tab-search-items, i
-<span id="L308" class="LineNr"> 308 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L973'>item-index</a>/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
-<span id="L309" class="LineNr"> 309 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L310" class="LineNr"> 310 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
-<span id="L311" class="LineNr"> 311 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L476'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
-<span id="L312" class="LineNr"> 312 </span>    <span class="muComment"># cursor always at top item</span>
-<span id="L313" class="LineNr"> 313 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
-<span id="L314" class="LineNr"> 314 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L315" class="LineNr"> 315 </span>    <span class="PreProc">loop</span>
-<span id="L316" class="LineNr"> 316 </span>  <span class="Delimiter">}</span>
-<span id="L317" class="LineNr"> 317 </span><span class="Delimiter">}</span>
-<span id="L318" class="LineNr"> 318 </span>
-<span id="L319" class="LineNr"> 319 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L319'>render-thread-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, _items: (addr <a href='main.mu.html#L24'>item-list</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), screen-height: int <span class="Delimiter">{</span>
-<span id="L320" class="LineNr"> 320 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L321" class="LineNr"> 321 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L322" class="LineNr"> 322 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L323" class="LineNr"> 323 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L324" class="LineNr"> 324 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L325" class="LineNr"> 325 </span>  <span class="PreProc">var</span> post-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
-<span id="L326" class="LineNr"> 326 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L1011'>post-index</a>/eax: int <span class="Special">&lt;-</span> copy *post-index-addr
-<span id="L327" class="LineNr"> 327 </span>  <span class="PreProc">var</span> post-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1011'>post-index</a>
-<span id="L328" class="LineNr"> 328 </span>  <span class="PreProc">var</span> post/<span class="muRegEbx">ebx</span>: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, post-offset
-<span id="L329" class="LineNr"> 329 </span>  <span class="PreProc">var</span> current-tab-top-item-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L330" class="LineNr"> 330 </span>  <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *current-tab-top-item-addr
-<span id="L331" class="LineNr"> 331 </span>  <span class="PreProc">var</span> post-comments-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
-<span id="L332" class="LineNr"> 332 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">0</span>/y
-<span id="L333" class="LineNr"> 333 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;thread&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L334" class="LineNr"> 334 </span>  <a href='environment.mu.html#L359'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *post-comments-first-free-addr
-<span id="L335" class="LineNr"> 335 </span>  <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
-<span id="L336" class="LineNr"> 336 </span>  <span class="PreProc">var</span> post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
-<span id="L337" class="LineNr"> 337 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
-<span id="L338" class="LineNr"> 338 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
-<span id="L339" class="LineNr"> 339 </span>  <span class="Delimiter">{</span>
-<span id="L340" class="LineNr"> 340 </span>    compare i, <span class="Constant">0</span>
-<span id="L341" class="LineNr"> 341 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L342" class="LineNr"> 342 </span>    compare y, screen-height
-<span id="L343" class="LineNr"> 343 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L344" class="LineNr"> 344 </span>    <span class="PreProc">var</span> item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index post-comments, i
-<span id="L345" class="LineNr"> 345 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L973'>item-index</a>/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
-<span id="L346" class="LineNr"> 346 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L347" class="LineNr"> 347 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
-<span id="L348" class="LineNr"> 348 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L476'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
-<span id="L349" class="LineNr"> 349 </span>    <span class="muComment"># cursor always at top item</span>
-<span id="L350" class="LineNr"> 350 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
-<span id="L351" class="LineNr"> 351 </span>    i <span class="Special">&lt;-</span> decrement
-<span id="L352" class="LineNr"> 352 </span>    <span class="PreProc">loop</span>
-<span id="L353" class="LineNr"> 353 </span>  <span class="Delimiter">}</span>
-<span id="L354" class="LineNr"> 354 </span>  <span class="muComment"># finally render the parent -- though we'll never focus on it</span>
-<span id="L355" class="LineNr"> 355 </span>  y <span class="Special">&lt;-</span> <a href='environment.mu.html#L476'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, post, users, <span class="Constant">0</span>/no-cursor, y, screen-height
-<span id="L356" class="LineNr"> 356 </span><span class="Delimiter">}</span>
-<span id="L357" class="LineNr"> 357 </span>
-<span id="L358" class="LineNr"> 358 </span><span class="muComment"># side-effect: mutates cursor position</span>
-<span id="L359" class="LineNr"> 359 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L359'>render-progress</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), curr: int, max: int <span class="Delimiter">{</span>
-<span id="L360" class="LineNr"> 360 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x70</span>/x <span class="Constant">0</span>/y
-<span id="L361" class="LineNr"> 361 </span>  <span class="PreProc">var</span> top-index/eax: int <span class="Special">&lt;-</span> copy max
-<span id="L362" class="LineNr"> 362 </span>  top-index <span class="Special">&lt;-</span> subtract curr  <span class="muComment"># happy accident: 1-based</span>
-<span id="L363" class="LineNr"> 363 </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>, top-index, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L364" class="LineNr"> 364 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;/&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L365" class="LineNr"> 365 </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, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L366" class="LineNr"> 366 </span><span class="Delimiter">}</span>
-<span id="L367" class="LineNr"> 367 </span>
-<span id="L368" class="LineNr"> 368 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L368'>render-search-input</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
-<span id="L369" class="LineNr"> 369 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L370" class="LineNr"> 370 </span>  <span class="PreProc">var</span> cursor-in-search?/<span class="muRegEcx">ecx</span>: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L371" class="LineNr"> 371 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x22</span>/x=search-position-x <span class="Constant">1</span>/y
-<span id="L372" class="LineNr"> 372 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;search &quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L373" class="LineNr"> 373 </span>  <span class="PreProc">var</span> search-terms-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
-<span id="L374" class="LineNr"> 374 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
-<span id="L375" class="LineNr"> 375 </span>  <a href='../514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> search-terms
-<span id="L376" class="LineNr"> 376 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, search-terms, <span class="Constant">0x2a</span>/x <span class="Constant">1</span>/y, *cursor-in-search?, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
-<span id="L377" class="LineNr"> 377 </span>  <span class="Delimiter">{</span>
-<span id="L378" class="LineNr"> 378 </span>    compare x, <span class="Constant">0x4a</span>/end-search
-<span id="L379" class="LineNr"> 379 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L380" class="LineNr"> 380 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L381" class="LineNr"> 381 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x5f</span>/underscore, <span class="Constant">0</span>/xmin <span class="Constant">1</span>/ymin, <span class="Constant">0x80</span>/xmax, <span class="Constant">1</span>/ymax, x, <span class="Constant">1</span>/y, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
-<span id="L382" class="LineNr"> 382 </span>    <span class="PreProc">loop</span>
-<span id="L383" class="LineNr"> 383 </span>  <span class="Delimiter">}</span>
-<span id="L384" class="LineNr"> 384 </span><span class="Delimiter">}</span>
-<span id="L385" class="LineNr"> 385 </span>
-<span id="L386" class="LineNr"> 386 </span><span class="muComment"># not used in search mode</span>
-<span id="L387" class="LineNr"> 387 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L387'>render-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
-<span id="L388" class="LineNr"> 388 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L389" class="LineNr"> 389 </span>  <span class="Delimiter">{</span>
-<span id="L390" class="LineNr"> 390 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L391" class="LineNr"> 391 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L392" class="LineNr"> 392 </span>    <span class="PreProc">break-if-=</span>
-<span id="L393" class="LineNr"> 393 </span>    <a href='environment.mu.html#L454'>render-search-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L394" class="LineNr"> 394 </span>    <span class="PreProc">return</span>
-<span id="L395" class="LineNr"> 395 </span>  <span class="Delimiter">}</span>
-<span id="L396" class="LineNr"> 396 </span>  <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
-<span id="L397" class="LineNr"> 397 </span>  compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L67" class="LineNr">  67 </span><span class="muComment">### Render</span>
+<span id="L68" class="LineNr">  68 </span>
+<span id="L69" class="LineNr">  69 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L69'>render-environment</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L70" class="LineNr">  70 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L71" class="LineNr">  71 </span>  <span class="Delimiter">{</span>
+<span id="L72" class="LineNr">  72 </span>    <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
+<span id="L73" class="LineNr">  73 </span>    compare *dirty?, <span class="Constant">0</span>/false
+<span id="L74" class="LineNr">  74 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L75" class="LineNr">  75 </span>    <span class="muComment"># minimize repaints when typing into the search bar</span>
+<span id="L76" class="LineNr">  76 </span>    <span class="Delimiter">{</span>
+<span id="L77" class="LineNr">  77 </span>      <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L78" class="LineNr">  78 </span>      compare *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L79" class="LineNr">  79 </span>      <span class="PreProc">break-if-=</span>
+<span id="L80" class="LineNr">  80 </span>      <a href='environment.mu.html#L377'>render-search-input</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L81" class="LineNr">  81 </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 <span class="Constant">0x2f</span>/y, <span class="Constant">0x80</span>/x <span class="Constant">0x30</span>/y, <span class="Constant">0</span>/bg
+<span id="L82" class="LineNr">  82 </span>      <a href='environment.mu.html#L474'>render-search-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L83" class="LineNr">  83 </span>      <span class="PreProc">return</span>
+<span id="L84" class="LineNr">  84 </span>    <span class="Delimiter">}</span>
+<span id="L85" class="LineNr">  85 </span>    <span class="muComment"># minimize repaints when focus in channel nav</span>
+<span id="L86" class="LineNr">  86 </span>    <span class="Delimiter">{</span>
+<span id="L87" class="LineNr">  87 </span>      <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
+<span id="L88" class="LineNr">  88 </span>      compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L89" class="LineNr">  89 </span>      <span class="PreProc">break-if-=</span>
+<span id="L90" class="LineNr">  90 </span>      <a href='environment.mu.html#L106'>render-channels</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, channels
+<span id="L91" class="LineNr">  91 </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 <span class="Constant">0x2f</span>/y, <span class="Constant">0x80</span>/x <span class="Constant">0x30</span>/y, <span class="Constant">0</span>/bg
+<span id="L92" class="LineNr">  92 </span>      <a href='environment.mu.html#L452'>render-channels-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L93" class="LineNr">  93 </span>      <span class="PreProc">return</span>
+<span id="L94" class="LineNr">  94 </span>    <span class="Delimiter">}</span>
+<span id="L95" class="LineNr">  95 </span>  <span class="Delimiter">}</span>
+<span id="L96" class="LineNr">  96 </span>  <span class="muComment"># full repaint</span>
+<span id="L97" class="LineNr">  97 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L98" class="LineNr">  98 </span>  <a href='environment.mu.html#L377'>render-search-input</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L99" class="LineNr">  99 </span>  <a href='environment.mu.html#L106'>render-channels</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, channels
+<span id="L100" class="LineNr"> 100 </span>  <a href='environment.mu.html#L153'>render-item-list</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, users, channels, items
+<span id="L101" class="LineNr"> 101 </span>  <a href='environment.mu.html#L396'>render-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L102" class="LineNr"> 102 </span>  <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
+<span id="L103" class="LineNr"> 103 </span>  copy-to *dirty?, <span class="Constant">0</span>/false
+<span id="L104" class="LineNr"> 104 </span><span class="Delimiter">}</span>
+<span id="L105" class="LineNr"> 105 </span>
+<span id="L106" class="LineNr"> 106 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L106'>render-channels</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Delimiter">{</span>
+<span id="L107" class="LineNr"> 107 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L108" class="LineNr"> 108 </span>  <span class="PreProc">var</span> cursor-index/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">-1</span>
+<span id="L109" class="LineNr"> 109 </span>  <span class="Delimiter">{</span>
+<span id="L110" class="LineNr"> 110 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L111" class="LineNr"> 111 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L112" class="LineNr"> 112 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L113" class="LineNr"> 113 </span>    <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
+<span id="L114" class="LineNr"> 114 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L115" class="LineNr"> 115 </span>    <span class="PreProc">break-if-=</span>
+<span id="L116" class="LineNr"> 116 </span>    <span class="PreProc">var</span> cursor-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, channel-cursor-index
+<span id="L117" class="LineNr"> 117 </span>    cursor-index <span class="Special">&lt;-</span> copy *cursor-index-addr
+<span id="L118" class="LineNr"> 118 </span>  <span class="Delimiter">}</span>
+<span id="L119" class="LineNr"> 119 </span>  <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
+<span id="L120" class="LineNr"> 120 </span>  <span class="PreProc">var</span> y/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
+<span id="L121" class="LineNr"> 121 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
+<span id="L122" class="LineNr"> 122 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L123" class="LineNr"> 123 </span>  <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length channels
+<span id="L124" class="LineNr"> 124 </span>  <span class="Delimiter">{</span>
+<span id="L125" class="LineNr"> 125 </span>    compare i, max
+<span id="L126" class="LineNr"> 126 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L127" class="LineNr"> 127 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, i
+<span id="L128" class="LineNr"> 128 </span>    <span class="PreProc">var</span> curr/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, offset
+<span id="L129" class="LineNr"> 129 </span>    <span class="PreProc">var</span> name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get curr, name
+<span id="L130" class="LineNr"> 130 </span>    <span class="PreProc">var</span> name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-ah
+<span id="L131" class="LineNr"> 131 </span>    compare name, <span class="Constant">0</span>
+<span id="L132" class="LineNr"> 132 </span>    <span class="PreProc">break-if-=</span>
+<span id="L133" class="LineNr"> 133 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x y
+<span id="L134" class="LineNr"> 134 </span>    <span class="Delimiter">{</span>
+<span id="L135" class="LineNr"> 135 </span>      compare cursor-index, i
+<span id="L136" class="LineNr"> 136 </span>      <span class="PreProc">break-if-=</span>
+<span id="L137" class="LineNr"> 137 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;#&quot;</span>, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
+<span id="L138" class="LineNr"> 138 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
+<span id="L139" class="LineNr"> 139 </span>    <span class="Delimiter">}</span>
+<span id="L140" class="LineNr"> 140 </span>    <span class="Delimiter">{</span>
+<span id="L141" class="LineNr"> 141 </span>      compare cursor-index, i
+<span id="L142" class="LineNr"> 142 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L143" class="LineNr"> 143 </span>      <span class="muComment"># cursor; reverse video</span>
+<span id="L144" class="LineNr"> 144 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;#&quot;</span>, <span class="Constant">0</span>/black <span class="Constant">0xf</span>/white
+<span id="L145" class="LineNr"> 145 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, <span class="Constant">0</span>/black <span class="Constant">0xf</span>/white
+<span id="L146" class="LineNr"> 146 </span>    <span class="Delimiter">}</span>
+<span id="L147" class="LineNr"> 147 </span>    y <span class="Special">&lt;-</span> add <span class="Constant">2</span>/channel-padding
+<span id="L148" class="LineNr"> 148 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L149" class="LineNr"> 149 </span>    <span class="PreProc">loop</span>
+<span id="L150" class="LineNr"> 150 </span>  <span class="Delimiter">}</span>
+<span id="L151" class="LineNr"> 151 </span><span class="Delimiter">}</span>
+<span id="L152" class="LineNr"> 152 </span>
+<span id="L153" class="LineNr"> 153 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L153'>render-item-list</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L154" class="LineNr"> 154 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L155" class="LineNr"> 155 </span>  <span class="PreProc">var</span> tmp-width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L156" class="LineNr"> 156 </span>  <span class="PreProc">var</span> tmp-height/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L157" class="LineNr"> 157 </span>  tmp-width, tmp-height <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L158" class="LineNr"> 158 </span>  <span class="PreProc">var</span> screen-width: int
+<span id="L159" class="LineNr"> 159 </span>  copy-to screen-width, tmp-width
+<span id="L160" class="LineNr"> 160 </span>  <span class="PreProc">var</span> screen-height: int
+<span id="L161" class="LineNr"> 161 </span>  copy-to screen-height, tmp-height
+<span id="L162" class="LineNr"> 162 </span>  <span class="muComment">#</span>
+<span id="L163" class="LineNr"> 163 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L164" class="LineNr"> 164 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L165" class="LineNr"> 165 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
+<span id="L166" class="LineNr"> 166 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L167" class="LineNr"> 167 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
+<span id="L168" class="LineNr"> 168 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L169" class="LineNr"> 169 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L170" class="LineNr"> 170 </span>  <span class="PreProc">var</span> show-cursor?: boolean
+<span id="L171" class="LineNr"> 171 </span>  <span class="Delimiter">{</span>
+<span id="L172" class="LineNr"> 172 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L173" class="LineNr"> 173 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L174" class="LineNr"> 174 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L175" class="LineNr"> 175 </span>    <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
+<span id="L176" class="LineNr"> 176 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L177" class="LineNr"> 177 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L178" class="LineNr"> 178 </span>    copy-to show-cursor?, <span class="Constant">1</span>/true
+<span id="L179" class="LineNr"> 179 </span>  <span class="Delimiter">}</span>
+<span id="L180" class="LineNr"> 180 </span>  <a href='environment.mu.html#L186'>render-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, users, channels, items, screen-height
+<span id="L181" class="LineNr"> 181 </span>  <span class="PreProc">var</span> top/eax: int <span class="Special">&lt;-</span> copy screen-height
+<span id="L182" class="LineNr"> 182 </span>  top <span class="Special">&lt;-</span> subtract <span class="Constant">2</span>/menu-space-ver
+<span id="L183" class="LineNr"> 183 </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> top, screen-width screen-height, <span class="Constant">0</span>/bg
+<span id="L184" class="LineNr"> 184 </span><span class="Delimiter">}</span>
+<span id="L185" class="LineNr"> 185 </span>
+<span id="L186" class="LineNr"> 186 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L186'>render-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>), screen-height: int <span class="Delimiter">{</span>
+<span id="L187" class="LineNr"> 187 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
+<span id="L188" class="LineNr"> 188 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L189" class="LineNr"> 189 </span>  compare *current-tab-type, <span class="Constant">0</span>/all-items
+<span id="L190" class="LineNr"> 190 </span>  <span class="Delimiter">{</span>
+<span id="L191" class="LineNr"> 191 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L192" class="LineNr"> 192 </span>    <a href='environment.mu.html#L215'>render-all-items</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, items, users, screen-height
+<span id="L193" class="LineNr"> 193 </span>    <span class="PreProc">return</span>
+<span id="L194" class="LineNr"> 194 </span>  <span class="Delimiter">}</span>
+<span id="L195" class="LineNr"> 195 </span>  compare *current-tab-type, <span class="Constant">1</span>/channel
+<span id="L196" class="LineNr"> 196 </span>  <span class="Delimiter">{</span>
+<span id="L197" class="LineNr"> 197 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L198" class="LineNr"> 198 </span>    <a href='environment.mu.html#L249'>render-channel-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, users, channels, items, screen-height
+<span id="L199" class="LineNr"> 199 </span>    <span class="PreProc">return</span>
+<span id="L200" class="LineNr"> 200 </span>  <span class="Delimiter">}</span>
+<span id="L201" class="LineNr"> 201 </span>  compare *current-tab-type, <span class="Constant">2</span>/search
+<span id="L202" class="LineNr"> 202 </span>  <span class="Delimiter">{</span>
+<span id="L203" class="LineNr"> 203 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L204" class="LineNr"> 204 </span>    <a href='environment.mu.html#L288'>render-search-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, users, channels, items, screen-height
+<span id="L205" class="LineNr"> 205 </span>    <span class="PreProc">return</span>
+<span id="L206" class="LineNr"> 206 </span>  <span class="Delimiter">}</span>
+<span id="L207" class="LineNr"> 207 </span>  compare *current-tab-type, <span class="Constant">3</span>/thread
+<span id="L208" class="LineNr"> 208 </span>  <span class="Delimiter">{</span>
+<span id="L209" class="LineNr"> 209 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L210" class="LineNr"> 210 </span>    <a href='environment.mu.html#L328'>render-thread-tab</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, current-tab, show-cursor?, users, channels, items, screen-height
+<span id="L211" class="LineNr"> 211 </span>    <span class="PreProc">return</span>
+<span id="L212" class="LineNr"> 212 </span>  <span class="Delimiter">}</span>
+<span id="L213" class="LineNr"> 213 </span><span class="Delimiter">}</span>
+<span id="L214" class="LineNr"> 214 </span>
+<span id="L215" class="LineNr"> 215 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L215'>render-all-items</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, _items: (addr <a href='main.mu.html#L24'>item-list</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), screen-height: int <span class="Delimiter">{</span>
+<span id="L216" class="LineNr"> 216 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
+<span id="L217" class="LineNr"> 217 </span>  <span class="PreProc">var</span> items/<span class="muRegEdi">edi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L218" class="LineNr"> 218 </span>  <span class="PreProc">var</span> newest-item/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L219" class="LineNr"> 219 </span>  <span class="PreProc">var</span> i/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *newest-item
+<span id="L220" class="LineNr"> 220 </span>  <span class="PreProc">var</span> items-data-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
+<span id="L221" class="LineNr"> 221 </span>  <a href='environment.mu.html#L368'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *items-data-first-free-addr
+<span id="L222" class="LineNr"> 222 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L223" class="LineNr"> 223 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L224" class="LineNr"> 224 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L225" class="LineNr"> 225 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
+<span id="L226" class="LineNr"> 226 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
+<span id="L227" class="LineNr"> 227 </span>  $render-all-items:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
+<span id="L228" class="LineNr"> 228 </span>    compare i, <span class="Constant">0</span>
+<span id="L229" class="LineNr"> 229 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L230" class="LineNr"> 230 </span>    <span class="Delimiter">{</span>
+<span id="L231" class="LineNr"> 231 </span>      <span class="PreProc">var</span> hide?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1155'>should-hide?</a> current-tab, i, _items
+<span id="L232" class="LineNr"> 232 </span>      compare hide?, <span class="Constant">0</span>/false
+<span id="L233" class="LineNr"> 233 </span>      <span class="PreProc">break-if-=</span>
+<span id="L234" class="LineNr"> 234 </span>      i <span class="Special">&lt;-</span> decrement
+<span id="L235" class="LineNr"> 235 </span>      <span class="PreProc">loop</span> $render-all-items:<span class="PreProc">loop</span>
+<span id="L236" class="LineNr"> 236 </span>    <span class="Delimiter">}</span>
+<span id="L237" class="LineNr"> 237 </span>    compare y, screen-height
+<span id="L238" class="LineNr"> 238 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L239" class="LineNr"> 239 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, i
+<span id="L240" class="LineNr"> 240 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
+<span id="L241" class="LineNr"> 241 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
+<span id="L242" class="LineNr"> 242 </span>    <span class="muComment"># cursor always at top item</span>
+<span id="L243" class="LineNr"> 243 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
+<span id="L244" class="LineNr"> 244 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L245" class="LineNr"> 245 </span>    <span class="PreProc">loop</span>
+<span id="L246" class="LineNr"> 246 </span>  <span class="Delimiter">}</span>
+<span id="L247" class="LineNr"> 247 </span><span class="Delimiter">}</span>
+<span id="L248" class="LineNr"> 248 </span>
+<span id="L249" class="LineNr"> 249 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L249'>render-channel-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, users: (addr array <a href='main.mu.html#L7'>user</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>), screen-height: int <span class="Delimiter">{</span>
+<span id="L250" class="LineNr"> 250 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
+<span id="L251" class="LineNr"> 251 </span>  <span class="PreProc">var</span> items/<span class="muRegEdi">edi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L252" class="LineNr"> 252 </span>  <span class="PreProc">var</span> channels/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
+<span id="L253" class="LineNr"> 253 </span>  <span class="PreProc">var</span> channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
+<span id="L254" class="LineNr"> 254 </span>  <span class="PreProc">var</span> channel-index/eax: int <span class="Special">&lt;-</span> copy *channel-index-addr
+<span id="L255" class="LineNr"> 255 </span>  <span class="PreProc">var</span> channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, channel-index
+<span id="L256" class="LineNr"> 256 </span>  <span class="PreProc">var</span> current-channel/<span class="muRegEcx">ecx</span>: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, channel-offset
+<span id="L257" class="LineNr"> 257 </span>  <span class="PreProc">var</span> current-channel-posts-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-channel, posts
+<span id="L258" class="LineNr"> 258 </span>  <span class="PreProc">var</span> _current-channel-posts/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-channel-posts-ah
+<span id="L259" class="LineNr"> 259 </span>  <span class="PreProc">var</span> current-channel-posts/<span class="muRegEdx">edx</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-channel-posts
+<span id="L260" class="LineNr"> 260 </span>  <span class="PreProc">var</span> current-channel-first-channel-item-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L261" class="LineNr"> 261 </span>  <span class="PreProc">var</span> i/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy *current-channel-first-channel-item-addr
+<span id="L262" class="LineNr"> 262 </span>  <span class="PreProc">var</span> current-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-channel, posts-first-free
+<span id="L263" class="LineNr"> 263 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">0</span>/y
+<span id="L264" class="LineNr"> 264 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;channel&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L265" class="LineNr"> 265 </span>  <a href='environment.mu.html#L368'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *current-channel-posts-first-free-addr
+<span id="L266" class="LineNr"> 266 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L267" class="LineNr"> 267 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L268" class="LineNr"> 268 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L269" class="LineNr"> 269 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
+<span id="L270" class="LineNr"> 270 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
+<span id="L271" class="LineNr"> 271 </span>  <span class="Delimiter">{</span>
+<span id="L272" class="LineNr"> 272 </span>    compare i, <span class="Constant">0</span>
+<span id="L273" class="LineNr"> 273 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L274" class="LineNr"> 274 </span>    compare y, screen-height
+<span id="L275" class="LineNr"> 275 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L276" class="LineNr"> 276 </span>    <span class="PreProc">var</span> item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-channel-posts, i
+<span id="L277" class="LineNr"> 277 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
+<span id="L278" class="LineNr"> 278 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L279" class="LineNr"> 279 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
+<span id="L280" class="LineNr"> 280 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
+<span id="L281" class="LineNr"> 281 </span>    <span class="muComment"># cursor always at top item</span>
+<span id="L282" class="LineNr"> 282 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
+<span id="L283" class="LineNr"> 283 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L284" class="LineNr"> 284 </span>    <span class="PreProc">loop</span>
+<span id="L285" class="LineNr"> 285 </span>  <span class="Delimiter">}</span>
+<span id="L286" class="LineNr"> 286 </span><span class="Delimiter">}</span>
+<span id="L287" class="LineNr"> 287 </span>
+<span id="L288" class="LineNr"> 288 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L288'>render-search-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>), screen-height: int <span class="Delimiter">{</span>
+<span id="L289" class="LineNr"> 289 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
+<span id="L290" class="LineNr"> 290 </span>  <span class="PreProc">var</span> items/<span class="muRegEdi">edi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L291" class="LineNr"> 291 </span>  <span class="PreProc">var</span> current-tab-search-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1329'>search-items</a>
+<span id="L292" class="LineNr"> 292 </span>  <span class="PreProc">var</span> _current-tab-search-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-search-items-ah
+<span id="L293" class="LineNr"> 293 </span>  <span class="PreProc">var</span> current-tab-search-items/<span class="muRegEbx">ebx</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-tab-search-items
+<span id="L294" class="LineNr"> 294 </span>  <span class="PreProc">var</span> current-tab-top-item-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L295" class="LineNr"> 295 </span>  <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *current-tab-top-item-addr
+<span id="L296" class="LineNr"> 296 </span>  <span class="PreProc">var</span> current-tab-search-items-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, search-items-first-free
+<span id="L297" class="LineNr"> 297 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">0</span>/y
+<span id="L298" class="LineNr"> 298 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;search&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L299" class="LineNr"> 299 </span>  <a href='environment.mu.html#L368'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *current-tab-search-items-first-free-addr
+<span id="L300" class="LineNr"> 300 </span>  <span class="Delimiter">{</span>
+<span id="L301" class="LineNr"> 301 </span>    compare *current-tab-search-items-first-free-addr, <span class="Constant">0x100</span>/max-search-results
+<span id="L302" class="LineNr"> 302 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L303" class="LineNr"> 303 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">1</span>/y
+<span id="L304" class="LineNr"> 304 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;too many results&quot;</span>, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
+<span id="L305" class="LineNr"> 305 </span>  <span class="Delimiter">}</span>
+<span id="L306" class="LineNr"> 306 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L307" class="LineNr"> 307 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L308" class="LineNr"> 308 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L309" class="LineNr"> 309 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
+<span id="L310" class="LineNr"> 310 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
+<span id="L311" class="LineNr"> 311 </span>  <span class="Delimiter">{</span>
+<span id="L312" class="LineNr"> 312 </span>    compare i, <span class="Constant">0</span>
+<span id="L313" class="LineNr"> 313 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L314" class="LineNr"> 314 </span>    compare y, screen-height
+<span id="L315" class="LineNr"> 315 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L316" class="LineNr"> 316 </span>    <span class="PreProc">var</span> item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-tab-search-items, i
+<span id="L317" class="LineNr"> 317 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
+<span id="L318" class="LineNr"> 318 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L319" class="LineNr"> 319 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
+<span id="L320" class="LineNr"> 320 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
+<span id="L321" class="LineNr"> 321 </span>    <span class="muComment"># cursor always at top item</span>
+<span id="L322" class="LineNr"> 322 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
+<span id="L323" class="LineNr"> 323 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L324" class="LineNr"> 324 </span>    <span class="PreProc">loop</span>
+<span id="L325" class="LineNr"> 325 </span>  <span class="Delimiter">}</span>
+<span id="L326" class="LineNr"> 326 </span><span class="Delimiter">}</span>
+<span id="L327" class="LineNr"> 327 </span>
+<span id="L328" class="LineNr"> 328 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L328'>render-thread-tab</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), show-cursor?: boolean, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>), screen-height: int <span class="Delimiter">{</span>
+<span id="L329" class="LineNr"> 329 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
+<span id="L330" class="LineNr"> 330 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L331" class="LineNr"> 331 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L332" class="LineNr"> 332 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L333" class="LineNr"> 333 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L334" class="LineNr"> 334 </span>  <span class="PreProc">var</span> post-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
+<span id="L335" class="LineNr"> 335 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L1252'>post-index</a>/eax: int <span class="Special">&lt;-</span> copy *post-index-addr
+<span id="L336" class="LineNr"> 336 </span>  <span class="PreProc">var</span> post-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1252'>post-index</a>
+<span id="L337" class="LineNr"> 337 </span>  <span class="PreProc">var</span> post/<span class="muRegEbx">ebx</span>: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, post-offset
+<span id="L338" class="LineNr"> 338 </span>  <span class="PreProc">var</span> current-tab-top-item-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L339" class="LineNr"> 339 </span>  <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *current-tab-top-item-addr
+<span id="L340" class="LineNr"> 340 </span>  <span class="PreProc">var</span> post-comments-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
+<span id="L341" class="LineNr"> 341 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x68</span>/x <span class="Constant">0</span>/y
+<span id="L342" class="LineNr"> 342 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;thread&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L343" class="LineNr"> 343 </span>  <a href='environment.mu.html#L368'>render-progress</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, i, *post-comments-first-free-addr
+<span id="L344" class="LineNr"> 344 </span>  <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
+<span id="L345" class="LineNr"> 345 </span>  <span class="PreProc">var</span> post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
+<span id="L346" class="LineNr"> 346 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>/search-space-ver
+<span id="L347" class="LineNr"> 347 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/item-padding-ver
+<span id="L348" class="LineNr"> 348 </span>  <span class="Delimiter">{</span>
+<span id="L349" class="LineNr"> 349 </span>    compare i, <span class="Constant">0</span>
+<span id="L350" class="LineNr"> 350 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L351" class="LineNr"> 351 </span>    compare y, screen-height
+<span id="L352" class="LineNr"> 352 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L353" class="LineNr"> 353 </span>    <span class="PreProc">var</span> item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index post-comments, i
+<span id="L354" class="LineNr"> 354 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
+<span id="L355" class="LineNr"> 355 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L356" class="LineNr"> 356 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
+<span id="L357" class="LineNr"> 357 </span>    y <span class="Special">&lt;-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-item, users, show-cursor?, y, screen-height
+<span id="L358" class="LineNr"> 358 </span>    <span class="muComment"># cursor always at top item</span>
+<span id="L359" class="LineNr"> 359 </span>    copy-to show-cursor?, <span class="Constant">0</span>/false
+<span id="L360" class="LineNr"> 360 </span>    i <span class="Special">&lt;-</span> decrement
+<span id="L361" class="LineNr"> 361 </span>    <span class="PreProc">loop</span>
+<span id="L362" class="LineNr"> 362 </span>  <span class="Delimiter">}</span>
+<span id="L363" class="LineNr"> 363 </span>  <span class="muComment"># finally render the parent -- though we'll never focus on it</span>
+<span id="L364" class="LineNr"> 364 </span>  y <span class="Special">&lt;-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, post, users, <span class="Constant">0</span>/no-cursor, y, screen-height
+<span id="L365" class="LineNr"> 365 </span><span class="Delimiter">}</span>
+<span id="L366" class="LineNr"> 366 </span>
+<span id="L367" class="LineNr"> 367 </span><span class="muComment"># side-effect: mutates cursor position</span>
+<span id="L368" class="LineNr"> 368 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L368'>render-progress</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), curr: int, max: int <span class="Delimiter">{</span>
+<span id="L369" class="LineNr"> 369 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x70</span>/x <span class="Constant">0</span>/y
+<span id="L370" class="LineNr"> 370 </span>  <span class="PreProc">var</span> top-index/eax: int <span class="Special">&lt;-</span> copy max
+<span id="L371" class="LineNr"> 371 </span>  top-index <span class="Special">&lt;-</span> subtract curr  <span class="muComment"># happy accident: 1-based</span>
+<span id="L372" class="LineNr"> 372 </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>, top-index, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L373" class="LineNr"> 373 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;/&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L374" class="LineNr"> 374 </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, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L375" class="LineNr"> 375 </span><span class="Delimiter">}</span>
+<span id="L376" class="LineNr"> 376 </span>
+<span id="L377" class="LineNr"> 377 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L377'>render-search-input</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
+<span id="L378" class="LineNr"> 378 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L379" class="LineNr"> 379 </span>  <span class="PreProc">var</span> cursor-in-search?/<span class="muRegEcx">ecx</span>: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L380" class="LineNr"> 380 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x22</span>/x=search-position-x <span class="Constant">1</span>/y
+<span id="L381" class="LineNr"> 381 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;search &quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L382" class="LineNr"> 382 </span>  <span class="PreProc">var</span> search-terms-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
+<span id="L383" class="LineNr"> 383 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
+<span id="L384" class="LineNr"> 384 </span>  <a href='../514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> search-terms
+<span id="L385" class="LineNr"> 385 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, search-terms, <span class="Constant">0x2a</span>/x <span class="Constant">1</span>/y, *cursor-in-search?, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L386" class="LineNr"> 386 </span>  <span class="Delimiter">{</span>
+<span id="L387" class="LineNr"> 387 </span>    compare x, <span class="Constant">0x4a</span>/end-search
+<span id="L388" class="LineNr"> 388 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L389" class="LineNr"> 389 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L390" class="LineNr"> 390 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x5f</span>/underscore, <span class="Constant">0</span>/xmin <span class="Constant">1</span>/ymin, <span class="Constant">0x80</span>/xmax, <span class="Constant">1</span>/ymax, x, <span class="Constant">1</span>/y, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L391" class="LineNr"> 391 </span>    <span class="PreProc">loop</span>
+<span id="L392" class="LineNr"> 392 </span>  <span class="Delimiter">}</span>
+<span id="L393" class="LineNr"> 393 </span><span class="Delimiter">}</span>
+<span id="L394" class="LineNr"> 394 </span>
+<span id="L395" class="LineNr"> 395 </span><span class="muComment"># not used in search mode</span>
+<span id="L396" class="LineNr"> 396 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L396'>render-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
+<span id="L397" class="LineNr"> 397 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
 <span id="L398" class="LineNr"> 398 </span>  <span class="Delimiter">{</span>
-<span id="L399" class="LineNr"> 399 </span>    <span class="PreProc">break-if-=</span>
-<span id="L400" class="LineNr"> 400 </span>    <a href='environment.mu.html#L432'>render-channels-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L401" class="LineNr"> 401 </span>    <span class="PreProc">return</span>
-<span id="L402" class="LineNr"> 402 </span>  <span class="Delimiter">}</span>
-<span id="L403" class="LineNr"> 403 </span>  <a href='environment.mu.html#L406'>render-main-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
-<span id="L404" class="LineNr"> 404 </span><span class="Delimiter">}</span>
-<span id="L405" class="LineNr"> 405 </span>
-<span id="L406" class="LineNr"> 406 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L406'>render-main-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
-<span id="L407" class="LineNr"> 407 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L408" class="LineNr"> 408 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L409" class="LineNr"> 409 </span>  width, y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
-<span id="L410" class="LineNr"> 410 </span>  y <span class="Special">&lt;-</span> decrement
-<span id="L411" class="LineNr"> 411 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x, y
-<span id="L412" class="LineNr"> 412 </span>  <span class="Delimiter">{</span>
-<span id="L413" class="LineNr"> 413 </span>    <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L414" class="LineNr"> 414 </span>    <span class="PreProc">var</span> num-tabs/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L415" class="LineNr"> 415 </span>    compare *num-tabs, <span class="Constant">0</span>
-<span id="L416" class="LineNr"> 416 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L417" class="LineNr"> 417 </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">&quot; Esc &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L418" class="LineNr"> 418 </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">&quot; go back  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L419" class="LineNr"> 419 </span>  <span class="Delimiter">}</span>
-<span id="L420" class="LineNr"> 420 </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">&quot; Enter &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L421" class="LineNr"> 421 </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">&quot; go to thread  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L422" class="LineNr"> 422 </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">&quot; / &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L423" class="LineNr"> 423 </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">&quot; search  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L424" class="LineNr"> 424 </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">&quot; Tab &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L425" class="LineNr"> 425 </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">&quot; go to channels  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L426" class="LineNr"> 426 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L427" class="LineNr"> 427 </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">&quot; &lt;&lt; page  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L428" class="LineNr"> 428 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L429" class="LineNr"> 429 </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">&quot; page &gt;&gt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L430" class="LineNr"> 430 </span><span class="Delimiter">}</span>
-<span id="L431" class="LineNr"> 431 </span>
-<span id="L432" class="LineNr"> 432 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L432'>render-channels-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
-<span id="L433" class="LineNr"> 433 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L434" class="LineNr"> 434 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L435" class="LineNr"> 435 </span>  width, y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
-<span id="L436" class="LineNr"> 436 </span>  y <span class="Special">&lt;-</span> decrement
-<span id="L437" class="LineNr"> 437 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x, y
-<span id="L438" class="LineNr"> 438 </span>  <span class="Delimiter">{</span>
-<span id="L439" class="LineNr"> 439 </span>    <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L440" class="LineNr"> 440 </span>    <span class="PreProc">var</span> num-tabs/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L441" class="LineNr"> 441 </span>    compare *num-tabs, <span class="Constant">0</span>
-<span id="L442" class="LineNr"> 442 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L443" class="LineNr"> 443 </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">&quot; Esc &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L444" class="LineNr"> 444 </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">&quot; go back  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L399" class="LineNr"> 399 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L400" class="LineNr"> 400 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L401" class="LineNr"> 401 </span>    <span class="PreProc">break-if-=</span>
+<span id="L402" class="LineNr"> 402 </span>    <a href='environment.mu.html#L474'>render-search-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L403" class="LineNr"> 403 </span>    <span class="PreProc">return</span>
+<span id="L404" class="LineNr"> 404 </span>  <span class="Delimiter">}</span>
+<span id="L405" class="LineNr"> 405 </span>  <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
+<span id="L406" class="LineNr"> 406 </span>  compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L407" class="LineNr"> 407 </span>  <span class="Delimiter">{</span>
+<span id="L408" class="LineNr"> 408 </span>    <span class="PreProc">break-if-=</span>
+<span id="L409" class="LineNr"> 409 </span>    <a href='environment.mu.html#L452'>render-channels-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L410" class="LineNr"> 410 </span>    <span class="PreProc">return</span>
+<span id="L411" class="LineNr"> 411 </span>  <span class="Delimiter">}</span>
+<span id="L412" class="LineNr"> 412 </span>  <a href='environment.mu.html#L415'>render-main-menu</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
+<span id="L413" class="LineNr"> 413 </span><span class="Delimiter">}</span>
+<span id="L414" class="LineNr"> 414 </span>
+<span id="L415" class="LineNr"> 415 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L415'>render-main-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
+<span id="L416" class="LineNr"> 416 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L417" class="LineNr"> 417 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L418" class="LineNr"> 418 </span>  width, y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L419" class="LineNr"> 419 </span>  y <span class="Special">&lt;-</span> decrement
+<span id="L420" class="LineNr"> 420 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x, y
+<span id="L421" class="LineNr"> 421 </span>  <span class="Delimiter">{</span>
+<span id="L422" class="LineNr"> 422 </span>    <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L423" class="LineNr"> 423 </span>    <span class="PreProc">var</span> num-tabs/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L424" class="LineNr"> 424 </span>    compare *num-tabs, <span class="Constant">0</span>
+<span id="L425" class="LineNr"> 425 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L426" class="LineNr"> 426 </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">&quot; Esc &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L427" class="LineNr"> 427 </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">&quot; go back  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L428" class="LineNr"> 428 </span>  <span class="Delimiter">}</span>
+<span id="L429" class="LineNr"> 429 </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">&quot; / &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L430" class="LineNr"> 430 </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">&quot; search  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L431" class="LineNr"> 431 </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">&quot; Tab &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L432" class="LineNr"> 432 </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">&quot; go to channels  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L433" class="LineNr"> 433 </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">&quot; Enter &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L434" class="LineNr"> 434 </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">&quot; go to thread  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L435" class="LineNr"> 435 </span>  <span class="Delimiter">{</span>
+<span id="L436" class="LineNr"> 436 </span>    <span class="Delimiter">{</span>
+<span id="L437" class="LineNr"> 437 </span>      <span class="PreProc">var</span> is-all-items-or-channel?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L945'>current-tab-is-all-items-or-channel?</a> _env
+<span id="L438" class="LineNr"> 438 </span>      compare is-all-items-or-channel?, <span class="Constant">0</span>/false
+<span id="L439" class="LineNr"> 439 </span>    <span class="Delimiter">}</span>
+<span id="L440" class="LineNr"> 440 </span>    <span class="PreProc">break-if-=</span>
+<span id="L441" class="LineNr"> 441 </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">&quot; ^h &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L442" class="LineNr"> 442 </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">&quot; hide thread  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L443" class="LineNr"> 443 </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">&quot; ^u &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L444" class="LineNr"> 444 </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">&quot; unhide all  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
 <span id="L445" class="LineNr"> 445 </span>  <span class="Delimiter">}</span>
-<span id="L446" class="LineNr"> 446 </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">&quot; / &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L447" class="LineNr"> 447 </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">&quot; search  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L448" class="LineNr"> 448 </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">&quot; Tab &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L449" class="LineNr"> 449 </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">&quot; go to items  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L450" class="LineNr"> 450 </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">&quot; Enter &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L451" class="LineNr"> 451 </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">&quot; select  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L452" class="LineNr"> 452 </span><span class="Delimiter">}</span>
-<span id="L453" class="LineNr"> 453 </span>
-<span id="L454" class="LineNr"> 454 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L454'>render-search-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
-<span id="L455" class="LineNr"> 455 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L456" class="LineNr"> 456 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L457" class="LineNr"> 457 </span>  width, y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
-<span id="L458" class="LineNr"> 458 </span>  y <span class="Special">&lt;-</span> decrement
-<span id="L459" class="LineNr"> 459 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x, y
-<span id="L460" class="LineNr"> 460 </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">&quot; Esc &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L461" class="LineNr"> 461 </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">&quot; cancel  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L462" class="LineNr"> 462 </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">&quot; Enter &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
-<span id="L463" class="LineNr"> 463 </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">&quot; select  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L464" class="LineNr"> 464 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
-<span id="L465" class="LineNr"> 465 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L466" class="LineNr"> 466 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
-<span id="L467" class="LineNr"> 467 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L468" class="LineNr"> 468 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
-<span id="L469" class="LineNr"> 469 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L470" class="LineNr"> 470 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
-<span id="L471" class="LineNr"> 471 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L472" class="LineNr"> 472 </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">&quot; ^u &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
-<span id="L473" class="LineNr"> 473 </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">&quot; clear  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L474" class="LineNr"> 474 </span><span class="Delimiter">}</span>
-<span id="L475" class="LineNr"> 475 </span>
-<span id="L476" class="LineNr"> 476 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L476'>render-item</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _item: (addr <a href='main.mu.html#L14'>item</a>), _users: (addr array <a href='main.mu.html#L7'>user</a>), show-cursor?: boolean, y: int, screen-height: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L477" class="LineNr"> 477 </span>  <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _item
-<span id="L478" class="LineNr"> 478 </span>  <span class="PreProc">var</span> users/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> copy _users
-<span id="L479" class="LineNr"> 479 </span>  <span class="PreProc">var</span> author-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, by
-<span id="L480" class="LineNr"> 480 </span>  <span class="PreProc">var</span> author-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *author-index-addr
-<span id="L481" class="LineNr"> 481 </span>  <span class="PreProc">var</span> author-offset/<span class="muRegEcx">ecx</span>: (offset <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> compute-offset users, author-index
-<span id="L482" class="LineNr"> 482 </span>  <span class="PreProc">var</span> author/<span class="muRegEcx">ecx</span>: (addr <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> index users, author-offset
-<span id="L483" class="LineNr"> 483 </span>  <span class="muComment"># author avatar</span>
-<span id="L484" class="LineNr"> 484 </span>  <span class="PreProc">var</span> author-avatar-ah/eax: (addr handle <a href='../511image.mu.html#L6'>image</a>) <span class="Special">&lt;-</span> get author, avatar
-<span id="L485" class="LineNr"> 485 </span>  <span class="PreProc">var</span> _author-avatar/eax: (addr <a href='../511image.mu.html#L6'>image</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *author-avatar-ah
-<span id="L486" class="LineNr"> 486 </span>  <span class="PreProc">var</span> author-avatar/<span class="muRegEbx">ebx</span>: (addr <a href='../511image.mu.html#L6'>image</a>) <span class="Special">&lt;-</span> copy _author-avatar
-<span id="L487" class="LineNr"> 487 </span>  <span class="Delimiter">{</span>
-<span id="L488" class="LineNr"> 488 </span>    compare author-avatar, <span class="Constant">0</span>
-<span id="L489" class="LineNr"> 489 </span>    <span class="PreProc">break-if-=</span>
-<span id="L490" class="LineNr"> 490 </span>    <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L491" class="LineNr"> 491 </span>    y <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2font-height
-<span id="L492" class="LineNr"> 492 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
-<span id="L493" class="LineNr"> 493 </span>    x <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2font-width
-<span id="L494" class="LineNr"> 494 </span>    x <span class="Special">&lt;-</span> add <span class="Constant">0x18</span>/item-padding-hor
-<span id="L495" class="LineNr"> 495 </span>    <a href='../511image.mu.html#L55'>render-image</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, author-avatar, x, y, <span class="Constant">0x50</span>/avatar-side, <span class="Constant">0x50</span>/avatar-side
-<span id="L496" class="LineNr"> 496 </span>  <span class="Delimiter">}</span>
-<span id="L497" class="LineNr"> 497 </span>  <span class="muComment"># channel</span>
-<span id="L498" class="LineNr"> 498 </span>  <span class="PreProc">var</span> channel-name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, <a href='main.mu.html#L1'>channel</a>
-<span id="L499" class="LineNr"> 499 </span>  <span class="PreProc">var</span> channel-name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *channel-name-ah
-<span id="L500" class="LineNr"> 500 </span>  <span class="Delimiter">{</span>
-<span id="L501" class="LineNr"> 501 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
-<span id="L502" class="LineNr"> 502 </span>    x <span class="Special">&lt;-</span> add <span class="Constant">0x40</span>/channel-offset-x
-<span id="L503" class="LineNr"> 503 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x y
-<span id="L504" class="LineNr"> 504 </span>  <span class="Delimiter">}</span>
-<span id="L505" class="LineNr"> 505 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;#&quot;</span>, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
-<span id="L506" class="LineNr"> 506 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, channel-name, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
-<span id="L507" class="LineNr"> 507 </span>  <span class="muComment"># author name</span>
-<span id="L508" class="LineNr"> 508 </span>  <span class="Delimiter">{</span>
-<span id="L509" class="LineNr"> 509 </span>    <span class="PreProc">var</span> author-real-name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get author, real-name
-<span id="L510" class="LineNr"> 510 </span>    <span class="PreProc">var</span> author-real-name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *author-real-name-ah
-<span id="L511" class="LineNr"> 511 </span>    <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
-<span id="L512" class="LineNr"> 512 </span>    x <span class="Special">&lt;-</span> add <span class="Constant">0x10</span>/avatar-space-hor
-<span id="L513" class="LineNr"> 513 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x y
-<span id="L514" class="LineNr"> 514 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, author-real-name, <span class="Constant">0xf</span>/white <span class="Constant">0</span>/black
-<span id="L515" class="LineNr"> 515 </span>  <span class="Delimiter">}</span>
-<span id="L516" class="LineNr"> 516 </span>  increment y
-<span id="L517" class="LineNr"> 517 </span>  <span class="muComment"># text</span>
-<span id="L518" class="LineNr"> 518 </span>  <span class="PreProc">var</span> text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L519" class="LineNr"> 519 </span>  <span class="PreProc">var</span> _text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *text-ah
-<span id="L520" class="LineNr"> 520 </span>  <span class="PreProc">var</span> text/<span class="muRegEdx">edx</span>: (addr array byte) <span class="Special">&lt;-</span> copy _text
-<span id="L521" class="LineNr"> 521 </span>  <span class="PreProc">var</span> text-y/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L532'>render-slack-message</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, show-cursor?, y, screen-height
-<span id="L522" class="LineNr"> 522 </span>  <span class="muComment"># flush</span>
-<span id="L523" class="LineNr"> 523 </span>  add-to y, <span class="Constant">6</span>/avatar-space-ver
-<span id="L524" class="LineNr"> 524 </span>  compare y, text-y
-<span id="L525" class="LineNr"> 525 </span>  <span class="Delimiter">{</span>
-<span id="L526" class="LineNr"> 526 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L527" class="LineNr"> 527 </span>    <span class="PreProc">return</span> y
-<span id="L528" class="LineNr"> 528 </span>  <span class="Delimiter">}</span>
-<span id="L529" class="LineNr"> 529 </span>  <span class="PreProc">return</span> text-y
-<span id="L530" class="LineNr"> 530 </span><span class="Delimiter">}</span>
-<span id="L531" class="LineNr"> 531 </span>
-<span id="L532" class="LineNr"> 532 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L532'>render-slack-message</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), highlight?: boolean, ymin: int, ymax: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L533" class="LineNr"> 533 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
-<span id="L534" class="LineNr"> 534 </span>  x <span class="Special">&lt;-</span> add <span class="Constant">0x10</span>/avatar-space-hor
-<span id="L535" class="LineNr"> 535 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymin
-<span id="L536" class="LineNr"> 536 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/author-name-padding-ver
-<span id="L537" class="LineNr"> 537 </span>  $render-slack-message:draw: <span class="Delimiter">{</span>
-<span id="L538" class="LineNr"> 538 </span>    compare highlight?, <span class="Constant">0</span>/false
-<span id="L539" class="LineNr"> 539 </span>    <span class="Delimiter">{</span>
-<span id="L540" class="LineNr"> 540 </span>      <span class="PreProc">break-if-=</span>
-<span id="L541" class="LineNr"> 541 </span>      x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L554'>draw-json-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, x y, <span class="Constant">0x70</span>/xmax=post-right-coord ymax, x y, <span class="Constant">0</span>/fg <span class="Constant">7</span>/bg
-<span id="L542" class="LineNr"> 542 </span>      <span class="PreProc">break</span> $render-slack-message:draw
-<span id="L543" class="LineNr"> 543 </span>    <span class="Delimiter">}</span>
-<span id="L544" class="LineNr"> 544 </span>    x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L554'>draw-json-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, x y, <span class="Constant">0x70</span>/xmax=post-right-coord ymax, x y, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L545" class="LineNr"> 545 </span>  <span class="Delimiter">}</span>
-<span id="L546" class="LineNr"> 546 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">2</span>/item-padding-ver
-<span id="L547" class="LineNr"> 547 </span>  <span class="PreProc">return</span> y
-<span id="L548" class="LineNr"> 548 </span><span class="Delimiter">}</span>
-<span id="L549" class="LineNr"> 549 </span>
-<span id="L550" class="LineNr"> 550 </span><span class="muComment"># draw text in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
-<span id="L551" class="LineNr"> 551 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
-<span id="L552" class="LineNr"> 552 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
-<span id="L553" class="LineNr"> 553 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L554" class="LineNr"> 554 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L554'>draw-json-text-wrapping-right-then-down</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L555" class="LineNr"> 555 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x4000</span>/print-buffer-size)
-<span id="L556" class="LineNr"> 556 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
-<span id="L557" class="LineNr"> 557 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _text
-<span id="L558" class="LineNr"> 558 </span>  <span class="PreProc">var</span> len/eax: int <span class="Special">&lt;-</span> length text
-<span id="L559" class="LineNr"> 559 </span>  compare len, <span class="Constant">0x4000</span>/print-buffer-size
-<span id="L560" class="LineNr"> 560 </span>  <span class="Delimiter">{</span>
-<span id="L561" class="LineNr"> 561 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L562" class="LineNr"> 562 </span>    <a href='../108write.subx.html#L11'>write</a> stream, <span class="Constant">&quot;ERROR: stream too small in draw-text-wrapping-right-then-down&quot;</span>
-<span id="L563" class="LineNr"> 563 </span>  <span class="Delimiter">}</span>
-<span id="L564" class="LineNr"> 564 </span>  compare len, <span class="Constant">0x4000</span>/print-buffer-size
-<span id="L565" class="LineNr"> 565 </span>  <span class="Delimiter">{</span>
-<span id="L566" class="LineNr"> 566 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L567" class="LineNr"> 567 </span>    <a href='../108write.subx.html#L11'>write</a> stream, text
-<span id="L568" class="LineNr"> 568 </span>  <span class="Delimiter">}</span>
-<span id="L569" class="LineNr"> 569 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy _x
-<span id="L570" class="LineNr"> 570 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
-<span id="L571" class="LineNr"> 571 </span>  x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L579'>draw-json-stream-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, x, y, color, background-color
-<span id="L572" class="LineNr"> 572 </span>  <span class="PreProc">return</span> x, y
-<span id="L573" class="LineNr"> 573 </span><span class="Delimiter">}</span>
-<span id="L574" class="LineNr"> 574 </span>
-<span id="L575" class="LineNr"> 575 </span><span class="muComment"># draw a stream in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
-<span id="L576" class="LineNr"> 576 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
-<span id="L577" class="LineNr"> 577 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
-<span id="L578" class="LineNr"> 578 </span><span class="muComment"># if there isn't enough space, truncate</span>
-<span id="L579" class="LineNr"> 579 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L579'>draw-json-stream-wrapping-right-then-down</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L580" class="LineNr"> 580 </span>  <span class="PreProc">var</span> xcurr/eax: int <span class="Special">&lt;-</span> copy x
-<span id="L581" class="LineNr"> 581 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy y
-<span id="L582" class="LineNr"> 582 </span>  <span class="Delimiter">{</span>
-<span id="L583" class="LineNr"> 583 </span>    <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> <a href='environment.mu.html#L602'>read-json-code-point</a> stream
-<span id="L584" class="LineNr"> 584 </span>    compare c, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L585" class="LineNr"> 585 </span>    <span class="PreProc">break-if-=</span>
-<span id="L586" class="LineNr"> 586 </span>    $draw-json-stream-wrapping-right-then-down:render-grapheme: <span class="Delimiter">{</span>
-<span id="L587" class="LineNr"> 587 </span>      compare c, <span class="Constant">0x5c</span>/backslash
-<span id="L588" class="LineNr"> 588 </span>      <span class="Delimiter">{</span>
-<span id="L589" class="LineNr"> 589 </span>        <span class="PreProc">break-if-!=</span>
-<span id="L590" class="LineNr"> 590 </span>        xcurr, ycurr <span class="Special">&lt;-</span> <a href='environment.mu.html#L610'>render-json-escaped-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L591" class="LineNr"> 591 </span>        <span class="PreProc">break</span> $draw-json-stream-wrapping-right-then-down:render-grapheme
-<span id="L592" class="LineNr"> 592 </span>      <span class="Delimiter">}</span>
-<span id="L593" class="LineNr"> 593 </span>      xcurr, ycurr <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L594" class="LineNr"> 594 </span>    <span class="Delimiter">}</span>
-<span id="L595" class="LineNr"> 595 </span>    <span class="PreProc">loop</span>
-<span id="L596" class="LineNr"> 596 </span>  <span class="Delimiter">}</span>
-<span id="L597" class="LineNr"> 597 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
-<span id="L598" class="LineNr"> 598 </span>  <span class="PreProc">return</span> xcurr, ycurr
-<span id="L599" class="LineNr"> 599 </span><span class="Delimiter">}</span>
-<span id="L600" class="LineNr"> 600 </span>
-<span id="L601" class="LineNr"> 601 </span><span class="muComment"># just return a different register</span>
-<span id="L602" class="LineNr"> 602 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L602'>read-json-code-point</a></span> stream: (addr stream byte)<span class="PreProc"> -&gt; </span>_/<span class="muRegEbx">ebx</span>: code-point <span class="Delimiter">{</span>
-<span id="L603" class="LineNr"> 603 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> stream
-<span id="L604" class="LineNr"> 604 </span>  <span class="PreProc">var</span> result/eax: code-point <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L56'>to-code-point</a> g
-<span id="L605" class="LineNr"> 605 </span>  <span class="PreProc">return</span> result
-<span id="L606" class="LineNr"> 606 </span><span class="Delimiter">}</span>
-<span id="L607" class="LineNr"> 607 </span>
-<span id="L608" class="LineNr"> 608 </span><span class="muComment"># '\' encountered</span>
-<span id="L609" class="LineNr"> 609 </span><span class="muComment"># <a href="https://www.json.org/json-en.html">https://www.json.org/json-en.html</a></span>
-<span id="L610" class="LineNr"> 610 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L610'>render-json-escaped-code-point</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, xcurr: int, ycurr: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L611" class="LineNr"> 611 </span>  <span class="PreProc">var</span> g/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> <a href='environment.mu.html#L602'>read-json-code-point</a> stream
-<span id="L612" class="LineNr"> 612 </span>  compare g, <span class="Constant">0xffffffff</span>/end-of-file
-<span id="L613" class="LineNr"> 613 </span>  <span class="Delimiter">{</span>
-<span id="L614" class="LineNr"> 614 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L615" class="LineNr"> 615 </span>    <span class="PreProc">return</span> xcurr, ycurr
-<span id="L616" class="LineNr"> 616 </span>  <span class="Delimiter">}</span>
-<span id="L617" class="LineNr"> 617 </span>  <span class="muComment"># \n = newline</span>
-<span id="L618" class="LineNr"> 618 </span>  compare g, <span class="Constant">0x6e</span>/n
-<span id="L619" class="LineNr"> 619 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy xcurr
-<span id="L620" class="LineNr"> 620 </span>  <span class="Delimiter">{</span>
-<span id="L621" class="LineNr"> 621 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L622" class="LineNr"> 622 </span>    increment ycurr
-<span id="L623" class="LineNr"> 623 </span>    <span class="PreProc">return</span> xmin, ycurr
-<span id="L624" class="LineNr"> 624 </span>  <span class="Delimiter">}</span>
-<span id="L625" class="LineNr"> 625 </span>  <span class="muComment"># ignore \t \r \f \b</span>
-<span id="L626" class="LineNr"> 626 </span>  <span class="Delimiter">{</span>
-<span id="L627" class="LineNr"> 627 </span>    compare g, <span class="Constant">0x74</span>/t
-<span id="L628" class="LineNr"> 628 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L629" class="LineNr"> 629 </span>    <span class="PreProc">return</span> xcurr, ycurr
-<span id="L630" class="LineNr"> 630 </span>  <span class="Delimiter">}</span>
-<span id="L631" class="LineNr"> 631 </span>  <span class="Delimiter">{</span>
-<span id="L632" class="LineNr"> 632 </span>    compare g, <span class="Constant">0x72</span>/r
-<span id="L633" class="LineNr"> 633 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L634" class="LineNr"> 634 </span>    <span class="PreProc">return</span> xcurr, ycurr
-<span id="L635" class="LineNr"> 635 </span>  <span class="Delimiter">}</span>
-<span id="L636" class="LineNr"> 636 </span>  <span class="Delimiter">{</span>
-<span id="L637" class="LineNr"> 637 </span>    compare g, <span class="Constant">0x66</span>/f
-<span id="L638" class="LineNr"> 638 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L639" class="LineNr"> 639 </span>    <span class="PreProc">return</span> xcurr, ycurr
-<span id="L640" class="LineNr"> 640 </span>  <span class="Delimiter">}</span>
-<span id="L641" class="LineNr"> 641 </span>  <span class="Delimiter">{</span>
-<span id="L642" class="LineNr"> 642 </span>    compare g, <span class="Constant">0x62</span>/b
-<span id="L643" class="LineNr"> 643 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L644" class="LineNr"> 644 </span>    <span class="PreProc">return</span> xcurr, ycurr
-<span id="L645" class="LineNr"> 645 </span>  <span class="Delimiter">}</span>
-<span id="L646" class="LineNr"> 646 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L647" class="LineNr"> 647 </span>  <span class="muComment"># \u = Unicode</span>
-<span id="L648" class="LineNr"> 648 </span>  <span class="Delimiter">{</span>
-<span id="L649" class="LineNr"> 649 </span>    compare g, <span class="Constant">0x75</span>/u
-<span id="L650" class="LineNr"> 650 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L651" class="LineNr"> 651 </span>    x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L660'>render-json-escaped-unicode-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L652" class="LineNr"> 652 </span>    <span class="PreProc">return</span> x, y
-<span id="L653" class="LineNr"> 653 </span>  <span class="Delimiter">}</span>
-<span id="L654" class="LineNr"> 654 </span>  <span class="muComment"># most characters escape to themselves</span>
-<span id="L655" class="LineNr"> 655 </span>  x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, g, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L656" class="LineNr"> 656 </span>  <span class="PreProc">return</span> x, y
-<span id="L657" class="LineNr"> 657 </span><span class="Delimiter">}</span>
-<span id="L658" class="LineNr"> 658 </span>
-<span id="L659" class="LineNr"> 659 </span><span class="muComment"># '\u' encountered</span>
-<span id="L660" class="LineNr"> 660 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L660'>render-json-escaped-unicode-code-point</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, xcurr: int, ycurr: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L661" class="LineNr"> 661 </span>  <span class="PreProc">var</span> hex-digits-storage: (array byte <span class="Constant">4</span>)
-<span id="L662" class="LineNr"> 662 </span>  <span class="PreProc">var</span> hex-digits/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> address hex-digits-storage
-<span id="L663" class="LineNr"> 663 </span>  <span class="muComment"># slurp 4 bytes exactly</span>
-<span id="L664" class="LineNr"> 664 </span>  <span class="PreProc">var</span> src/eax: byte <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
-<span id="L665" class="LineNr"> 665 </span>  <span class="PreProc">var</span> dest/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">0</span>
-<span id="L666" class="LineNr"> 666 </span>  copy-byte-to *dest, src
-<span id="L667" class="LineNr"> 667 </span>  src <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
-<span id="L668" class="LineNr"> 668 </span>  dest <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">1</span>
-<span id="L669" class="LineNr"> 669 </span>  copy-byte-to *dest, src
-<span id="L670" class="LineNr"> 670 </span>  src <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
-<span id="L671" class="LineNr"> 671 </span>  dest <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">2</span>
-<span id="L672" class="LineNr"> 672 </span>  copy-byte-to *dest, src
-<span id="L673" class="LineNr"> 673 </span>  src <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
-<span id="L674" class="LineNr"> 674 </span>  dest <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">3</span>
-<span id="L675" class="LineNr"> 675 </span>  copy-byte-to *dest, src
-<span id="L676" class="LineNr"> 676 </span>  <span class="muComment"># \u2013 = -</span>
-<span id="L677" class="LineNr"> 677 </span>  <span class="Delimiter">{</span>
-<span id="L678" class="LineNr"> 678 </span>    <span class="PreProc">var</span> endash?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2013&quot;</span>
-<span id="L679" class="LineNr"> 679 </span>    compare endash?, <span class="Constant">0</span>/false
-<span id="L680" class="LineNr"> 680 </span>    <span class="PreProc">break-if-=</span>
-<span id="L681" class="LineNr"> 681 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L682" class="LineNr"> 682 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L683" class="LineNr"> 683 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L684" class="LineNr"> 684 </span>    <span class="PreProc">return</span> x, y
-<span id="L685" class="LineNr"> 685 </span>  <span class="Delimiter">}</span>
-<span id="L686" class="LineNr"> 686 </span>  <span class="muComment"># \u2014 = -</span>
-<span id="L687" class="LineNr"> 687 </span>  <span class="Delimiter">{</span>
-<span id="L688" class="LineNr"> 688 </span>    <span class="PreProc">var</span> emdash?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2014&quot;</span>
-<span id="L689" class="LineNr"> 689 </span>    compare emdash?, <span class="Constant">0</span>/false
-<span id="L690" class="LineNr"> 690 </span>    <span class="PreProc">break-if-=</span>
-<span id="L691" class="LineNr"> 691 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L692" class="LineNr"> 692 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L693" class="LineNr"> 693 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L694" class="LineNr"> 694 </span>    <span class="PreProc">return</span> x, y
-<span id="L695" class="LineNr"> 695 </span>  <span class="Delimiter">}</span>
-<span id="L696" class="LineNr"> 696 </span>  <span class="muComment"># \u2018 = '</span>
-<span id="L697" class="LineNr"> 697 </span>  <span class="Delimiter">{</span>
-<span id="L698" class="LineNr"> 698 </span>    <span class="PreProc">var</span> left-quote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2018&quot;</span>
-<span id="L699" class="LineNr"> 699 </span>    compare left-quote?, <span class="Constant">0</span>/false
-<span id="L700" class="LineNr"> 700 </span>    <span class="PreProc">break-if-=</span>
-<span id="L701" class="LineNr"> 701 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L702" class="LineNr"> 702 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L703" class="LineNr"> 703 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x27</span>/quote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L704" class="LineNr"> 704 </span>    <span class="PreProc">return</span> x, y
-<span id="L705" class="LineNr"> 705 </span>  <span class="Delimiter">}</span>
-<span id="L706" class="LineNr"> 706 </span>  <span class="muComment"># \u2019 = '</span>
-<span id="L707" class="LineNr"> 707 </span>  <span class="Delimiter">{</span>
-<span id="L708" class="LineNr"> 708 </span>    <span class="PreProc">var</span> right-quote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2019&quot;</span>
-<span id="L709" class="LineNr"> 709 </span>    compare right-quote?, <span class="Constant">0</span>/false
-<span id="L710" class="LineNr"> 710 </span>    <span class="PreProc">break-if-=</span>
-<span id="L711" class="LineNr"> 711 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L712" class="LineNr"> 712 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L713" class="LineNr"> 713 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x27</span>/quote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L714" class="LineNr"> 714 </span>    <span class="PreProc">return</span> x, y
-<span id="L715" class="LineNr"> 715 </span>  <span class="Delimiter">}</span>
-<span id="L716" class="LineNr"> 716 </span>  <span class="muComment"># \u201c = &quot;</span>
-<span id="L717" class="LineNr"> 717 </span>  <span class="Delimiter">{</span>
-<span id="L718" class="LineNr"> 718 </span>    <span class="PreProc">var</span> left-dquote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;201c&quot;</span>
-<span id="L719" class="LineNr"> 719 </span>    compare left-dquote?, <span class="Constant">0</span>/false
-<span id="L720" class="LineNr"> 720 </span>    <span class="PreProc">break-if-=</span>
-<span id="L721" class="LineNr"> 721 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L722" class="LineNr"> 722 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L723" class="LineNr"> 723 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x22</span>/dquote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L724" class="LineNr"> 724 </span>    <span class="PreProc">return</span> x, y
-<span id="L725" class="LineNr"> 725 </span>  <span class="Delimiter">}</span>
-<span id="L726" class="LineNr"> 726 </span>  <span class="muComment"># \u201d = &quot;</span>
-<span id="L727" class="LineNr"> 727 </span>  <span class="Delimiter">{</span>
-<span id="L728" class="LineNr"> 728 </span>    <span class="PreProc">var</span> right-dquote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;201d&quot;</span>
-<span id="L729" class="LineNr"> 729 </span>    compare right-dquote?, <span class="Constant">0</span>/false
-<span id="L730" class="LineNr"> 730 </span>    <span class="PreProc">break-if-=</span>
-<span id="L731" class="LineNr"> 731 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L732" class="LineNr"> 732 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L733" class="LineNr"> 733 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x22</span>/dquote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L734" class="LineNr"> 734 </span>    <span class="PreProc">return</span> x, y
-<span id="L735" class="LineNr"> 735 </span>  <span class="Delimiter">}</span>
-<span id="L736" class="LineNr"> 736 </span>  <span class="muComment"># \u2022 = *</span>
-<span id="L737" class="LineNr"> 737 </span>  <span class="Delimiter">{</span>
-<span id="L738" class="LineNr"> 738 </span>    <span class="PreProc">var</span> bullet?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2022&quot;</span>
-<span id="L739" class="LineNr"> 739 </span>    compare bullet?, <span class="Constant">0</span>/false
-<span id="L740" class="LineNr"> 740 </span>    <span class="PreProc">break-if-=</span>
-<span id="L741" class="LineNr"> 741 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L742" class="LineNr"> 742 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L743" class="LineNr"> 743 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2a</span>/asterisk, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L744" class="LineNr"> 744 </span>    <span class="PreProc">return</span> x, y
-<span id="L745" class="LineNr"> 745 </span>  <span class="Delimiter">}</span>
-<span id="L746" class="LineNr"> 746 </span>  <span class="muComment"># \u2026 = ...</span>
-<span id="L747" class="LineNr"> 747 </span>  <span class="Delimiter">{</span>
-<span id="L748" class="LineNr"> 748 </span>    <span class="PreProc">var</span> ellipses?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2026&quot;</span>
-<span id="L749" class="LineNr"> 749 </span>    compare ellipses?, <span class="Constant">0</span>/false
-<span id="L750" class="LineNr"> 750 </span>    <span class="PreProc">break-if-=</span>
-<span id="L751" class="LineNr"> 751 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L752" class="LineNr"> 752 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L753" class="LineNr"> 753 </span>    x, y <span class="Special">&lt;-</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">&quot;...&quot;</span>, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L754" class="LineNr"> 754 </span>    <span class="PreProc">return</span> x, y
-<span id="L755" class="LineNr"> 755 </span>  <span class="Delimiter">}</span>
-<span id="L756" class="LineNr"> 756 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='../118parse-hex-int.subx.html#L354'>parse-hex-int</a> hex-digits
-<span id="L757" class="LineNr"> 757 </span>  <span class="PreProc">var</span> c/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy n
-<span id="L758" class="LineNr"> 758 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L759" class="LineNr"> 759 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L760" class="LineNr"> 760 </span>  x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L155'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
-<span id="L761" class="LineNr"> 761 </span>  <span class="PreProc">return</span> x, y
-<span id="L762" class="LineNr"> 762 </span><span class="Delimiter">}</span>
-<span id="L763" class="LineNr"> 763 </span>
-<span id="L764" class="LineNr"> 764 </span><span class="muComment">### Edit</span>
-<span id="L765" class="LineNr"> 765 </span>
-<span id="L766" class="LineNr"> 766 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L766'>update-environment</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L767" class="LineNr"> 767 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L768" class="LineNr"> 768 </span>  <span class="muComment"># first dispatch to search mode if necessary</span>
-<span id="L769" class="LineNr"> 769 </span>  <span class="Delimiter">{</span>
-<span id="L770" class="LineNr"> 770 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L771" class="LineNr"> 771 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L772" class="LineNr"> 772 </span>    <span class="PreProc">break-if-=</span>
-<span id="L773" class="LineNr"> 773 </span>    <a href='environment.mu.html#L878'>update-search</a> env, key, users, channels, items
-<span id="L774" class="LineNr"> 774 </span>    <span class="PreProc">return</span>
-<span id="L775" class="LineNr"> 775 </span>  <span class="Delimiter">}</span>
-<span id="L776" class="LineNr"> 776 </span>  <span class="Delimiter">{</span>
-<span id="L777" class="LineNr"> 777 </span>    compare key, <span class="Constant">0x2f</span>/slash
-<span id="L778" class="LineNr"> 778 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L779" class="LineNr"> 779 </span>    <span class="muComment"># enter search mode</span>
-<span id="L780" class="LineNr"> 780 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L781" class="LineNr"> 781 </span>    copy-to *cursor-in-search?, <span class="Constant">1</span>/true
-<span id="L782" class="LineNr"> 782 </span>    <span class="muComment"># do one more repaint</span>
-<span id="L783" class="LineNr"> 783 </span>    <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
-<span id="L784" class="LineNr"> 784 </span>    copy-to *dirty?, <span class="Constant">1</span>/true
-<span id="L785" class="LineNr"> 785 </span>    <span class="PreProc">return</span>
-<span id="L786" class="LineNr"> 786 </span>  <span class="Delimiter">}</span>
-<span id="L787" class="LineNr"> 787 </span>  <span class="Delimiter">{</span>
-<span id="L788" class="LineNr"> 788 </span>    compare key, <span class="Constant">0x1b</span>/esc
-<span id="L789" class="LineNr"> 789 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L790" class="LineNr"> 790 </span>    <span class="muComment"># back in history</span>
-<span id="L791" class="LineNr"> 791 </span>    <a href='environment.mu.html#L1189'>previous-tab</a> env
-<span id="L792" class="LineNr"> 792 </span>    <span class="PreProc">return</span>
-<span id="L793" class="LineNr"> 793 </span>  <span class="Delimiter">}</span>
-<span id="L794" class="LineNr"> 794 </span>  <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
-<span id="L795" class="LineNr"> 795 </span>  <span class="Delimiter">{</span>
-<span id="L796" class="LineNr"> 796 </span>    compare key, <span class="Constant">9</span>/tab
-<span id="L797" class="LineNr"> 797 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L798" class="LineNr"> 798 </span>    <span class="muComment"># toggle cursor between main panel and channels nav</span>
-<span id="L799" class="LineNr"> 799 </span>    not *cursor-in-channels?  <span class="muComment"># bitwise NOT; only works if you never assign 1/true to this variable</span>
-<span id="L800" class="LineNr"> 800 </span>    <span class="muComment"># do one more repaint</span>
-<span id="L801" class="LineNr"> 801 </span>    <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
-<span id="L802" class="LineNr"> 802 </span>    copy-to *dirty?, <span class="Constant">1</span>/true
-<span id="L803" class="LineNr"> 803 </span>    <span class="PreProc">return</span>
-<span id="L804" class="LineNr"> 804 </span>  <span class="Delimiter">}</span>
-<span id="L805" class="LineNr"> 805 </span>  <span class="Delimiter">{</span>
-<span id="L806" class="LineNr"> 806 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
-<span id="L807" class="LineNr"> 807 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L808" class="LineNr"> 808 </span>    <a href='environment.mu.html#L819'>update-main-panel</a> env, key, users, channels, items
-<span id="L809" class="LineNr"> 809 </span>    <span class="PreProc">return</span>
+<span id="L446" class="LineNr"> 446 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L447" class="LineNr"> 447 </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">&quot; &lt;&lt; page  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L448" class="LineNr"> 448 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L449" class="LineNr"> 449 </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">&quot; page &gt;&gt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L450" class="LineNr"> 450 </span><span class="Delimiter">}</span>
+<span id="L451" class="LineNr"> 451 </span>
+<span id="L452" class="LineNr"> 452 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L452'>render-channels-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
+<span id="L453" class="LineNr"> 453 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L454" class="LineNr"> 454 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L455" class="LineNr"> 455 </span>  width, y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L456" class="LineNr"> 456 </span>  y <span class="Special">&lt;-</span> decrement
+<span id="L457" class="LineNr"> 457 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x, y
+<span id="L458" class="LineNr"> 458 </span>  <span class="Delimiter">{</span>
+<span id="L459" class="LineNr"> 459 </span>    <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L460" class="LineNr"> 460 </span>    <span class="PreProc">var</span> num-tabs/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L461" class="LineNr"> 461 </span>    compare *num-tabs, <span class="Constant">0</span>
+<span id="L462" class="LineNr"> 462 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L463" class="LineNr"> 463 </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">&quot; Esc &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L464" class="LineNr"> 464 </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">&quot; go back  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L465" class="LineNr"> 465 </span>  <span class="Delimiter">}</span>
+<span id="L466" class="LineNr"> 466 </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">&quot; / &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L467" class="LineNr"> 467 </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">&quot; search  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L468" class="LineNr"> 468 </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">&quot; Tab &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L469" class="LineNr"> 469 </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">&quot; go to items  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L470" class="LineNr"> 470 </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">&quot; Enter &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L471" class="LineNr"> 471 </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">&quot; select  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L472" class="LineNr"> 472 </span><span class="Delimiter">}</span>
+<span id="L473" class="LineNr"> 473 </span>
+<span id="L474" class="LineNr"> 474 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L474'>render-search-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
+<span id="L475" class="LineNr"> 475 </span>  <span class="PreProc">var</span> width/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L476" class="LineNr"> 476 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L477" class="LineNr"> 477 </span>  width, y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L478" class="LineNr"> 478 </span>  y <span class="Special">&lt;-</span> decrement
+<span id="L479" class="LineNr"> 479 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/x, y
+<span id="L480" class="LineNr"> 480 </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">&quot; Esc &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L481" class="LineNr"> 481 </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">&quot; cancel  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L482" class="LineNr"> 482 </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">&quot; Enter &quot;</span>, width, <span class="Constant">0</span>/fg <span class="Constant">0xf</span>/bg
+<span id="L483" class="LineNr"> 483 </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">&quot; select  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L484" class="LineNr"> 484 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
+<span id="L485" class="LineNr"> 485 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L486" class="LineNr"> 486 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
+<span id="L487" class="LineNr"> 487 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L488" class="LineNr"> 488 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
+<span id="L489" class="LineNr"> 489 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L490" class="LineNr"> 490 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
+<span id="L491" class="LineNr"> 491 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L492" class="LineNr"> 492 </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">&quot; ^u &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xf</span>/bg
+<span id="L493" class="LineNr"> 493 </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">&quot; clear  &quot;</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L494" class="LineNr"> 494 </span><span class="Delimiter">}</span>
+<span id="L495" class="LineNr"> 495 </span>
+<span id="L496" class="LineNr"> 496 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L496'>render-item</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _item: (addr <a href='main.mu.html#L14'>item</a>), _users: (addr array <a href='main.mu.html#L7'>user</a>), show-cursor?: boolean, y: int, screen-height: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L497" class="LineNr"> 497 </span>  <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _item
+<span id="L498" class="LineNr"> 498 </span>  <span class="PreProc">var</span> users/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> copy _users
+<span id="L499" class="LineNr"> 499 </span>  <span class="PreProc">var</span> author-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, by
+<span id="L500" class="LineNr"> 500 </span>  <span class="PreProc">var</span> author-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *author-index-addr
+<span id="L501" class="LineNr"> 501 </span>  <span class="PreProc">var</span> author-offset/<span class="muRegEcx">ecx</span>: (offset <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> compute-offset users, author-index
+<span id="L502" class="LineNr"> 502 </span>  <span class="PreProc">var</span> author/<span class="muRegEcx">ecx</span>: (addr <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> index users, author-offset
+<span id="L503" class="LineNr"> 503 </span>  <span class="muComment"># author avatar</span>
+<span id="L504" class="LineNr"> 504 </span>  <span class="PreProc">var</span> author-avatar-ah/eax: (addr handle <a href='../511image.mu.html#L6'>image</a>) <span class="Special">&lt;-</span> get author, avatar
+<span id="L505" class="LineNr"> 505 </span>  <span class="PreProc">var</span> _author-avatar/eax: (addr <a href='../511image.mu.html#L6'>image</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *author-avatar-ah
+<span id="L506" class="LineNr"> 506 </span>  <span class="PreProc">var</span> author-avatar/<span class="muRegEbx">ebx</span>: (addr <a href='../511image.mu.html#L6'>image</a>) <span class="Special">&lt;-</span> copy _author-avatar
+<span id="L507" class="LineNr"> 507 </span>  <span class="Delimiter">{</span>
+<span id="L508" class="LineNr"> 508 </span>    compare author-avatar, <span class="Constant">0</span>
+<span id="L509" class="LineNr"> 509 </span>    <span class="PreProc">break-if-=</span>
+<span id="L510" class="LineNr"> 510 </span>    <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L511" class="LineNr"> 511 </span>    y <span class="Special">&lt;-</span> shift-left <span class="Constant">4</span>/log2font-height
+<span id="L512" class="LineNr"> 512 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
+<span id="L513" class="LineNr"> 513 </span>    x <span class="Special">&lt;-</span> shift-left <span class="Constant">3</span>/log2font-width
+<span id="L514" class="LineNr"> 514 </span>    x <span class="Special">&lt;-</span> add <span class="Constant">0x18</span>/item-padding-hor
+<span id="L515" class="LineNr"> 515 </span>    <a href='../511image.mu.html#L55'>render-image</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, author-avatar, x, y, <span class="Constant">0x50</span>/avatar-side, <span class="Constant">0x50</span>/avatar-side
+<span id="L516" class="LineNr"> 516 </span>  <span class="Delimiter">}</span>
+<span id="L517" class="LineNr"> 517 </span>  <span class="muComment"># channel</span>
+<span id="L518" class="LineNr"> 518 </span>  <span class="PreProc">var</span> channel-name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, <a href='main.mu.html#L1'>channel</a>
+<span id="L519" class="LineNr"> 519 </span>  <span class="PreProc">var</span> channel-name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *channel-name-ah
+<span id="L520" class="LineNr"> 520 </span>  <span class="Delimiter">{</span>
+<span id="L521" class="LineNr"> 521 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
+<span id="L522" class="LineNr"> 522 </span>    x <span class="Special">&lt;-</span> add <span class="Constant">0x40</span>/channel-offset-x
+<span id="L523" class="LineNr"> 523 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x y
+<span id="L524" class="LineNr"> 524 </span>  <span class="Delimiter">}</span>
+<span id="L525" class="LineNr"> 525 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;#&quot;</span>, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
+<span id="L526" class="LineNr"> 526 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, channel-name, <span class="Constant">7</span>/grey <span class="Constant">0</span>/black
+<span id="L527" class="LineNr"> 527 </span>  <span class="muComment"># author name</span>
+<span id="L528" class="LineNr"> 528 </span>  <span class="Delimiter">{</span>
+<span id="L529" class="LineNr"> 529 </span>    <span class="PreProc">var</span> author-real-name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get author, real-name
+<span id="L530" class="LineNr"> 530 </span>    <span class="PreProc">var</span> author-real-name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *author-real-name-ah
+<span id="L531" class="LineNr"> 531 </span>    <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
+<span id="L532" class="LineNr"> 532 </span>    x <span class="Special">&lt;-</span> add <span class="Constant">0x10</span>/avatar-space-hor
+<span id="L533" class="LineNr"> 533 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x y
+<span id="L534" class="LineNr"> 534 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, author-real-name, <span class="Constant">0xf</span>/white <span class="Constant">0</span>/black
+<span id="L535" class="LineNr"> 535 </span>  <span class="Delimiter">}</span>
+<span id="L536" class="LineNr"> 536 </span>  increment y
+<span id="L537" class="LineNr"> 537 </span>  <span class="muComment"># text</span>
+<span id="L538" class="LineNr"> 538 </span>  <span class="PreProc">var</span> text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
+<span id="L539" class="LineNr"> 539 </span>  <span class="PreProc">var</span> _text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *text-ah
+<span id="L540" class="LineNr"> 540 </span>  <span class="PreProc">var</span> text/<span class="muRegEdx">edx</span>: (addr array byte) <span class="Special">&lt;-</span> copy _text
+<span id="L541" class="LineNr"> 541 </span>  <span class="PreProc">var</span> text-y/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L552'>render-slack-message</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, show-cursor?, y, screen-height
+<span id="L542" class="LineNr"> 542 </span>  <span class="muComment"># flush</span>
+<span id="L543" class="LineNr"> 543 </span>  add-to y, <span class="Constant">6</span>/avatar-space-ver
+<span id="L544" class="LineNr"> 544 </span>  compare y, text-y
+<span id="L545" class="LineNr"> 545 </span>  <span class="Delimiter">{</span>
+<span id="L546" class="LineNr"> 546 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L547" class="LineNr"> 547 </span>    <span class="PreProc">return</span> y
+<span id="L548" class="LineNr"> 548 </span>  <span class="Delimiter">}</span>
+<span id="L549" class="LineNr"> 549 </span>  <span class="PreProc">return</span> text-y
+<span id="L550" class="LineNr"> 550 </span><span class="Delimiter">}</span>
+<span id="L551" class="LineNr"> 551 </span>
+<span id="L552" class="LineNr"> 552 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L552'>render-slack-message</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), text: (addr array byte), highlight?: boolean, ymin: int, ymax: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L553" class="LineNr"> 553 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x20</span>/main-panel-hor
+<span id="L554" class="LineNr"> 554 </span>  x <span class="Special">&lt;-</span> add <span class="Constant">0x10</span>/avatar-space-hor
+<span id="L555" class="LineNr"> 555 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymin
+<span id="L556" class="LineNr"> 556 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">1</span>/author-name-padding-ver
+<span id="L557" class="LineNr"> 557 </span>  $render-slack-message:draw: <span class="Delimiter">{</span>
+<span id="L558" class="LineNr"> 558 </span>    compare highlight?, <span class="Constant">0</span>/false
+<span id="L559" class="LineNr"> 559 </span>    <span class="Delimiter">{</span>
+<span id="L560" class="LineNr"> 560 </span>      <span class="PreProc">break-if-=</span>
+<span id="L561" class="LineNr"> 561 </span>      x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L574'>draw-json-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, x y, <span class="Constant">0x70</span>/xmax=post-right-coord ymax, x y, <span class="Constant">0</span>/fg <span class="Constant">7</span>/bg
+<span id="L562" class="LineNr"> 562 </span>      <span class="PreProc">break</span> $render-slack-message:draw
+<span id="L563" class="LineNr"> 563 </span>    <span class="Delimiter">}</span>
+<span id="L564" class="LineNr"> 564 </span>    x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L574'>draw-json-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, text, x y, <span class="Constant">0x70</span>/xmax=post-right-coord ymax, x y, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L565" class="LineNr"> 565 </span>  <span class="Delimiter">}</span>
+<span id="L566" class="LineNr"> 566 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">2</span>/item-padding-ver
+<span id="L567" class="LineNr"> 567 </span>  <span class="PreProc">return</span> y
+<span id="L568" class="LineNr"> 568 </span><span class="Delimiter">}</span>
+<span id="L569" class="LineNr"> 569 </span>
+<span id="L570" class="LineNr"> 570 </span><span class="muComment"># draw text in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
+<span id="L571" class="LineNr"> 571 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
+<span id="L572" class="LineNr"> 572 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
+<span id="L573" class="LineNr"> 573 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L574" class="LineNr"> 574 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L574'>draw-json-text-wrapping-right-then-down</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _text: (addr array byte), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L575" class="LineNr"> 575 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x4000</span>/print-buffer-size)
+<span id="L576" class="LineNr"> 576 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
+<span id="L577" class="LineNr"> 577 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _text
+<span id="L578" class="LineNr"> 578 </span>  <span class="PreProc">var</span> len/eax: int <span class="Special">&lt;-</span> length text
+<span id="L579" class="LineNr"> 579 </span>  compare len, <span class="Constant">0x4000</span>/print-buffer-size
+<span id="L580" class="LineNr"> 580 </span>  <span class="Delimiter">{</span>
+<span id="L581" class="LineNr"> 581 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L582" class="LineNr"> 582 </span>    <a href='../108write.subx.html#L11'>write</a> stream, <span class="Constant">&quot;ERROR: stream too small in draw-text-wrapping-right-then-down&quot;</span>
+<span id="L583" class="LineNr"> 583 </span>  <span class="Delimiter">}</span>
+<span id="L584" class="LineNr"> 584 </span>  compare len, <span class="Constant">0x4000</span>/print-buffer-size
+<span id="L585" class="LineNr"> 585 </span>  <span class="Delimiter">{</span>
+<span id="L586" class="LineNr"> 586 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L587" class="LineNr"> 587 </span>    <a href='../108write.subx.html#L11'>write</a> stream, text
+<span id="L588" class="LineNr"> 588 </span>  <span class="Delimiter">}</span>
+<span id="L589" class="LineNr"> 589 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy _x
+<span id="L590" class="LineNr"> 590 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
+<span id="L591" class="LineNr"> 591 </span>  x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L599'>draw-json-stream-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, x, y, color, background-color
+<span id="L592" class="LineNr"> 592 </span>  <span class="PreProc">return</span> x, y
+<span id="L593" class="LineNr"> 593 </span><span class="Delimiter">}</span>
+<span id="L594" class="LineNr"> 594 </span>
+<span id="L595" class="LineNr"> 595 </span><span class="muComment"># draw a stream in the rectangle from (xmin, ymin) to (xmax, ymax), starting from (x, y), wrapping as necessary</span>
+<span id="L596" class="LineNr"> 596 </span><span class="muComment"># return the next (x, y) coordinate in raster order where drawing stopped</span>
+<span id="L597" class="LineNr"> 597 </span><span class="muComment"># that way the caller can draw more if given the same min and max bounding-box.</span>
+<span id="L598" class="LineNr"> 598 </span><span class="muComment"># if there isn't enough space, truncate</span>
+<span id="L599" class="LineNr"> 599 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L599'>draw-json-stream-wrapping-right-then-down</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L600" class="LineNr"> 600 </span>  <span class="PreProc">var</span> xcurr/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L601" class="LineNr"> 601 </span>  <span class="PreProc">var</span> ycurr/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L602" class="LineNr"> 602 </span>  <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L603" class="LineNr"> 603 </span>  <span class="PreProc">var</span> next-c/<span class="muRegEsi">esi</span>: code-point <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L604" class="LineNr"> 604 </span>  <span class="Delimiter">{</span>
+<span id="L605" class="LineNr"> 605 </span>    <span class="muComment"># read c from either next-c or stream</span>
+<span id="L606" class="LineNr"> 606 </span>    $draw-json-stream-wrapping-right-then-down:read-base: <span class="Delimiter">{</span>
+<span id="L607" class="LineNr"> 607 </span>      compare next-c, <span class="Constant">0</span>
+<span id="L608" class="LineNr"> 608 </span>      <span class="Delimiter">{</span>
+<span id="L609" class="LineNr"> 609 </span>        <span class="PreProc">break-if-=</span>
+<span id="L610" class="LineNr"> 610 </span>        c <span class="Special">&lt;-</span> copy next-c
+<span id="L611" class="LineNr"> 611 </span>        next-c <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L612" class="LineNr"> 612 </span>        <span class="PreProc">break</span> $draw-json-stream-wrapping-right-then-down:read-base
+<span id="L613" class="LineNr"> 613 </span>      <span class="Delimiter">}</span>
+<span id="L614" class="LineNr"> 614 </span>      c <span class="Special">&lt;-</span> <a href='environment.mu.html#L674'>read-json-code-point</a> stream
+<span id="L615" class="LineNr"> 615 </span>    <span class="Delimiter">}</span>
+<span id="L616" class="LineNr"> 616 </span>    compare c, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L617" class="LineNr"> 617 </span>    <span class="PreProc">break-if-=</span>
+<span id="L618" class="LineNr"> 618 </span>    $draw-json-stream-wrapping-right-then-down:render-grapheme: <span class="Delimiter">{</span>
+<span id="L619" class="LineNr"> 619 </span>      compare c, <span class="Constant">0x5c</span>/backslash
+<span id="L620" class="LineNr"> 620 </span>      <span class="Delimiter">{</span>
+<span id="L621" class="LineNr"> 621 </span>        <span class="PreProc">break-if-!=</span>
+<span id="L622" class="LineNr"> 622 </span>        xcurr, ycurr <span class="Special">&lt;-</span> <a href='environment.mu.html#L682'>render-json-escaped-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L623" class="LineNr"> 623 </span>        <span class="PreProc">break</span> $draw-json-stream-wrapping-right-then-down:render-grapheme
+<span id="L624" class="LineNr"> 624 </span>      <span class="Delimiter">}</span>
+<span id="L625" class="LineNr"> 625 </span>      compare c, <span class="Constant">0xa</span>/newline
+<span id="L626" class="LineNr"> 626 </span>      <span class="Delimiter">{</span>
+<span id="L627" class="LineNr"> 627 </span>        <span class="PreProc">break-if-!=</span>
+<span id="L628" class="LineNr"> 628 </span>        <span class="muComment"># minimum effort to clear cursor</span>
+<span id="L629" class="LineNr"> 629 </span>        <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L92'>draw-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, xcurr, ycurr, color, background-color
+<span id="L630" class="LineNr"> 630 </span>        xcurr <span class="Special">&lt;-</span> copy xmin
+<span id="L631" class="LineNr"> 631 </span>        ycurr <span class="Special">&lt;-</span> increment
+<span id="L632" class="LineNr"> 632 </span>        <span class="PreProc">break</span> $draw-json-stream-wrapping-right-then-down:render-grapheme
+<span id="L633" class="LineNr"> 633 </span>      <span class="Delimiter">}</span>
+<span id="L634" class="LineNr"> 634 </span>      <span class="PreProc">var</span> offset/eax: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L92'>draw-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
+<span id="L635" class="LineNr"> 635 </span>      <span class="muComment"># overlay a combining character if necessary</span>
+<span id="L636" class="LineNr"> 636 </span>      $draw-json-stream-wrapping-right-then-down:read-combiner: <span class="Delimiter">{</span>
+<span id="L637" class="LineNr"> 637 </span>        <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> stream
+<span id="L638" class="LineNr"> 638 </span>        compare done?, <span class="Constant">0</span>/false
+<span id="L639" class="LineNr"> 639 </span>        <span class="PreProc">break-if-!=</span>
+<span id="L640" class="LineNr"> 640 </span>        <span class="muComment"># read a character</span>
+<span id="L641" class="LineNr"> 641 </span>        <span class="muComment"># no combining character allowed here</span>
+<span id="L642" class="LineNr"> 642 </span>        <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L643" class="LineNr"> 643 </span>        <span class="PreProc">var</span> c/eax: code-point <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L644" class="LineNr"> 644 </span>        <span class="muComment"># if not a combining character, save for next iteration and loop</span>
+<span id="L645" class="LineNr"> 645 </span>        <span class="Delimiter">{</span>
+<span id="L646" class="LineNr"> 646 </span>          <span class="PreProc">var</span> <a href='../103glyph.subx.html#L157'>combining-code-point?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L157'>combining-code-point?</a> c
+<span id="L647" class="LineNr"> 647 </span>          compare <a href='../103glyph.subx.html#L157'>combining-code-point?</a>, <span class="Constant">0</span>/false
+<span id="L648" class="LineNr"> 648 </span>        <span class="Delimiter">}</span>
+<span id="L649" class="LineNr"> 649 </span>        <span class="Delimiter">{</span>
+<span id="L650" class="LineNr"> 650 </span>          <span class="PreProc">break-if-!=</span>
+<span id="L651" class="LineNr"> 651 </span>          next-c <span class="Special">&lt;-</span> copy c
+<span id="L652" class="LineNr"> 652 </span>          <span class="PreProc">break</span> $draw-json-stream-wrapping-right-then-down:read-combiner
+<span id="L653" class="LineNr"> 653 </span>        <span class="Delimiter">}</span>
+<span id="L654" class="LineNr"> 654 </span>        <span class="muComment"># otherwise overlay it without saving its width</span>
+<span id="L655" class="LineNr"> 655 </span>        <span class="muComment"># This means strange results if a base and its combiner have different</span>
+<span id="L656" class="LineNr"> 656 </span>        <span class="muComment"># widths. We'll always follow the base width.</span>
+<span id="L657" class="LineNr"> 657 </span>        <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L112'>overlay-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, xcurr, ycurr, color, background-color
+<span id="L658" class="LineNr"> 658 </span>      <span class="Delimiter">}</span>
+<span id="L659" class="LineNr"> 659 </span>      xcurr <span class="Special">&lt;-</span> add offset
+<span id="L660" class="LineNr"> 660 </span>      compare xcurr, xmax
+<span id="L661" class="LineNr"> 661 </span>      <span class="Delimiter">{</span>
+<span id="L662" class="LineNr"> 662 </span>        <span class="PreProc">break-if-&lt;</span>
+<span id="L663" class="LineNr"> 663 </span>        xcurr <span class="Special">&lt;-</span> copy xmin
+<span id="L664" class="LineNr"> 664 </span>        ycurr <span class="Special">&lt;-</span> increment
+<span id="L665" class="LineNr"> 665 </span>      <span class="Delimiter">}</span>
+<span id="L666" class="LineNr"> 666 </span>    <span class="Delimiter">}</span>
+<span id="L667" class="LineNr"> 667 </span>    <span class="PreProc">loop</span>
+<span id="L668" class="LineNr"> 668 </span>  <span class="Delimiter">}</span>
+<span id="L669" class="LineNr"> 669 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xcurr, ycurr
+<span id="L670" class="LineNr"> 670 </span>  <span class="PreProc">return</span> xcurr, ycurr
+<span id="L671" class="LineNr"> 671 </span><span class="Delimiter">}</span>
+<span id="L672" class="LineNr"> 672 </span>
+<span id="L673" class="LineNr"> 673 </span><span class="muComment"># just return a different register</span>
+<span id="L674" class="LineNr"> 674 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L674'>read-json-code-point</a></span> stream: (addr stream byte)<span class="PreProc"> -&gt; </span>_/<span class="muRegEbx">ebx</span>: code-point <span class="Delimiter">{</span>
+<span id="L675" class="LineNr"> 675 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> stream
+<span id="L676" class="LineNr"> 676 </span>  <span class="PreProc">var</span> result/eax: code-point <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L56'>to-code-point</a> g
+<span id="L677" class="LineNr"> 677 </span>  <span class="PreProc">return</span> result
+<span id="L678" class="LineNr"> 678 </span><span class="Delimiter">}</span>
+<span id="L679" class="LineNr"> 679 </span>
+<span id="L680" class="LineNr"> 680 </span><span class="muComment"># '\' encountered</span>
+<span id="L681" class="LineNr"> 681 </span><span class="muComment"># <a href="https://www.json.org/json-en.html">https://www.json.org/json-en.html</a></span>
+<span id="L682" class="LineNr"> 682 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L682'>render-json-escaped-code-point</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, xcurr: int, ycurr: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int, _/<span class="muRegEdx">edx</span>: int <span class="Delimiter">{</span>
+<span id="L683" class="LineNr"> 683 </span>  <span class="PreProc">var</span> g/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> <a href='environment.mu.html#L674'>read-json-code-point</a> stream
+<span id="L684" class="LineNr"> 684 </span>  compare g, <span class="Constant">0xffffffff</span>/end-of-file
+<span id="L685" class="LineNr"> 685 </span>  <span class="Delimiter">{</span>
+<span id="L686" class="LineNr"> 686 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L687" class="LineNr"> 687 </span>    <span class="PreProc">return</span> xcurr, ycurr
+<span id="L688" class="LineNr"> 688 </span>  <span class="Delimiter">}</span>
+<span id="L689" class="LineNr"> 689 </span>  <span class="muComment"># \n = newline</span>
+<span id="L690" class="LineNr"> 690 </span>  compare g, <span class="Constant">0x6e</span>/n
+<span id="L691" class="LineNr"> 691 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy xcurr
+<span id="L692" class="LineNr"> 692 </span>  <span class="Delimiter">{</span>
+<span id="L693" class="LineNr"> 693 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L694" class="LineNr"> 694 </span>    increment ycurr
+<span id="L695" class="LineNr"> 695 </span>    <span class="PreProc">return</span> xmin, ycurr
+<span id="L696" class="LineNr"> 696 </span>  <span class="Delimiter">}</span>
+<span id="L697" class="LineNr"> 697 </span>  <span class="muComment"># ignore \t \r \f \b</span>
+<span id="L698" class="LineNr"> 698 </span>  <span class="Delimiter">{</span>
+<span id="L699" class="LineNr"> 699 </span>    compare g, <span class="Constant">0x74</span>/t
+<span id="L700" class="LineNr"> 700 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L701" class="LineNr"> 701 </span>    <span class="PreProc">return</span> xcurr, ycurr
+<span id="L702" class="LineNr"> 702 </span>  <span class="Delimiter">}</span>
+<span id="L703" class="LineNr"> 703 </span>  <span class="Delimiter">{</span>
+<span id="L704" class="LineNr"> 704 </span>    compare g, <span class="Constant">0x72</span>/r
+<span id="L705" class="LineNr"> 705 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L706" class="LineNr"> 706 </span>    <span class="PreProc">return</span> xcurr, ycurr
+<span id="L707" class="LineNr"> 707 </span>  <span class="Delimiter">}</span>
+<span id="L708" class="LineNr"> 708 </span>  <span class="Delimiter">{</span>
+<span id="L709" class="LineNr"> 709 </span>    compare g, <span class="Constant">0x66</span>/f
+<span id="L710" class="LineNr"> 710 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L711" class="LineNr"> 711 </span>    <span class="PreProc">return</span> xcurr, ycurr
+<span id="L712" class="LineNr"> 712 </span>  <span class="Delimiter">}</span>
+<span id="L713" class="LineNr"> 713 </span>  <span class="Delimiter">{</span>
+<span id="L714" class="LineNr"> 714 </span>    compare g, <span class="Constant">0x62</span>/b
+<span id="L715" class="LineNr"> 715 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L716" class="LineNr"> 716 </span>    <span class="PreProc">return</span> xcurr, ycurr
+<span id="L717" class="LineNr"> 717 </span>  <span class="Delimiter">}</span>
+<span id="L718" class="LineNr"> 718 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L719" class="LineNr"> 719 </span>  <span class="muComment"># \u = Unicode</span>
+<span id="L720" class="LineNr"> 720 </span>  <span class="Delimiter">{</span>
+<span id="L721" class="LineNr"> 721 </span>    compare g, <span class="Constant">0x75</span>/u
+<span id="L722" class="LineNr"> 722 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L723" class="LineNr"> 723 </span>    x, y <span class="Special">&lt;-</span> <a href='environment.mu.html#L735'>render-json-escaped-unicode-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L724" class="LineNr"> 724 </span>    <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L725" class="LineNr"> 725 </span>    <span class="PreProc">return</span> x, y
+<span id="L726" class="LineNr"> 726 </span>  <span class="Delimiter">}</span>
+<span id="L727" class="LineNr"> 727 </span>  <span class="muComment"># most characters escape to themselves</span>
+<span id="L728" class="LineNr"> 728 </span>  <span class="muComment"># combining characters not supported after backslash</span>
+<span id="L729" class="LineNr"> 729 </span>  x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, g, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L730" class="LineNr"> 730 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
+<span id="L731" class="LineNr"> 731 </span>  <span class="PreProc">return</span> x, y
+<span id="L732" class="LineNr"> 732 </span><span class="Delimiter">}</span>
+<span id="L733" class="LineNr"> 733 </span>
+<span id="L734" class="LineNr"> 734 </span><span class="muComment"># '\u' encountered</span>
+<span id="L735" class="LineNr"> 735 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L735'>render-json-escaped-unicode-code-point</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), stream: (addr stream byte), xmin: int, ymin: int, xmax: int, ymax: int, xcurr: int, ycurr: int, color: int, background-color: int<span class="PreProc"> -&gt; </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L736" class="LineNr"> 736 </span>  <span class="PreProc">var</span> hex-digits-storage: (array byte <span class="Constant">4</span>)
+<span id="L737" class="LineNr"> 737 </span>  <span class="PreProc">var</span> hex-digits/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> address hex-digits-storage
+<span id="L738" class="LineNr"> 738 </span>  <span class="muComment"># slurp 4 bytes exactly</span>
+<span id="L739" class="LineNr"> 739 </span>  <span class="PreProc">var</span> src/eax: byte <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
+<span id="L740" class="LineNr"> 740 </span>  <span class="PreProc">var</span> dest/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">0</span>
+<span id="L741" class="LineNr"> 741 </span>  copy-byte-to *dest, src
+<span id="L742" class="LineNr"> 742 </span>  src <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
+<span id="L743" class="LineNr"> 743 </span>  dest <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">1</span>
+<span id="L744" class="LineNr"> 744 </span>  copy-byte-to *dest, src
+<span id="L745" class="LineNr"> 745 </span>  src <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
+<span id="L746" class="LineNr"> 746 </span>  dest <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">2</span>
+<span id="L747" class="LineNr"> 747 </span>  copy-byte-to *dest, src
+<span id="L748" class="LineNr"> 748 </span>  src <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L13'>read-byte</a> stream
+<span id="L749" class="LineNr"> 749 </span>  dest <span class="Special">&lt;-</span> index hex-digits, <span class="Constant">3</span>
+<span id="L750" class="LineNr"> 750 </span>  copy-byte-to *dest, src
+<span id="L751" class="LineNr"> 751 </span>  <span class="muComment"># \u2013 = -</span>
+<span id="L752" class="LineNr"> 752 </span>  <span class="Delimiter">{</span>
+<span id="L753" class="LineNr"> 753 </span>    <span class="PreProc">var</span> endash?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2013&quot;</span>
+<span id="L754" class="LineNr"> 754 </span>    compare endash?, <span class="Constant">0</span>/false
+<span id="L755" class="LineNr"> 755 </span>    <span class="PreProc">break-if-=</span>
+<span id="L756" class="LineNr"> 756 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L757" class="LineNr"> 757 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L758" class="LineNr"> 758 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L759" class="LineNr"> 759 </span>    <span class="PreProc">return</span> x, y
+<span id="L760" class="LineNr"> 760 </span>  <span class="Delimiter">}</span>
+<span id="L761" class="LineNr"> 761 </span>  <span class="muComment"># \u2014 = -</span>
+<span id="L762" class="LineNr"> 762 </span>  <span class="Delimiter">{</span>
+<span id="L763" class="LineNr"> 763 </span>    <span class="PreProc">var</span> emdash?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2014&quot;</span>
+<span id="L764" class="LineNr"> 764 </span>    compare emdash?, <span class="Constant">0</span>/false
+<span id="L765" class="LineNr"> 765 </span>    <span class="PreProc">break-if-=</span>
+<span id="L766" class="LineNr"> 766 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L767" class="LineNr"> 767 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L768" class="LineNr"> 768 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L769" class="LineNr"> 769 </span>    <span class="PreProc">return</span> x, y
+<span id="L770" class="LineNr"> 770 </span>  <span class="Delimiter">}</span>
+<span id="L771" class="LineNr"> 771 </span>  <span class="muComment"># \u2018 = '</span>
+<span id="L772" class="LineNr"> 772 </span>  <span class="Delimiter">{</span>
+<span id="L773" class="LineNr"> 773 </span>    <span class="PreProc">var</span> left-quote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2018&quot;</span>
+<span id="L774" class="LineNr"> 774 </span>    compare left-quote?, <span class="Constant">0</span>/false
+<span id="L775" class="LineNr"> 775 </span>    <span class="PreProc">break-if-=</span>
+<span id="L776" class="LineNr"> 776 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L777" class="LineNr"> 777 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L778" class="LineNr"> 778 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x27</span>/quote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L779" class="LineNr"> 779 </span>    <span class="PreProc">return</span> x, y
+<span id="L780" class="LineNr"> 780 </span>  <span class="Delimiter">}</span>
+<span id="L781" class="LineNr"> 781 </span>  <span class="muComment"># \u2019 = '</span>
+<span id="L782" class="LineNr"> 782 </span>  <span class="Delimiter">{</span>
+<span id="L783" class="LineNr"> 783 </span>    <span class="PreProc">var</span> right-quote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2019&quot;</span>
+<span id="L784" class="LineNr"> 784 </span>    compare right-quote?, <span class="Constant">0</span>/false
+<span id="L785" class="LineNr"> 785 </span>    <span class="PreProc">break-if-=</span>
+<span id="L786" class="LineNr"> 786 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L787" class="LineNr"> 787 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L788" class="LineNr"> 788 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x27</span>/quote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L789" class="LineNr"> 789 </span>    <span class="PreProc">return</span> x, y
+<span id="L790" class="LineNr"> 790 </span>  <span class="Delimiter">}</span>
+<span id="L791" class="LineNr"> 791 </span>  <span class="muComment"># \u201c = &quot;</span>
+<span id="L792" class="LineNr"> 792 </span>  <span class="Delimiter">{</span>
+<span id="L793" class="LineNr"> 793 </span>    <span class="PreProc">var</span> left-dquote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;201c&quot;</span>
+<span id="L794" class="LineNr"> 794 </span>    compare left-dquote?, <span class="Constant">0</span>/false
+<span id="L795" class="LineNr"> 795 </span>    <span class="PreProc">break-if-=</span>
+<span id="L796" class="LineNr"> 796 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L797" class="LineNr"> 797 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L798" class="LineNr"> 798 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x22</span>/dquote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L799" class="LineNr"> 799 </span>    <span class="PreProc">return</span> x, y
+<span id="L800" class="LineNr"> 800 </span>  <span class="Delimiter">}</span>
+<span id="L801" class="LineNr"> 801 </span>  <span class="muComment"># \u201d = &quot;</span>
+<span id="L802" class="LineNr"> 802 </span>  <span class="Delimiter">{</span>
+<span id="L803" class="LineNr"> 803 </span>    <span class="PreProc">var</span> right-dquote?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;201d&quot;</span>
+<span id="L804" class="LineNr"> 804 </span>    compare right-dquote?, <span class="Constant">0</span>/false
+<span id="L805" class="LineNr"> 805 </span>    <span class="PreProc">break-if-=</span>
+<span id="L806" class="LineNr"> 806 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L807" class="LineNr"> 807 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L808" class="LineNr"> 808 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x22</span>/dquote, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L809" class="LineNr"> 809 </span>    <span class="PreProc">return</span> x, y
 <span id="L810" class="LineNr"> 810 </span>  <span class="Delimiter">}</span>
-<span id="L811" class="LineNr"> 811 </span>  <span class="Delimiter">{</span>
-<span id="L812" class="LineNr"> 812 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
-<span id="L813" class="LineNr"> 813 </span>    <span class="PreProc">break-if-=</span>
-<span id="L814" class="LineNr"> 814 </span>    <a href='environment.mu.html#L853'>update-channels-nav</a> env, key, users, channels, items
-<span id="L815" class="LineNr"> 815 </span>    <span class="PreProc">return</span>
-<span id="L816" class="LineNr"> 816 </span>  <span class="Delimiter">}</span>
-<span id="L817" class="LineNr"> 817 </span><span class="Delimiter">}</span>
-<span id="L818" class="LineNr"> 818 </span>
-<span id="L819" class="LineNr"> 819 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L819'>update-main-panel</a></span> env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L820" class="LineNr"> 820 </span>  <span class="Delimiter">{</span>
-<span id="L821" class="LineNr"> 821 </span>    compare key, <span class="Constant">0xa</span>/newline
-<span id="L822" class="LineNr"> 822 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L823" class="LineNr"> 823 </span>    <a href='environment.mu.html#L903'>new-thread-tab</a> env, users, channels, items
-<span id="L824" class="LineNr"> 824 </span>    <span class="PreProc">return</span>
-<span id="L825" class="LineNr"> 825 </span>  <span class="Delimiter">}</span>
-<span id="L826" class="LineNr"> 826 </span>  <span class="Delimiter">{</span>
-<span id="L827" class="LineNr"> 827 </span>    compare key, <span class="Constant">0x81</span>/down-arrow
-<span id="L828" class="LineNr"> 828 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L829" class="LineNr"> 829 </span>    <a href='environment.mu.html#L1213'>next-item</a> env, users, channels, items
-<span id="L830" class="LineNr"> 830 </span>    <span class="PreProc">return</span>
-<span id="L831" class="LineNr"> 831 </span>  <span class="Delimiter">}</span>
-<span id="L832" class="LineNr"> 832 </span>  <span class="Delimiter">{</span>
-<span id="L833" class="LineNr"> 833 </span>    compare key, <span class="Constant">0x82</span>/up-arrow
-<span id="L834" class="LineNr"> 834 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L835" class="LineNr"> 835 </span>    <a href='environment.mu.html#L1228'>previous-item</a> env, users, channels, items
-<span id="L836" class="LineNr"> 836 </span>    <span class="PreProc">return</span>
-<span id="L837" class="LineNr"> 837 </span>  <span class="Delimiter">}</span>
-<span id="L838" class="LineNr"> 838 </span>  <span class="Delimiter">{</span>
-<span id="L839" class="LineNr"> 839 </span>    compare key, <span class="Constant">6</span>/ctrl-f
-<span id="L840" class="LineNr"> 840 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L841" class="LineNr"> 841 </span>    <a href='environment.mu.html#L1302'>page-down</a> env, users, channels, items
-<span id="L842" class="LineNr"> 842 </span>    <span class="PreProc">return</span>
-<span id="L843" class="LineNr"> 843 </span>  <span class="Delimiter">}</span>
+<span id="L811" class="LineNr"> 811 </span>  <span class="muComment"># \u2022 = *</span>
+<span id="L812" class="LineNr"> 812 </span>  <span class="Delimiter">{</span>
+<span id="L813" class="LineNr"> 813 </span>    <span class="PreProc">var</span> bullet?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2022&quot;</span>
+<span id="L814" class="LineNr"> 814 </span>    compare bullet?, <span class="Constant">0</span>/false
+<span id="L815" class="LineNr"> 815 </span>    <span class="PreProc">break-if-=</span>
+<span id="L816" class="LineNr"> 816 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L817" class="LineNr"> 817 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L818" class="LineNr"> 818 </span>    x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2a</span>/asterisk, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L819" class="LineNr"> 819 </span>    <span class="PreProc">return</span> x, y
+<span id="L820" class="LineNr"> 820 </span>  <span class="Delimiter">}</span>
+<span id="L821" class="LineNr"> 821 </span>  <span class="muComment"># \u2026 = ...</span>
+<span id="L822" class="LineNr"> 822 </span>  <span class="Delimiter">{</span>
+<span id="L823" class="LineNr"> 823 </span>    <span class="PreProc">var</span> ellipses?/eax: boolean <span class="Special">&lt;-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> hex-digits, <span class="Constant">&quot;2026&quot;</span>
+<span id="L824" class="LineNr"> 824 </span>    compare ellipses?, <span class="Constant">0</span>/false
+<span id="L825" class="LineNr"> 825 </span>    <span class="PreProc">break-if-=</span>
+<span id="L826" class="LineNr"> 826 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L827" class="LineNr"> 827 </span>    <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L828" class="LineNr"> 828 </span>    x, y <span class="Special">&lt;-</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">&quot;...&quot;</span>, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L829" class="LineNr"> 829 </span>    <span class="PreProc">return</span> x, y
+<span id="L830" class="LineNr"> 830 </span>  <span class="Delimiter">}</span>
+<span id="L831" class="LineNr"> 831 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='../118parse-hex-int.subx.html#L354'>parse-hex-int</a> hex-digits
+<span id="L832" class="LineNr"> 832 </span>  <span class="PreProc">var</span> c/<span class="muRegEdx">edx</span>: code-point <span class="Special">&lt;-</span> copy n
+<span id="L833" class="LineNr"> 833 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L834" class="LineNr"> 834 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L835" class="LineNr"> 835 </span>  x, y <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color
+<span id="L836" class="LineNr"> 836 </span>  <span class="PreProc">return</span> x, y
+<span id="L837" class="LineNr"> 837 </span><span class="Delimiter">}</span>
+<span id="L838" class="LineNr"> 838 </span>
+<span id="L839" class="LineNr"> 839 </span><span class="muComment">### Edit</span>
+<span id="L840" class="LineNr"> 840 </span>
+<span id="L841" class="LineNr"> 841 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L841'>update-environment</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L842" class="LineNr"> 842 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L843" class="LineNr"> 843 </span>  <span class="muComment"># first dispatch to search mode if necessary</span>
 <span id="L844" class="LineNr"> 844 </span>  <span class="Delimiter">{</span>
-<span id="L845" class="LineNr"> 845 </span>    compare key, <span class="Constant">2</span>/ctrl-b
-<span id="L846" class="LineNr"> 846 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L847" class="LineNr"> 847 </span>    <a href='environment.mu.html#L1518'>page-up</a> env, users, channels, items
-<span id="L848" class="LineNr"> 848 </span>    <span class="PreProc">return</span>
-<span id="L849" class="LineNr"> 849 </span>  <span class="Delimiter">}</span>
-<span id="L850" class="LineNr"> 850 </span><span class="Delimiter">}</span>
-<span id="L851" class="LineNr"> 851 </span>
-<span id="L852" class="LineNr"> 852 </span><span class="muComment"># TODO: clamp cursor within bounds</span>
-<span id="L853" class="LineNr"> 853 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L853'>update-channels-nav</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L854" class="LineNr"> 854 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L855" class="LineNr"> 855 </span>  <span class="PreProc">var</span> channel-cursor-index/eax: (addr int) <span class="Special">&lt;-</span> get env, channel-cursor-index
-<span id="L856" class="LineNr"> 856 </span>  <span class="Delimiter">{</span>
-<span id="L857" class="LineNr"> 857 </span>    compare key, <span class="Constant">0x81</span>/down-arrow
-<span id="L858" class="LineNr"> 858 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L859" class="LineNr"> 859 </span>    increment *channel-cursor-index
+<span id="L845" class="LineNr"> 845 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L846" class="LineNr"> 846 </span>    compare *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L847" class="LineNr"> 847 </span>    <span class="PreProc">break-if-=</span>
+<span id="L848" class="LineNr"> 848 </span>    <a href='environment.mu.html#L994'>update-search</a> env, key, users, channels, items
+<span id="L849" class="LineNr"> 849 </span>    <span class="PreProc">return</span>
+<span id="L850" class="LineNr"> 850 </span>  <span class="Delimiter">}</span>
+<span id="L851" class="LineNr"> 851 </span>  <span class="Delimiter">{</span>
+<span id="L852" class="LineNr"> 852 </span>    compare key, <span class="Constant">0x2f</span>/slash
+<span id="L853" class="LineNr"> 853 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L854" class="LineNr"> 854 </span>    <span class="muComment"># enter search mode</span>
+<span id="L855" class="LineNr"> 855 </span>    <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
+<span id="L856" class="LineNr"> 856 </span>    copy-to *cursor-in-search?, <span class="Constant">1</span>/true
+<span id="L857" class="LineNr"> 857 </span>    <span class="muComment"># do one more repaint</span>
+<span id="L858" class="LineNr"> 858 </span>    <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
+<span id="L859" class="LineNr"> 859 </span>    copy-to *dirty?, <span class="Constant">1</span>/true
 <span id="L860" class="LineNr"> 860 </span>    <span class="PreProc">return</span>
 <span id="L861" class="LineNr"> 861 </span>  <span class="Delimiter">}</span>
 <span id="L862" class="LineNr"> 862 </span>  <span class="Delimiter">{</span>
-<span id="L863" class="LineNr"> 863 </span>    compare key, <span class="Constant">0x82</span>/up-arrow
+<span id="L863" class="LineNr"> 863 </span>    compare key, <span class="Constant">0x1b</span>/esc
 <span id="L864" class="LineNr"> 864 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L865" class="LineNr"> 865 </span>    decrement *channel-cursor-index
-<span id="L866" class="LineNr"> 866 </span>    <span class="PreProc">return</span>
-<span id="L867" class="LineNr"> 867 </span>  <span class="Delimiter">}</span>
-<span id="L868" class="LineNr"> 868 </span>  <span class="Delimiter">{</span>
-<span id="L869" class="LineNr"> 869 </span>    compare key, <span class="Constant">0xa</span>/newline
-<span id="L870" class="LineNr"> 870 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L871" class="LineNr"> 871 </span>    <a href='environment.mu.html#L1027'>new-channel-tab</a> env, *channel-cursor-index, channels
-<span id="L872" class="LineNr"> 872 </span>    <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
-<span id="L873" class="LineNr"> 873 </span>    copy-to *cursor-in-channels?, <span class="Constant">0</span>/false
-<span id="L874" class="LineNr"> 874 </span>    <span class="PreProc">return</span>
-<span id="L875" class="LineNr"> 875 </span>  <span class="Delimiter">}</span>
-<span id="L876" class="LineNr"> 876 </span><span class="Delimiter">}</span>
-<span id="L877" class="LineNr"> 877 </span>
-<span id="L878" class="LineNr"> 878 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L878'>update-search</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L879" class="LineNr"> 879 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L880" class="LineNr"> 880 </span>  <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
-<span id="L881" class="LineNr"> 881 </span>  <span class="Delimiter">{</span>
-<span id="L882" class="LineNr"> 882 </span>    compare key <span class="Constant">0x1b</span>/esc
-<span id="L883" class="LineNr"> 883 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L884" class="LineNr"> 884 </span>    <span class="muComment"># get out of search mode</span>
-<span id="L885" class="LineNr"> 885 </span>    copy-to *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L886" class="LineNr"> 886 </span>    <span class="PreProc">return</span>
-<span id="L887" class="LineNr"> 887 </span>  <span class="Delimiter">}</span>
-<span id="L888" class="LineNr"> 888 </span>  <span class="Delimiter">{</span>
-<span id="L889" class="LineNr"> 889 </span>    compare key, <span class="Constant">0xa</span>/newline
-<span id="L890" class="LineNr"> 890 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L891" class="LineNr"> 891 </span>    <span class="muComment"># perform a search, then get out of search mode</span>
-<span id="L892" class="LineNr"> 892 </span>    <a href='environment.mu.html#L1059'>new-search-tab</a> env, items
-<span id="L893" class="LineNr"> 893 </span>    copy-to *cursor-in-search?, <span class="Constant">0</span>/false
-<span id="L894" class="LineNr"> 894 </span>    <span class="PreProc">return</span>
-<span id="L895" class="LineNr"> 895 </span>  <span class="Delimiter">}</span>
-<span id="L896" class="LineNr"> 896 </span>  <span class="muComment"># otherwise delegate</span>
-<span id="L897" class="LineNr"> 897 </span>  <span class="PreProc">var</span> search-terms-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
-<span id="L898" class="LineNr"> 898 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
-<span id="L899" class="LineNr"> 899 </span>  <span class="PreProc">var</span> g/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy key
-<span id="L900" class="LineNr"> 900 </span>  <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> search-terms, g
-<span id="L901" class="LineNr"> 901 </span><span class="Delimiter">}</span>
-<span id="L902" class="LineNr"> 902 </span>
-<span id="L903" class="LineNr"> 903 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L903'>new-thread-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L904" class="LineNr"> 904 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L905" class="LineNr"> 905 </span>  <span class="PreProc">var</span> current-tab-index-a/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L906" class="LineNr"> 906 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L907" class="LineNr"> 907 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L908" class="LineNr"> 908 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-a
-<span id="L909" class="LineNr"> 909 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L910" class="LineNr"> 910 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L911" class="LineNr"> 911 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L973'>item-index</a>/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L973'>item-index</a> current-tab, channels
-<span id="L912" class="LineNr"> 912 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L1011'>post-index</a>/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1011'>post-index</a> _items, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L913" class="LineNr"> 913 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L914" class="LineNr"> 914 </span>  increment *current-tab-index-addr
-<span id="L915" class="LineNr"> 915 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
-<span id="L916" class="LineNr"> 916 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L917" class="LineNr"> 917 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L918" class="LineNr"> 918 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> length tabs
-<span id="L919" class="LineNr"> 919 </span>  compare current-tab-index, max-tabs
-<span id="L920" class="LineNr"> 920 </span>  <span class="Delimiter">{</span>
-<span id="L921" class="LineNr"> 921 </span>    compare current-tab-index, max-tabs
-<span id="L922" class="LineNr"> 922 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L923" class="LineNr"> 923 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
+<span id="L865" class="LineNr"> 865 </span>    <span class="muComment"># back in history</span>
+<span id="L866" class="LineNr"> 866 </span>    <a href='environment.mu.html#L1430'>previous-tab</a> env
+<span id="L867" class="LineNr"> 867 </span>    <span class="PreProc">return</span>
+<span id="L868" class="LineNr"> 868 </span>  <span class="Delimiter">}</span>
+<span id="L869" class="LineNr"> 869 </span>  <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
+<span id="L870" class="LineNr"> 870 </span>  <span class="Delimiter">{</span>
+<span id="L871" class="LineNr"> 871 </span>    compare key, <span class="Constant">9</span>/tab
+<span id="L872" class="LineNr"> 872 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L873" class="LineNr"> 873 </span>    <span class="muComment"># toggle cursor between main panel and channels nav</span>
+<span id="L874" class="LineNr"> 874 </span>    not *cursor-in-channels?  <span class="muComment"># bitwise NOT; only works if you never assign 1/true to this variable</span>
+<span id="L875" class="LineNr"> 875 </span>    <span class="muComment"># do one more repaint</span>
+<span id="L876" class="LineNr"> 876 </span>    <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, dirty?
+<span id="L877" class="LineNr"> 877 </span>    copy-to *dirty?, <span class="Constant">1</span>/true
+<span id="L878" class="LineNr"> 878 </span>    <span class="PreProc">return</span>
+<span id="L879" class="LineNr"> 879 </span>  <span class="Delimiter">}</span>
+<span id="L880" class="LineNr"> 880 </span>  <span class="Delimiter">{</span>
+<span id="L881" class="LineNr"> 881 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L882" class="LineNr"> 882 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L883" class="LineNr"> 883 </span>    <a href='environment.mu.html#L894'>update-main-panel</a> env, key, users, channels, items
+<span id="L884" class="LineNr"> 884 </span>    <span class="PreProc">return</span>
+<span id="L885" class="LineNr"> 885 </span>  <span class="Delimiter">}</span>
+<span id="L886" class="LineNr"> 886 </span>  <span class="Delimiter">{</span>
+<span id="L887" class="LineNr"> 887 </span>    compare *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L888" class="LineNr"> 888 </span>    <span class="PreProc">break-if-=</span>
+<span id="L889" class="LineNr"> 889 </span>    <a href='environment.mu.html#L969'>update-channels-nav</a> env, key, users, channels, items
+<span id="L890" class="LineNr"> 890 </span>    <span class="PreProc">return</span>
+<span id="L891" class="LineNr"> 891 </span>  <span class="Delimiter">}</span>
+<span id="L892" class="LineNr"> 892 </span><span class="Delimiter">}</span>
+<span id="L893" class="LineNr"> 893 </span>
+<span id="L894" class="LineNr"> 894 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L894'>update-main-panel</a></span> env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L895" class="LineNr"> 895 </span>  <span class="Delimiter">{</span>
+<span id="L896" class="LineNr"> 896 </span>    compare key, <span class="Constant">0xa</span>/newline
+<span id="L897" class="LineNr"> 897 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L898" class="LineNr"> 898 </span>    <a href='environment.mu.html#L1043'>new-thread-tab</a> env, users, channels, items
+<span id="L899" class="LineNr"> 899 </span>    <span class="PreProc">return</span>
+<span id="L900" class="LineNr"> 900 </span>  <span class="Delimiter">}</span>
+<span id="L901" class="LineNr"> 901 </span>  <span class="Delimiter">{</span>
+<span id="L902" class="LineNr"> 902 </span>    compare key, <span class="Constant">8</span>/ctrl-h
+<span id="L903" class="LineNr"> 903 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L904" class="LineNr"> 904 </span>    <span class="PreProc">var</span> is-all-items-or-channel?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L945'>current-tab-is-all-items-or-channel?</a> env
+<span id="L905" class="LineNr"> 905 </span>    compare is-all-items-or-channel?, <span class="Constant">0</span>/false
+<span id="L906" class="LineNr"> 906 </span>    <span class="PreProc">break-if-=</span>
+<span id="L907" class="LineNr"> 907 </span>    <a href='environment.mu.html#L1114'>hide-thread</a> env, users, channels, items
+<span id="L908" class="LineNr"> 908 </span>    <span class="PreProc">return</span>
+<span id="L909" class="LineNr"> 909 </span>  <span class="Delimiter">}</span>
+<span id="L910" class="LineNr"> 910 </span>  <span class="Delimiter">{</span>
+<span id="L911" class="LineNr"> 911 </span>    compare key, <span class="Constant">0x15</span>/ctrl-u
+<span id="L912" class="LineNr"> 912 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L913" class="LineNr"> 913 </span>    <span class="PreProc">var</span> is-all-items-or-channel?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L945'>current-tab-is-all-items-or-channel?</a> env
+<span id="L914" class="LineNr"> 914 </span>    compare is-all-items-or-channel?, <span class="Constant">0</span>/false
+<span id="L915" class="LineNr"> 915 </span>    <span class="PreProc">break-if-=</span>
+<span id="L916" class="LineNr"> 916 </span>    <a href='environment.mu.html#L1019'>new-all-items-tab</a> env, users, channels, items
+<span id="L917" class="LineNr"> 917 </span>    <span class="PreProc">return</span>
+<span id="L918" class="LineNr"> 918 </span>  <span class="Delimiter">}</span>
+<span id="L919" class="LineNr"> 919 </span>  <span class="Delimiter">{</span>
+<span id="L920" class="LineNr"> 920 </span>    compare key, <span class="Constant">0x81</span>/down-arrow
+<span id="L921" class="LineNr"> 921 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L922" class="LineNr"> 922 </span>    <a href='environment.mu.html#L1454'>next-item</a> env, users, channels, items
+<span id="L923" class="LineNr"> 923 </span>    <span class="PreProc">return</span>
 <span id="L924" class="LineNr"> 924 </span>  <span class="Delimiter">}</span>
-<span id="L925" class="LineNr"> 925 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEdi">edi</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L926" class="LineNr"> 926 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L927" class="LineNr"> 927 </span>  clear-object current-tab
-<span id="L928" class="LineNr"> 928 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L929" class="LineNr"> 929 </span>  copy-to *current-tab, <span class="Constant">3</span>/thread
-<span id="L930" class="LineNr"> 930 </span>  <span class="PreProc">var</span> current-tab-root-index/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
-<span id="L931" class="LineNr"> 931 </span>  copy-to *current-tab-root-index, <a href='environment.mu.html#L1011'>post-index</a>
-<span id="L932" class="LineNr"> 932 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L933" class="LineNr"> 933 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L934" class="LineNr"> 934 </span>  <span class="PreProc">var</span> items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L935" class="LineNr"> 935 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1011'>post-index</a>
-<span id="L936" class="LineNr"> 936 </span>  <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L937" class="LineNr"> 937 </span>  <span class="PreProc">var</span> post-comments-first-free-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
-<span id="L938" class="LineNr"> 938 </span>  <span class="muComment"># terminology:</span>
-<span id="L939" class="LineNr"> 939 </span>  <span class="muComment">#   post-comment-index = index of a comment in a post's comment array</span>
-<span id="L940" class="LineNr"> 940 </span>  <span class="muComment">#   comment-index = index of a comment in the global item list</span>
-<span id="L941" class="LineNr"> 941 </span>  <span class="PreProc">var</span> final-post-comment-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *post-comments-first-free-addr
-<span id="L942" class="LineNr"> 942 </span>  final-post-comment-index <span class="Special">&lt;-</span> decrement
-<span id="L943" class="LineNr"> 943 </span>  <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
-<span id="L944" class="LineNr"> 944 </span>  <span class="PreProc">var</span> post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
-<span id="L945" class="LineNr"> 945 </span>  <span class="muComment"># look for item-index in post-comments[0..final-post-comment-index]</span>
-<span id="L946" class="LineNr"> 946 </span>  <span class="PreProc">var</span> curr-post-comment-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy final-post-comment-index
-<span id="L947" class="LineNr"> 947 </span>  <span class="Delimiter">{</span>
-<span id="L948" class="LineNr"> 948 </span>    compare curr-post-comment-index, <span class="Constant">0</span>
-<span id="L949" class="LineNr"> 949 </span>    <span class="Delimiter">{</span>
-<span id="L950" class="LineNr"> 950 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L951" class="LineNr"> 951 </span>      <span class="muComment"># if we didn't find the current item in a post's comments, it must be</span>
-<span id="L952" class="LineNr"> 952 </span>      <span class="muComment"># the parent post itself which isn't in the comment list but hackily</span>
-<span id="L953" class="LineNr"> 953 </span>      <span class="muComment"># rendered at the bottom. Just render the whole comment list.</span>
-<span id="L954" class="LineNr"> 954 </span>      <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L955" class="LineNr"> 955 </span>      copy-to *tab-item-index-addr, curr-post-comment-index
-<span id="L956" class="LineNr"> 956 </span>      <span class="PreProc">return</span>
-<span id="L957" class="LineNr"> 957 </span>    <span class="Delimiter">}</span>
-<span id="L958" class="LineNr"> 958 </span>    <span class="PreProc">var</span> curr-comment-index/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> index post-comments, curr-post-comment-index
-<span id="L959" class="LineNr"> 959 </span>    compare *curr-comment-index, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L960" class="LineNr"> 960 </span>    <span class="Delimiter">{</span>
-<span id="L961" class="LineNr"> 961 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L962" class="LineNr"> 962 </span>      <span class="muComment"># item-index found</span>
-<span id="L963" class="LineNr"> 963 </span>      <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L964" class="LineNr"> 964 </span>      copy-to *tab-item-index-addr, curr-post-comment-index
-<span id="L965" class="LineNr"> 965 </span>      <span class="PreProc">return</span>
-<span id="L966" class="LineNr"> 966 </span>    <span class="Delimiter">}</span>
-<span id="L967" class="LineNr"> 967 </span>    curr-post-comment-index <span class="Special">&lt;-</span> decrement
-<span id="L968" class="LineNr"> 968 </span>    <span class="PreProc">loop</span>
-<span id="L969" class="LineNr"> 969 </span>  <span class="Delimiter">}</span>
-<span id="L970" class="LineNr"> 970 </span>  <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;new-thread-tab: should never leave previous loop without returning&quot;</span>
-<span id="L971" class="LineNr"> 971 </span><span class="Delimiter">}</span>
-<span id="L972" class="LineNr"> 972 </span>
-<span id="L973" class="LineNr"> 973 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L973'>item-index</a></span> _tab: (addr <a href='environment.mu.html#L13'>tab</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>)<span class="PreProc"> -&gt; </span>_/<span class="muRegEsi">esi</span>: int <span class="Delimiter">{</span>
-<span id="L974" class="LineNr"> 974 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tab
-<span id="L975" class="LineNr"> 975 </span>  <span class="PreProc">var</span> tab-type/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <span class="PreProc">type</span>
-<span id="L976" class="LineNr"> 976 </span>  <span class="Delimiter">{</span>
-<span id="L977" class="LineNr"> 977 </span>    compare *tab-type, <span class="Constant">0</span>/all-items
-<span id="L978" class="LineNr"> 978 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L979" class="LineNr"> 979 </span>    <span class="PreProc">var</span> tab-item-index/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L980" class="LineNr"> 980 </span>    <span class="PreProc">return</span> *tab-item-index
-<span id="L981" class="LineNr"> 981 </span>  <span class="Delimiter">}</span>
-<span id="L982" class="LineNr"> 982 </span>  <span class="Delimiter">{</span>
-<span id="L983" class="LineNr"> 983 </span>    compare *tab-type, <span class="Constant">1</span>/channel
-<span id="L984" class="LineNr"> 984 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L985" class="LineNr"> 985 </span>    <span class="PreProc">var</span> channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, channel-index
-<span id="L986" class="LineNr"> 986 </span>    <span class="PreProc">var</span> channel-index/eax: int <span class="Special">&lt;-</span> copy *channel-index-addr
-<span id="L987" class="LineNr"> 987 </span>    <span class="PreProc">var</span> channels/<span class="muRegEcx">ecx</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L988" class="LineNr"> 988 </span>    <span class="PreProc">var</span> channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, channel-index
-<span id="L989" class="LineNr"> 989 </span>    <span class="PreProc">var</span> current-channel/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, channel-offset
-<span id="L990" class="LineNr"> 990 </span>    <span class="PreProc">var</span> current-channel-posts-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-channel, posts
-<span id="L991" class="LineNr"> 991 </span>    <span class="PreProc">var</span> current-channel-posts/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-channel-posts-ah
-<span id="L992" class="LineNr"> 992 </span>    <span class="PreProc">var</span> channel-item-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L993" class="LineNr"> 993 </span>    <span class="PreProc">var</span> channel-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *channel-item-index-addr
-<span id="L994" class="LineNr"> 994 </span>    <span class="PreProc">var</span> channel-item-index/eax: (addr int) <span class="Special">&lt;-</span> index current-channel-posts, channel-item-index
-<span id="L995" class="LineNr"> 995 </span>    <span class="PreProc">return</span> *channel-item-index
-<span id="L996" class="LineNr"> 996 </span>  <span class="Delimiter">}</span>
+<span id="L925" class="LineNr"> 925 </span>  <span class="Delimiter">{</span>
+<span id="L926" class="LineNr"> 926 </span>    compare key, <span class="Constant">0x82</span>/up-arrow
+<span id="L927" class="LineNr"> 927 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L928" class="LineNr"> 928 </span>    <a href='environment.mu.html#L1495'>previous-item</a> env, users, channels, items
+<span id="L929" class="LineNr"> 929 </span>    <span class="PreProc">return</span>
+<span id="L930" class="LineNr"> 930 </span>  <span class="Delimiter">}</span>
+<span id="L931" class="LineNr"> 931 </span>  <span class="Delimiter">{</span>
+<span id="L932" class="LineNr"> 932 </span>    compare key, <span class="Constant">6</span>/ctrl-f
+<span id="L933" class="LineNr"> 933 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L934" class="LineNr"> 934 </span>    <a href='environment.mu.html#L1593'>page-down</a> env, users, channels, items
+<span id="L935" class="LineNr"> 935 </span>    <span class="PreProc">return</span>
+<span id="L936" class="LineNr"> 936 </span>  <span class="Delimiter">}</span>
+<span id="L937" class="LineNr"> 937 </span>  <span class="Delimiter">{</span>
+<span id="L938" class="LineNr"> 938 </span>    compare key, <span class="Constant">2</span>/ctrl-b
+<span id="L939" class="LineNr"> 939 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L940" class="LineNr"> 940 </span>    <a href='environment.mu.html#L1638'>page-up</a> env, users, channels, items
+<span id="L941" class="LineNr"> 941 </span>    <span class="PreProc">return</span>
+<span id="L942" class="LineNr"> 942 </span>  <span class="Delimiter">}</span>
+<span id="L943" class="LineNr"> 943 </span><span class="Delimiter">}</span>
+<span id="L944" class="LineNr"> 944 </span>
+<span id="L945" class="LineNr"> 945 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L945'>current-tab-is-all-items-or-channel?</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L946" class="LineNr"> 946 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L947" class="LineNr"> 947 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L948" class="LineNr"> 948 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L949" class="LineNr"> 949 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
+<span id="L950" class="LineNr"> 950 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L951" class="LineNr"> 951 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
+<span id="L952" class="LineNr"> 952 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L953" class="LineNr"> 953 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L954" class="LineNr"> 954 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L955" class="LineNr"> 955 </span>  <span class="Delimiter">{</span>
+<span id="L956" class="LineNr"> 956 </span>    compare *current-tab-type, <span class="Constant">0</span>/all-items
+<span id="L957" class="LineNr"> 957 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L958" class="LineNr"> 958 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L959" class="LineNr"> 959 </span>  <span class="Delimiter">}</span>
+<span id="L960" class="LineNr"> 960 </span>  <span class="Delimiter">{</span>
+<span id="L961" class="LineNr"> 961 </span>    compare *current-tab-type, <span class="Constant">1</span>/channel
+<span id="L962" class="LineNr"> 962 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L963" class="LineNr"> 963 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L964" class="LineNr"> 964 </span>  <span class="Delimiter">}</span>
+<span id="L965" class="LineNr"> 965 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L966" class="LineNr"> 966 </span><span class="Delimiter">}</span>
+<span id="L967" class="LineNr"> 967 </span>
+<span id="L968" class="LineNr"> 968 </span><span class="muComment"># TODO: clamp cursor within bounds</span>
+<span id="L969" class="LineNr"> 969 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L969'>update-channels-nav</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L970" class="LineNr"> 970 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L971" class="LineNr"> 971 </span>  <span class="PreProc">var</span> channel-cursor-index/eax: (addr int) <span class="Special">&lt;-</span> get env, channel-cursor-index
+<span id="L972" class="LineNr"> 972 </span>  <span class="Delimiter">{</span>
+<span id="L973" class="LineNr"> 973 </span>    compare key, <span class="Constant">0x81</span>/down-arrow
+<span id="L974" class="LineNr"> 974 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L975" class="LineNr"> 975 </span>    increment *channel-cursor-index
+<span id="L976" class="LineNr"> 976 </span>    <span class="PreProc">return</span>
+<span id="L977" class="LineNr"> 977 </span>  <span class="Delimiter">}</span>
+<span id="L978" class="LineNr"> 978 </span>  <span class="Delimiter">{</span>
+<span id="L979" class="LineNr"> 979 </span>    compare key, <span class="Constant">0x82</span>/up-arrow
+<span id="L980" class="LineNr"> 980 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L981" class="LineNr"> 981 </span>    decrement *channel-cursor-index
+<span id="L982" class="LineNr"> 982 </span>    <span class="PreProc">return</span>
+<span id="L983" class="LineNr"> 983 </span>  <span class="Delimiter">}</span>
+<span id="L984" class="LineNr"> 984 </span>  <span class="Delimiter">{</span>
+<span id="L985" class="LineNr"> 985 </span>    compare key, <span class="Constant">0xa</span>/newline
+<span id="L986" class="LineNr"> 986 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L987" class="LineNr"> 987 </span>    <a href='environment.mu.html#L1268'>new-channel-tab</a> env, *channel-cursor-index, channels
+<span id="L988" class="LineNr"> 988 </span>    <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-channels?
+<span id="L989" class="LineNr"> 989 </span>    copy-to *cursor-in-channels?, <span class="Constant">0</span>/false
+<span id="L990" class="LineNr"> 990 </span>    <span class="PreProc">return</span>
+<span id="L991" class="LineNr"> 991 </span>  <span class="Delimiter">}</span>
+<span id="L992" class="LineNr"> 992 </span><span class="Delimiter">}</span>
+<span id="L993" class="LineNr"> 993 </span>
+<span id="L994" class="LineNr"> 994 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L994'>update-search</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), key: byte, users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L995" class="LineNr"> 995 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L996" class="LineNr"> 996 </span>  <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special">&lt;-</span> get env, cursor-in-search?
 <span id="L997" class="LineNr"> 997 </span>  <span class="Delimiter">{</span>
-<span id="L998" class="LineNr"> 998 </span>    compare *tab-type, <span class="Constant">2</span>/search
+<span id="L998" class="LineNr"> 998 </span>    compare key <span class="Constant">0x1b</span>/esc
 <span id="L999" class="LineNr"> 999 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1000" class="LineNr">1000 </span>    <span class="PreProc">var</span> tab-search-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1088'>search-items</a>
-<span id="L1001" class="LineNr">1001 </span>    <span class="PreProc">var</span> tab-search-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tab-search-items-ah
-<span id="L1002" class="LineNr">1002 </span>    <span class="PreProc">var</span> tab-search-items-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1003" class="LineNr">1003 </span>    <span class="PreProc">var</span> tab-search-items-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *tab-search-items-index-addr
-<span id="L1004" class="LineNr">1004 </span>    <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> index tab-search-items, tab-search-items-index
-<span id="L1005" class="LineNr">1005 </span>    <span class="PreProc">return</span> *src
-<span id="L1006" class="LineNr">1006 </span>  <span class="Delimiter">}</span>
-<span id="L1007" class="LineNr">1007 </span>  <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;item-index: unknown <a href='environment.mu.html#L13'>tab</a> type&quot;</span>
-<span id="L1008" class="LineNr">1008 </span>  <span class="PreProc">return</span> <span class="Constant">-1</span>
-<span id="L1009" class="LineNr">1009 </span><span class="Delimiter">}</span>
-<span id="L1010" class="LineNr">1010 </span>
-<span id="L1011" class="LineNr">1011 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1011'>post-index</a></span> _items: (addr <a href='main.mu.html#L24'>item-list</a>), <a href='environment.mu.html#L973'>item-index</a>: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
-<span id="L1012" class="LineNr">1012 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1013" class="LineNr">1013 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1014" class="LineNr">1014 </span>  <span class="PreProc">var</span> items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1015" class="LineNr">1015 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1016" class="LineNr">1016 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, index
-<span id="L1017" class="LineNr">1017 </span>  <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1018" class="LineNr">1018 </span>  <span class="PreProc">var</span> parent/eax: (addr int) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, parent
-<span id="L1019" class="LineNr">1019 </span>  compare *parent, <span class="Constant">0</span>
-<span id="L1020" class="LineNr">1020 </span>  <span class="Delimiter">{</span>
-<span id="L1021" class="LineNr">1021 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1022" class="LineNr">1022 </span>    <span class="PreProc">return</span> *parent
-<span id="L1023" class="LineNr">1023 </span>  <span class="Delimiter">}</span>
-<span id="L1024" class="LineNr">1024 </span>  <span class="PreProc">return</span> <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1025" class="LineNr">1025 </span><span class="Delimiter">}</span>
-<span id="L1026" class="LineNr">1026 </span>
-<span id="L1027" class="LineNr">1027 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1027'>new-channel-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), channel-index: int, _channels: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Delimiter">{</span>
-<span id="L1028" class="LineNr">1028 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1029" class="LineNr">1029 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1030" class="LineNr">1030 </span>  increment *current-tab-index-addr
+<span id="L1000" class="LineNr">1000 </span>    <span class="muComment"># get out of search mode</span>
+<span id="L1001" class="LineNr">1001 </span>    copy-to *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L1002" class="LineNr">1002 </span>    <span class="PreProc">return</span>
+<span id="L1003" class="LineNr">1003 </span>  <span class="Delimiter">}</span>
+<span id="L1004" class="LineNr">1004 </span>  <span class="Delimiter">{</span>
+<span id="L1005" class="LineNr">1005 </span>    compare key, <span class="Constant">0xa</span>/newline
+<span id="L1006" class="LineNr">1006 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1007" class="LineNr">1007 </span>    <span class="muComment"># perform a search, then get out of search mode</span>
+<span id="L1008" class="LineNr">1008 </span>    <a href='environment.mu.html#L1300'>new-search-tab</a> env, items
+<span id="L1009" class="LineNr">1009 </span>    copy-to *cursor-in-search?, <span class="Constant">0</span>/false
+<span id="L1010" class="LineNr">1010 </span>    <span class="PreProc">return</span>
+<span id="L1011" class="LineNr">1011 </span>  <span class="Delimiter">}</span>
+<span id="L1012" class="LineNr">1012 </span>  <span class="muComment"># otherwise delegate</span>
+<span id="L1013" class="LineNr">1013 </span>  <span class="PreProc">var</span> search-terms-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
+<span id="L1014" class="LineNr">1014 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
+<span id="L1015" class="LineNr">1015 </span>  <span class="PreProc">var</span> g/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy key
+<span id="L1016" class="LineNr">1016 </span>  <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> search-terms, g
+<span id="L1017" class="LineNr">1017 </span><span class="Delimiter">}</span>
+<span id="L1018" class="LineNr">1018 </span>
+<span id="L1019" class="LineNr">1019 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1019'>new-all-items-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1020" class="LineNr">1020 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1021" class="LineNr">1021 </span>  <span class="PreProc">var</span> current-tab-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1022" class="LineNr">1022 </span>  increment *current-tab-index-addr
+<span id="L1023" class="LineNr">1023 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1024" class="LineNr">1024 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1025" class="LineNr">1025 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> length tabs
+<span id="L1026" class="LineNr">1026 </span>  <span class="Delimiter">{</span>
+<span id="L1027" class="LineNr">1027 </span>    compare *current-tab-index-addr, max-tabs
+<span id="L1028" class="LineNr">1028 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L1029" class="LineNr">1029 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
+<span id="L1030" class="LineNr">1030 </span>  <span class="Delimiter">}</span>
 <span id="L1031" class="LineNr">1031 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
-<span id="L1032" class="LineNr">1032 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1033" class="LineNr">1033 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1034" class="LineNr">1034 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length tabs
-<span id="L1035" class="LineNr">1035 </span>  compare current-tab-index, max-tabs
-<span id="L1036" class="LineNr">1036 </span>  <span class="Delimiter">{</span>
-<span id="L1037" class="LineNr">1037 </span>    compare current-tab-index, max-tabs
-<span id="L1038" class="LineNr">1038 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L1039" class="LineNr">1039 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
-<span id="L1040" class="LineNr">1040 </span>  <span class="Delimiter">}</span>
-<span id="L1041" class="LineNr">1041 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1042" class="LineNr">1042 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1043" class="LineNr">1043 </span>  clear-object current-tab
-<span id="L1044" class="LineNr">1044 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L1045" class="LineNr">1045 </span>  copy-to *current-tab, <span class="Constant">1</span>/channel
-<span id="L1046" class="LineNr">1046 </span>  <span class="PreProc">var</span> current-tab-channel-index/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
-<span id="L1047" class="LineNr">1047 </span>  <span class="PreProc">var</span> curr-channel-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy channel-index
-<span id="L1048" class="LineNr">1048 </span>  copy-to *current-tab-channel-index, curr-channel-index
-<span id="L1049" class="LineNr">1049 </span>  <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L1050" class="LineNr">1050 </span>  <span class="PreProc">var</span> curr-channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, curr-channel-index
-<span id="L1051" class="LineNr">1051 </span>  <span class="PreProc">var</span> curr-channel/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, curr-channel-offset
-<span id="L1052" class="LineNr">1052 </span>  <span class="PreProc">var</span> curr-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get curr-channel, posts-first-free
-<span id="L1053" class="LineNr">1053 </span>  <span class="PreProc">var</span> curr-channel-final-post-index/eax: int <span class="Special">&lt;-</span> copy *curr-channel-posts-first-free-addr
-<span id="L1054" class="LineNr">1054 </span>  curr-channel-final-post-index <span class="Special">&lt;-</span> decrement
-<span id="L1055" class="LineNr">1055 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1056" class="LineNr">1056 </span>  copy-to *dest, curr-channel-final-post-index
-<span id="L1057" class="LineNr">1057 </span><span class="Delimiter">}</span>
-<span id="L1058" class="LineNr">1058 </span>
-<span id="L1059" class="LineNr">1059 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1059'>new-search-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1060" class="LineNr">1060 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1061" class="LineNr">1061 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1062" class="LineNr">1062 </span>  increment *current-tab-index-addr
-<span id="L1063" class="LineNr">1063 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
-<span id="L1064" class="LineNr">1064 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1065" class="LineNr">1065 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1066" class="LineNr">1066 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length tabs
-<span id="L1067" class="LineNr">1067 </span>  compare current-tab-index, max-tabs
-<span id="L1068" class="LineNr">1068 </span>  <span class="Delimiter">{</span>
-<span id="L1069" class="LineNr">1069 </span>    compare current-tab-index, max-tabs
-<span id="L1070" class="LineNr">1070 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L1071" class="LineNr">1071 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
-<span id="L1072" class="LineNr">1072 </span>  <span class="Delimiter">}</span>
-<span id="L1073" class="LineNr">1073 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1074" class="LineNr">1074 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1075" class="LineNr">1075 </span>  clear-object current-tab
-<span id="L1076" class="LineNr">1076 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L1077" class="LineNr">1077 </span>  copy-to *current-tab, <span class="Constant">2</span>/search
-<span id="L1078" class="LineNr">1078 </span>  <span class="PreProc">var</span> current-tab-search-terms-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get current-tab, search-terms
-<span id="L1079" class="LineNr">1079 </span>  <a href='../120allocate.subx.html#L43'>allocate</a> current-tab-search-terms-ah
-<span id="L1080" class="LineNr">1080 </span>  <span class="PreProc">var</span> current-tab-search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-search-terms-ah
-<span id="L1081" class="LineNr">1081 </span>  <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> current-tab-search-terms, <span class="Constant">0x30</span>/search-capacity
-<span id="L1082" class="LineNr">1082 </span>  <span class="PreProc">var</span> search-terms-ah/<span class="muRegEbx">ebx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
-<span id="L1083" class="LineNr">1083 </span>  <a href='../514gap-buffer.mu.html#L784'>copy-gap-buffer</a> search-terms-ah, current-tab-search-terms-ah
-<span id="L1084" class="LineNr">1084 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
-<span id="L1085" class="LineNr">1085 </span>  <a href='environment.mu.html#L1088'>search-items</a> current-tab, items, search-terms
-<span id="L1086" class="LineNr">1086 </span><span class="Delimiter">}</span>
-<span id="L1087" class="LineNr">1087 </span>
-<span id="L1088" class="LineNr">1088 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1088'>search-items</a></span> _tab: (addr <a href='environment.mu.html#L13'>tab</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>), search-terms: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
-<span id="L1089" class="LineNr">1089 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tab
-<span id="L1090" class="LineNr">1090 </span>  <span class="PreProc">var</span> tab-items-first-free-addr/<span class="muRegEsi">esi</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, search-items-first-free
-<span id="L1091" class="LineNr">1091 </span>  <span class="PreProc">var</span> tab-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1088'>search-items</a>
-<span id="L1092" class="LineNr">1092 </span>  populate tab-items-ah, <span class="Constant">0x100</span>/max-search-results
-<span id="L1093" class="LineNr">1093 </span>  <span class="PreProc">var</span> _tab-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tab-items-ah
-<span id="L1094" class="LineNr">1094 </span>  <span class="PreProc">var</span> tab-items/<span class="muRegEdi">edi</span>: (addr array int) <span class="Special">&lt;-</span> copy _tab-items
-<span id="L1095" class="LineNr">1095 </span>  <span class="muComment"># preprocess search-terms</span>
-<span id="L1096" class="LineNr">1096 </span>  <span class="PreProc">var</span> search-terms-stream-storage: (stream byte <span class="Constant">0x100</span>)
-<span id="L1097" class="LineNr">1097 </span>  <span class="PreProc">var</span> search-terms-stream-addr/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address search-terms-stream-storage
-<span id="L1098" class="LineNr">1098 </span>  <a href='../514gap-buffer.mu.html#L83'>emit-gap-buffer</a> search-terms, search-terms-stream-addr
-<span id="L1099" class="LineNr">1099 </span>  <span class="PreProc">var</span> search-terms-text-h: (handle array byte)
-<span id="L1100" class="LineNr">1100 </span>  <span class="PreProc">var</span> search-terms-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> address search-terms-text-h
-<span id="L1101" class="LineNr">1101 </span>  <a href='../310copy-bytes.subx.html#L60'>stream-to-array</a> search-terms-stream-addr, search-terms-text-ah
-<span id="L1102" class="LineNr">1102 </span>  <span class="PreProc">var</span> tmp/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-text-ah
-<span id="L1103" class="LineNr">1103 </span>  <span class="PreProc">var</span> search-terms-text: (addr array byte)
-<span id="L1104" class="LineNr">1104 </span>  copy-to search-terms-text, tmp
-<span id="L1105" class="LineNr">1105 </span>  <span class="muComment">#</span>
-<span id="L1106" class="LineNr">1106 </span>  <span class="PreProc">var</span> items/<span class="muRegEcx">ecx</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1107" class="LineNr">1107 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1108" class="LineNr">1108 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1109" class="LineNr">1109 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1110" class="LineNr">1110 </span>  <span class="PreProc">var</span> items-data-first-free-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
-<span id="L1111" class="LineNr">1111 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1112" class="LineNr">1112 </span>  <span class="Delimiter">{</span>
-<span id="L1113" class="LineNr">1113 </span>    compare i, *items-data-first-free-a
-<span id="L1114" class="LineNr">1114 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1115" class="LineNr">1115 </span>    <span class="PreProc">var</span> curr-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, i
-<span id="L1116" class="LineNr">1116 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, curr-offset
-<span id="L1117" class="LineNr">1117 </span>    <span class="PreProc">var</span> found?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1138'>search-terms-match?</a> curr-item, search-terms-text
-<span id="L1118" class="LineNr">1118 </span>    compare found?, <span class="Constant">0</span>/false
-<span id="L1119" class="LineNr">1119 </span>    <span class="Delimiter">{</span>
-<span id="L1120" class="LineNr">1120 </span>      <span class="PreProc">break-if-=</span>
-<span id="L1121" class="LineNr">1121 </span>      <span class="PreProc">var</span> tab-items-first-free/eax: int <span class="Special">&lt;-</span> copy *tab-items-first-free-addr
-<span id="L1122" class="LineNr">1122 </span>      compare tab-items-first-free, <span class="Constant">0x100</span>/max-search-results
-<span id="L1123" class="LineNr">1123 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L1124" class="LineNr">1124 </span>      <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> index tab-items, tab-items-first-free
-<span id="L1125" class="LineNr">1125 </span>      copy-to *dest, i
-<span id="L1126" class="LineNr">1126 </span>      increment *tab-items-first-free-addr
-<span id="L1127" class="LineNr">1127 </span>    <span class="Delimiter">}</span>
-<span id="L1128" class="LineNr">1128 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L1129" class="LineNr">1129 </span>    <span class="PreProc">loop</span>
-<span id="L1130" class="LineNr">1130 </span>  <span class="Delimiter">}</span>
-<span id="L1131" class="LineNr">1131 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tab
-<span id="L1132" class="LineNr">1132 </span>  <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1133" class="LineNr">1133 </span>  <span class="PreProc">var</span> tab-items-first-free/eax: int <span class="Special">&lt;-</span> copy *tab-items-first-free-addr
-<span id="L1134" class="LineNr">1134 </span>  tab-items-first-free <span class="Special">&lt;-</span> decrement
-<span id="L1135" class="LineNr">1135 </span>  copy-to *tab-item-index-addr, tab-items-first-free
-<span id="L1136" class="LineNr">1136 </span><span class="Delimiter">}</span>
-<span id="L1137" class="LineNr">1137 </span>
-<span id="L1138" class="LineNr">1138 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1138'>search-terms-match?</a></span> _item: (addr <a href='main.mu.html#L14'>item</a>), search-terms: (addr array byte)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L1139" class="LineNr">1139 </span>  <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _item
-<span id="L1140" class="LineNr">1140 </span>  <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1141" class="LineNr">1141 </span>  <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1142" class="LineNr">1142 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1143" class="LineNr">1143 </span>  <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length item-text
-<span id="L1144" class="LineNr">1144 </span>  <span class="PreProc">var</span> search-terms2/<span class="muRegEbx">ebx</span>: (addr array byte) <span class="Special">&lt;-</span> copy search-terms
-<span id="L1145" class="LineNr">1145 </span>  <span class="PreProc">var</span> slen/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> length search-terms2
-<span id="L1146" class="LineNr">1146 </span>  max <span class="Special">&lt;-</span> subtract slen
-<span id="L1147" class="LineNr">1147 </span>  <span class="Delimiter">{</span>
-<span id="L1148" class="LineNr">1148 </span>    compare i, max
-<span id="L1149" class="LineNr">1149 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L1150" class="LineNr">1150 </span>    <span class="PreProc">var</span> found?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1162'>substring-match?</a> item-text, search-terms, i
-<span id="L1151" class="LineNr">1151 </span>    compare found?, <span class="Constant">0</span>/false
-<span id="L1152" class="LineNr">1152 </span>    <span class="Delimiter">{</span>
-<span id="L1153" class="LineNr">1153 </span>      <span class="PreProc">break-if-=</span>
-<span id="L1154" class="LineNr">1154 </span>      <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L1155" class="LineNr">1155 </span>    <span class="Delimiter">}</span>
-<span id="L1156" class="LineNr">1156 </span>    i <span class="Special">&lt;-</span> increment
-<span id="L1157" class="LineNr">1157 </span>    <span class="PreProc">loop</span>
-<span id="L1158" class="LineNr">1158 </span>  <span class="Delimiter">}</span>
-<span id="L1159" class="LineNr">1159 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L1160" class="LineNr">1160 </span><span class="Delimiter">}</span>
-<span id="L1161" class="LineNr">1161 </span>
-<span id="L1162" class="LineNr">1162 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1162'>substring-match?</a></span> _s: (addr array byte), _pat: (addr array byte), start: int<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
-<span id="L1163" class="LineNr">1163 </span>  <span class="PreProc">var</span> s/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _s
-<span id="L1164" class="LineNr">1164 </span>  <span class="PreProc">var</span> pat/<span class="muRegEdi">edi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _pat
-<span id="L1165" class="LineNr">1165 </span>  <span class="PreProc">var</span> s-idx/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy start
-<span id="L1166" class="LineNr">1166 </span>  <span class="PreProc">var</span> pat-idx/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1167" class="LineNr">1167 </span>  <span class="PreProc">var</span> pat-len: int
-<span id="L1168" class="LineNr">1168 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> length pat
-<span id="L1169" class="LineNr">1169 </span>  copy-to pat-len, tmp
-<span id="L1170" class="LineNr">1170 </span>  <span class="Delimiter">{</span>
-<span id="L1171" class="LineNr">1171 </span>    compare pat-idx, pat-len
-<span id="L1172" class="LineNr">1172 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1173" class="LineNr">1173 </span>    <span class="PreProc">var</span> s-ab/eax: (addr byte) <span class="Special">&lt;-</span> index s, s-idx
-<span id="L1174" class="LineNr">1174 </span>    <span class="PreProc">var</span> s-b/eax: byte <span class="Special">&lt;-</span> copy-byte *s-ab
-<span id="L1175" class="LineNr">1175 </span>    <span class="PreProc">var</span> pat-ab/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pat, pat-idx
-<span id="L1176" class="LineNr">1176 </span>    <span class="PreProc">var</span> pat-b/<span class="muRegEcx">ecx</span>: byte <span class="Special">&lt;-</span> copy-byte *pat-ab
-<span id="L1177" class="LineNr">1177 </span>    compare s-b, pat-b
-<span id="L1178" class="LineNr">1178 </span>    <span class="Delimiter">{</span>
-<span id="L1179" class="LineNr">1179 </span>      <span class="PreProc">break-if-=</span>
-<span id="L1180" class="LineNr">1180 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false
-<span id="L1181" class="LineNr">1181 </span>    <span class="Delimiter">}</span>
-<span id="L1182" class="LineNr">1182 </span>    s-idx <span class="Special">&lt;-</span> increment
-<span id="L1183" class="LineNr">1183 </span>    pat-idx <span class="Special">&lt;-</span> increment
-<span id="L1184" class="LineNr">1184 </span>    <span class="PreProc">loop</span>
-<span id="L1185" class="LineNr">1185 </span>  <span class="Delimiter">}</span>
-<span id="L1186" class="LineNr">1186 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
-<span id="L1187" class="LineNr">1187 </span><span class="Delimiter">}</span>
-<span id="L1188" class="LineNr">1188 </span>
-<span id="L1189" class="LineNr">1189 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1189'>previous-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
-<span id="L1190" class="LineNr">1190 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1191" class="LineNr">1191 </span>  <span class="PreProc">var</span> current-tab-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1192" class="LineNr">1192 </span>  compare *current-tab-index-addr, <span class="Constant">0</span>
-<span id="L1193" class="LineNr">1193 </span>  <span class="Delimiter">{</span>
-<span id="L1194" class="LineNr">1194 </span>    <span class="PreProc">break-if-&lt;=</span>
-<span id="L1195" class="LineNr">1195 </span>    decrement *current-tab-index-addr
-<span id="L1196" class="LineNr">1196 </span>    <span class="muComment"># if necessary restore search state</span>
-<span id="L1197" class="LineNr">1197 </span>    <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1198" class="LineNr">1198 </span>    <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1199" class="LineNr">1199 </span>    <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
-<span id="L1200" class="LineNr">1200 </span>    <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1201" class="LineNr">1201 </span>    <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1202" class="LineNr">1202 </span>    <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L1203" class="LineNr">1203 </span>    compare *current-tab-type, <span class="Constant">2</span>/search
-<span id="L1204" class="LineNr">1204 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1205" class="LineNr">1205 </span>    <span class="PreProc">var</span> current-tab-search-terms-ah/<span class="muRegEcx">ecx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get current-tab, search-terms
-<span id="L1206" class="LineNr">1206 </span>    <span class="PreProc">var</span> search-terms-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
-<span id="L1207" class="LineNr">1207 </span>    <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
-<span id="L1208" class="LineNr">1208 </span>    <a href='../514gap-buffer.mu.html#L19'>clear-gap-buffer</a> search-terms
-<span id="L1209" class="LineNr">1209 </span>    <a href='../514gap-buffer.mu.html#L784'>copy-gap-buffer</a> current-tab-search-terms-ah, search-terms-ah
-<span id="L1210" class="LineNr">1210 </span>  <span class="Delimiter">}</span>
-<span id="L1211" class="LineNr">1211 </span><span class="Delimiter">}</span>
-<span id="L1212" class="LineNr">1212 </span>
-<span id="L1213" class="LineNr">1213 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1213'>next-item</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1214" class="LineNr">1214 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1215" class="LineNr">1215 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1216" class="LineNr">1216 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1217" class="LineNr">1217 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
-<span id="L1218" class="LineNr">1218 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1219" class="LineNr">1219 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
-<span id="L1220" class="LineNr">1220 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1221" class="LineNr">1221 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1222" class="LineNr">1222 </span>  <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1223" class="LineNr">1223 </span>  compare *dest, <span class="Constant">0</span>
-<span id="L1224" class="LineNr">1224 </span>  <span class="PreProc">break-if-&lt;=</span>
-<span id="L1225" class="LineNr">1225 </span>  decrement *dest
-<span id="L1226" class="LineNr">1226 </span><span class="Delimiter">}</span>
-<span id="L1227" class="LineNr">1227 </span>
-<span id="L1228" class="LineNr">1228 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1228'>previous-item</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1229" class="LineNr">1229 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1230" class="LineNr">1230 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1231" class="LineNr">1231 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1232" class="LineNr">1232 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
-<span id="L1233" class="LineNr">1233 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1234" class="LineNr">1234 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
-<span id="L1235" class="LineNr">1235 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1236" class="LineNr">1236 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1237" class="LineNr">1237 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L1238" class="LineNr">1238 </span>  compare *current-tab-type, <span class="Constant">0</span>/all-items
-<span id="L1239" class="LineNr">1239 </span>  <span class="Delimiter">{</span>
-<span id="L1240" class="LineNr">1240 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1241" class="LineNr">1241 </span>    <span class="PreProc">var</span> items/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1242" class="LineNr">1242 </span>    <span class="PreProc">var</span> items-data-first-free-a/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
-<span id="L1243" class="LineNr">1243 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *items-data-first-free-a
-<span id="L1244" class="LineNr">1244 </span>    final-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1245" class="LineNr">1245 </span>    <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1246" class="LineNr">1246 </span>    compare *dest, final-item-index
-<span id="L1247" class="LineNr">1247 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1248" class="LineNr">1248 </span>    increment *dest
-<span id="L1249" class="LineNr">1249 </span>    <span class="PreProc">return</span>
-<span id="L1250" class="LineNr">1250 </span>  <span class="Delimiter">}</span>
-<span id="L1251" class="LineNr">1251 </span>  compare *current-tab-type, <span class="Constant">1</span>/channel
-<span id="L1252" class="LineNr">1252 </span>  <span class="Delimiter">{</span>
-<span id="L1253" class="LineNr">1253 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1254" class="LineNr">1254 </span>    <span class="PreProc">var</span> current-channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
-<span id="L1255" class="LineNr">1255 </span>    <span class="PreProc">var</span> current-channel-index/eax: int <span class="Special">&lt;-</span> copy *current-channel-index-addr
-<span id="L1256" class="LineNr">1256 </span>    <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L1257" class="LineNr">1257 </span>    <span class="PreProc">var</span> current-channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, current-channel-index
-<span id="L1258" class="LineNr">1258 </span>    <span class="PreProc">var</span> current-channel/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, current-channel-offset
-<span id="L1259" class="LineNr">1259 </span>    <span class="PreProc">var</span> current-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-channel, posts-first-free
-<span id="L1260" class="LineNr">1260 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-channel-posts-first-free-addr
-<span id="L1261" class="LineNr">1261 </span>    final-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1262" class="LineNr">1262 </span>    <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1263" class="LineNr">1263 </span>    compare *dest, final-item-index
-<span id="L1264" class="LineNr">1264 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1265" class="LineNr">1265 </span>    increment *dest
-<span id="L1266" class="LineNr">1266 </span>    <span class="PreProc">return</span>
-<span id="L1267" class="LineNr">1267 </span>  <span class="Delimiter">}</span>
-<span id="L1268" class="LineNr">1268 </span>  compare *current-tab-type, <span class="Constant">2</span>/search
-<span id="L1269" class="LineNr">1269 </span>  <span class="Delimiter">{</span>
-<span id="L1270" class="LineNr">1270 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1271" class="LineNr">1271 </span>    <span class="PreProc">var</span> current-tab-search-items-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, search-items-first-free
-<span id="L1272" class="LineNr">1272 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-search-items-first-free-addr
-<span id="L1273" class="LineNr">1273 </span>    final-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1274" class="LineNr">1274 </span>    <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1275" class="LineNr">1275 </span>    compare *dest, final-item-index
-<span id="L1276" class="LineNr">1276 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1277" class="LineNr">1277 </span>    increment *dest
-<span id="L1278" class="LineNr">1278 </span>    <span class="PreProc">return</span>
-<span id="L1279" class="LineNr">1279 </span>  <span class="Delimiter">}</span>
-<span id="L1280" class="LineNr">1280 </span>  compare *current-tab-type, <span class="Constant">3</span>/thread
-<span id="L1281" class="LineNr">1281 </span>  <span class="Delimiter">{</span>
-<span id="L1282" class="LineNr">1282 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1283" class="LineNr">1283 </span>    <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1284" class="LineNr">1284 </span>    <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1285" class="LineNr">1285 </span>    <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1286" class="LineNr">1286 </span>    <span class="PreProc">var</span> items-data/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1287" class="LineNr">1287 </span>    <span class="PreProc">var</span> current-tab-root-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
-<span id="L1288" class="LineNr">1288 </span>    <span class="PreProc">var</span> current-tab-root-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-root-index-addr
-<span id="L1289" class="LineNr">1289 </span>    <span class="PreProc">var</span> current-tab-root-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-tab-root-index
-<span id="L1290" class="LineNr">1290 </span>    <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, current-tab-root-offset
-<span id="L1291" class="LineNr">1291 </span>    <span class="PreProc">var</span> post-comments-first-free-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
-<span id="L1292" class="LineNr">1292 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *post-comments-first-free-addr
-<span id="L1293" class="LineNr">1293 </span>    final-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1294" class="LineNr">1294 </span>    <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1295" class="LineNr">1295 </span>    compare *dest, final-item-index
-<span id="L1296" class="LineNr">1296 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1297" class="LineNr">1297 </span>    increment *dest
-<span id="L1298" class="LineNr">1298 </span>    <span class="PreProc">return</span>
-<span id="L1299" class="LineNr">1299 </span>  <span class="Delimiter">}</span>
-<span id="L1300" class="LineNr">1300 </span><span class="Delimiter">}</span>
-<span id="L1301" class="LineNr">1301 </span>
-<span id="L1302" class="LineNr">1302 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1302'>page-down</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1303" class="LineNr">1303 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1304" class="LineNr">1304 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1305" class="LineNr">1305 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1306" class="LineNr">1306 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEcx">ecx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
-<span id="L1307" class="LineNr">1307 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1308" class="LineNr">1308 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
-<span id="L1309" class="LineNr">1309 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1310" class="LineNr">1310 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1311" class="LineNr">1311 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L1312" class="LineNr">1312 </span>  compare *current-tab-type, <span class="Constant">0</span>/all-items
-<span id="L1313" class="LineNr">1313 </span>  <span class="Delimiter">{</span>
-<span id="L1314" class="LineNr">1314 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1315" class="LineNr">1315 </span>    <a href='environment.mu.html#L1338'>all-items-page-down</a> current-tab, users, channels, items
-<span id="L1316" class="LineNr">1316 </span>    <span class="PreProc">return</span>
-<span id="L1317" class="LineNr">1317 </span>  <span class="Delimiter">}</span>
-<span id="L1318" class="LineNr">1318 </span>  compare *current-tab-type, <span class="Constant">1</span>/channel
-<span id="L1319" class="LineNr">1319 </span>  <span class="Delimiter">{</span>
-<span id="L1320" class="LineNr">1320 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1321" class="LineNr">1321 </span>    <a href='environment.mu.html#L1377'>channel-page-down</a> current-tab, users, channels, items
-<span id="L1322" class="LineNr">1322 </span>    <span class="PreProc">return</span>
-<span id="L1323" class="LineNr">1323 </span>  <span class="Delimiter">}</span>
-<span id="L1324" class="LineNr">1324 </span>  compare *current-tab-type, <span class="Constant">2</span>/search
-<span id="L1325" class="LineNr">1325 </span>  <span class="Delimiter">{</span>
-<span id="L1326" class="LineNr">1326 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1327" class="LineNr">1327 </span>    <a href='environment.mu.html#L1426'>search-page-down</a> current-tab, users, channels, items
-<span id="L1328" class="LineNr">1328 </span>    <span class="PreProc">return</span>
-<span id="L1329" class="LineNr">1329 </span>  <span class="Delimiter">}</span>
-<span id="L1330" class="LineNr">1330 </span>  compare *current-tab-type, <span class="Constant">3</span>/thread
-<span id="L1331" class="LineNr">1331 </span>  <span class="Delimiter">{</span>
-<span id="L1332" class="LineNr">1332 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1333" class="LineNr">1333 </span>    <a href='environment.mu.html#L1470'>thread-page-down</a> current-tab, users, channels, items
-<span id="L1334" class="LineNr">1334 </span>    <span class="PreProc">return</span>
-<span id="L1335" class="LineNr">1335 </span>  <span class="Delimiter">}</span>
-<span id="L1336" class="LineNr">1336 </span><span class="Delimiter">}</span>
-<span id="L1337" class="LineNr">1337 </span>
-<span id="L1338" class="LineNr">1338 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1338'>all-items-page-down</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1339" class="LineNr">1339 </span>  <span class="PreProc">var</span> items/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1340" class="LineNr">1340 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1341" class="LineNr">1341 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1342" class="LineNr">1342 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1343" class="LineNr">1343 </span>  <span class="PreProc">var</span> current-tab/eax: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1344" class="LineNr">1344 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1345" class="LineNr">1345 </span>  <span class="PreProc">var</span> new-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1346" class="LineNr">1346 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1347" class="LineNr">1347 </span>  <span class="Delimiter">{</span>
-<span id="L1348" class="LineNr">1348 </span>    compare new-item-index, <span class="Constant">0</span>
-<span id="L1349" class="LineNr">1349 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L1350" class="LineNr">1350 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1351" class="LineNr">1351 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1352" class="LineNr">1352 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, new-item-index
-<span id="L1353" class="LineNr">1353 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1354" class="LineNr">1354 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1355" class="LineNr">1355 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1356" class="LineNr">1356 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1357" class="LineNr">1357 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1358" class="LineNr">1358 </span>    new-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1359" class="LineNr">1359 </span>    <span class="PreProc">loop</span>
-<span id="L1360" class="LineNr">1360 </span>  <span class="Delimiter">}</span>
-<span id="L1361" class="LineNr">1361 </span>  new-item-index <span class="Special">&lt;-</span> increment
-<span id="L1362" class="LineNr">1362 </span>  <span class="Delimiter">{</span>
-<span id="L1363" class="LineNr">1363 </span>    <span class="muComment"># HACK: make sure we make forward progress even if a single post takes up</span>
-<span id="L1364" class="LineNr">1364 </span>    <span class="muComment"># the whole screen.</span>
-<span id="L1365" class="LineNr">1365 </span>    <span class="muComment"># We can't see the rest of that single post at the moment. But at least we</span>
-<span id="L1366" class="LineNr">1366 </span>    <span class="muComment"># can go past it.</span>
-<span id="L1367" class="LineNr">1367 </span>    compare new-item-index, *current-tab-item-index-addr
-<span id="L1368" class="LineNr">1368 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1369" class="LineNr">1369 </span>    <span class="muComment"># Don't make &quot;forward progress&quot; past post 0.</span>
-<span id="L1370" class="LineNr">1370 </span>    compare new-item-index, <span class="Constant">0</span>
-<span id="L1371" class="LineNr">1371 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1372" class="LineNr">1372 </span>    new-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1373" class="LineNr">1373 </span>  <span class="Delimiter">}</span>
-<span id="L1374" class="LineNr">1374 </span>  copy-to *current-tab-item-index-addr, new-item-index
-<span id="L1375" class="LineNr">1375 </span><span class="Delimiter">}</span>
-<span id="L1376" class="LineNr">1376 </span>
-<span id="L1377" class="LineNr">1377 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1377'>channel-page-down</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1378" class="LineNr">1378 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1379" class="LineNr">1379 </span>  <span class="PreProc">var</span> current-channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
-<span id="L1380" class="LineNr">1380 </span>  <span class="PreProc">var</span> current-channel-index/eax: int <span class="Special">&lt;-</span> copy *current-channel-index-addr
-<span id="L1381" class="LineNr">1381 </span>  <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L1382" class="LineNr">1382 </span>  <span class="PreProc">var</span> current-channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, current-channel-index
-<span id="L1383" class="LineNr">1383 </span>  <span class="PreProc">var</span> current-channel/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, current-channel-offset
-<span id="L1384" class="LineNr">1384 </span>  <span class="PreProc">var</span> current-channel-posts-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-channel, posts
-<span id="L1385" class="LineNr">1385 </span>  <span class="PreProc">var</span> _current-channel-posts/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-channel-posts-ah
-<span id="L1386" class="LineNr">1386 </span>  <span class="PreProc">var</span> current-channel-posts/<span class="muRegEsi">esi</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-channel-posts
-<span id="L1387" class="LineNr">1387 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1388" class="LineNr">1388 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1389" class="LineNr">1389 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1390" class="LineNr">1390 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1391" class="LineNr">1391 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1392" class="LineNr">1392 </span>  <span class="PreProc">var</span> new-tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1393" class="LineNr">1393 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1394" class="LineNr">1394 </span>  <span class="Delimiter">{</span>
-<span id="L1395" class="LineNr">1395 </span>    compare new-tab-item-index, <span class="Constant">0</span>
-<span id="L1396" class="LineNr">1396 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L1397" class="LineNr">1397 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1398" class="LineNr">1398 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1399" class="LineNr">1399 </span>    <span class="PreProc">var</span> current-item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-channel-posts, new-tab-item-index
-<span id="L1400" class="LineNr">1400 </span>    <span class="PreProc">var</span> current-item-index/eax: int <span class="Special">&lt;-</span> copy *current-item-index-addr
-<span id="L1401" class="LineNr">1401 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-item-index
-<span id="L1402" class="LineNr">1402 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1403" class="LineNr">1403 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1404" class="LineNr">1404 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1405" class="LineNr">1405 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1406" class="LineNr">1406 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1407" class="LineNr">1407 </span>    new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1408" class="LineNr">1408 </span>    <span class="PreProc">loop</span>
-<span id="L1409" class="LineNr">1409 </span>  <span class="Delimiter">}</span>
-<span id="L1410" class="LineNr">1410 </span>  new-tab-item-index <span class="Special">&lt;-</span> increment
+<span id="L1032" class="LineNr">1032 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1033" class="LineNr">1033 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1034" class="LineNr">1034 </span>  clear-object current-tab
+<span id="L1035" class="LineNr">1035 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1036" class="LineNr">1036 </span>  <span class="PreProc">var</span> items-data-first-free-a/eax: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
+<span id="L1037" class="LineNr">1037 </span>  <span class="PreProc">var</span> final-item/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *items-data-first-free-a
+<span id="L1038" class="LineNr">1038 </span>  final-item <span class="Special">&lt;-</span> decrement
+<span id="L1039" class="LineNr">1039 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1040" class="LineNr">1040 </span>  copy-to *dest, final-item
+<span id="L1041" class="LineNr">1041 </span><span class="Delimiter">}</span>
+<span id="L1042" class="LineNr">1042 </span>
+<span id="L1043" class="LineNr">1043 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1043'>new-thread-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1044" class="LineNr">1044 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1045" class="LineNr">1045 </span>  <span class="PreProc">var</span> current-tab-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1046" class="LineNr">1046 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1047" class="LineNr">1047 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1048" class="LineNr">1048 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1049" class="LineNr">1049 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1050" class="LineNr">1050 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1051" class="LineNr">1051 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, channels
+<span id="L1052" class="LineNr">1052 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L1252'>post-index</a>/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1252'>post-index</a> _items, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1053" class="LineNr">1053 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1054" class="LineNr">1054 </span>  increment *current-tab-index-addr
+<span id="L1055" class="LineNr">1055 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1056" class="LineNr">1056 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1057" class="LineNr">1057 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1058" class="LineNr">1058 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> length tabs
+<span id="L1059" class="LineNr">1059 </span>  compare current-tab-index, max-tabs
+<span id="L1060" class="LineNr">1060 </span>  <span class="Delimiter">{</span>
+<span id="L1061" class="LineNr">1061 </span>    compare current-tab-index, max-tabs
+<span id="L1062" class="LineNr">1062 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L1063" class="LineNr">1063 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
+<span id="L1064" class="LineNr">1064 </span>  <span class="Delimiter">}</span>
+<span id="L1065" class="LineNr">1065 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEdi">edi</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1066" class="LineNr">1066 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1067" class="LineNr">1067 </span>  clear-object current-tab
+<span id="L1068" class="LineNr">1068 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L1069" class="LineNr">1069 </span>  copy-to *current-tab, <span class="Constant">3</span>/thread
+<span id="L1070" class="LineNr">1070 </span>  <span class="PreProc">var</span> current-tab-root-index/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
+<span id="L1071" class="LineNr">1071 </span>  copy-to *current-tab-root-index, <a href='environment.mu.html#L1252'>post-index</a>
+<span id="L1072" class="LineNr">1072 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1073" class="LineNr">1073 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1074" class="LineNr">1074 </span>  <span class="PreProc">var</span> items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1075" class="LineNr">1075 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1252'>post-index</a>
+<span id="L1076" class="LineNr">1076 </span>  <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
+<span id="L1077" class="LineNr">1077 </span>  <span class="PreProc">var</span> post-comments-first-free-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
+<span id="L1078" class="LineNr">1078 </span>  <span class="muComment"># terminology:</span>
+<span id="L1079" class="LineNr">1079 </span>  <span class="muComment">#   post-comment-index = index of a comment in a post's comment array</span>
+<span id="L1080" class="LineNr">1080 </span>  <span class="muComment">#   comment-index = index of a comment in the global item list</span>
+<span id="L1081" class="LineNr">1081 </span>  <span class="PreProc">var</span> final-post-comment-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *post-comments-first-free-addr
+<span id="L1082" class="LineNr">1082 </span>  final-post-comment-index <span class="Special">&lt;-</span> decrement
+<span id="L1083" class="LineNr">1083 </span>  <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
+<span id="L1084" class="LineNr">1084 </span>  <span class="PreProc">var</span> post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
+<span id="L1085" class="LineNr">1085 </span>  <span class="muComment"># look for item-index in post-comments[0..final-post-comment-index]</span>
+<span id="L1086" class="LineNr">1086 </span>  <span class="PreProc">var</span> curr-post-comment-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy final-post-comment-index
+<span id="L1087" class="LineNr">1087 </span>  <span class="Delimiter">{</span>
+<span id="L1088" class="LineNr">1088 </span>    compare curr-post-comment-index, <span class="Constant">0</span>
+<span id="L1089" class="LineNr">1089 </span>    <span class="Delimiter">{</span>
+<span id="L1090" class="LineNr">1090 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L1091" class="LineNr">1091 </span>      <span class="muComment"># if we didn't find the current item in a post's comments, it must be</span>
+<span id="L1092" class="LineNr">1092 </span>      <span class="muComment"># the parent post itself which isn't in the comment list but hackily</span>
+<span id="L1093" class="LineNr">1093 </span>      <span class="muComment"># rendered at the bottom. Just render the whole comment list.</span>
+<span id="L1094" class="LineNr">1094 </span>      <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1095" class="LineNr">1095 </span>      copy-to *tab-item-index-addr, curr-post-comment-index
+<span id="L1096" class="LineNr">1096 </span>      <span class="PreProc">return</span>
+<span id="L1097" class="LineNr">1097 </span>    <span class="Delimiter">}</span>
+<span id="L1098" class="LineNr">1098 </span>    <span class="PreProc">var</span> curr-comment-index/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> index post-comments, curr-post-comment-index
+<span id="L1099" class="LineNr">1099 </span>    compare *curr-comment-index, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1100" class="LineNr">1100 </span>    <span class="Delimiter">{</span>
+<span id="L1101" class="LineNr">1101 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1102" class="LineNr">1102 </span>      <span class="muComment"># item-index found</span>
+<span id="L1103" class="LineNr">1103 </span>      <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1104" class="LineNr">1104 </span>      copy-to *tab-item-index-addr, curr-post-comment-index
+<span id="L1105" class="LineNr">1105 </span>      <span class="PreProc">return</span>
+<span id="L1106" class="LineNr">1106 </span>    <span class="Delimiter">}</span>
+<span id="L1107" class="LineNr">1107 </span>    curr-post-comment-index <span class="Special">&lt;-</span> decrement
+<span id="L1108" class="LineNr">1108 </span>    <span class="PreProc">loop</span>
+<span id="L1109" class="LineNr">1109 </span>  <span class="Delimiter">}</span>
+<span id="L1110" class="LineNr">1110 </span>  <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;new-thread-tab: should never leave previous loop without returning&quot;</span>
+<span id="L1111" class="LineNr">1111 </span><span class="Delimiter">}</span>
+<span id="L1112" class="LineNr">1112 </span>
+<span id="L1113" class="LineNr">1113 </span><span class="muComment"># hide a thread in a (channel or all-items) tab</span>
+<span id="L1114" class="LineNr">1114 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1114'>hide-thread</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1115" class="LineNr">1115 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1116" class="LineNr">1116 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1117" class="LineNr">1117 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1118" class="LineNr">1118 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1119" class="LineNr">1119 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1120" class="LineNr">1120 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1121" class="LineNr">1121 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEbx">ebx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1122" class="LineNr">1122 </span>  <span class="PreProc">var</span> current-tab-hidden-items-ah/<span class="muRegEdx">edx</span>: (addr handle stream int) <span class="Special">&lt;-</span> get current-tab, hidden-items
+<span id="L1123" class="LineNr">1123 </span>  <span class="PreProc">var</span> current-tab-hidden-items/eax: (addr stream int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-hidden-items-ah
+<span id="L1124" class="LineNr">1124 </span>  <span class="Delimiter">{</span>
+<span id="L1125" class="LineNr">1125 </span>    compare current-tab-hidden-items, <span class="Constant">0</span>
+<span id="L1126" class="LineNr">1126 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1127" class="LineNr">1127 </span>    populate-stream current-tab-hidden-items-ah, <span class="Constant">0x10</span>/max-hidden-threads
+<span id="L1128" class="LineNr">1128 </span>    current-tab-hidden-items <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-hidden-items-ah
+<span id="L1129" class="LineNr">1129 </span>  <span class="Delimiter">}</span>
+<span id="L1130" class="LineNr">1130 </span>  <span class="Delimiter">{</span>
+<span id="L1131" class="LineNr">1131 </span>    <span class="PreProc">var</span> too-many-hidden-items?/eax: boolean <span class="Special">&lt;-</span> <a href='../309stream.subx.html#L30'>stream-full?</a> current-tab-hidden-items
+<span id="L1132" class="LineNr">1132 </span>    compare too-many-hidden-items?, <span class="Constant">0</span>/false
+<span id="L1133" class="LineNr">1133 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1134" class="LineNr">1134 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;too many hidden threads in this tab&quot;</span>  <span class="muComment"># TODO: create a space for flash error messages on screen</span>
+<span id="L1135" class="LineNr">1135 </span>    <span class="PreProc">return</span>
+<span id="L1136" class="LineNr">1136 </span>  <span class="Delimiter">}</span>
+<span id="L1137" class="LineNr">1137 </span>  <span class="PreProc">var</span> current-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, items, channels
+<span id="L1138" class="LineNr">1138 </span>  <span class="PreProc">var</span> current-post-index-value/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1252'>post-index</a> items, current-item-index
+<span id="L1139" class="LineNr">1139 </span>  <span class="muS1Comment"># . turn current-post-index into an addr</span>
+<span id="L1140" class="LineNr">1140 </span>  <span class="PreProc">var</span> current-post-index-storage: int
+<span id="L1141" class="LineNr">1141 </span>  copy-to current-post-index-storage, current-post-index-value
+<span id="L1142" class="LineNr">1142 </span>  <span class="PreProc">var</span> current-post-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> address current-post-index-storage
+<span id="L1143" class="LineNr">1143 </span>  <span class="muComment">#</span>
+<span id="L1144" class="LineNr">1144 </span>  <a href='../309stream.subx.html#L54'>write-to-stream</a> current-tab-hidden-items, current-post-index-addr
+<span id="L1145" class="LineNr">1145 </span>  <span class="muComment"># current-tab's item-index is now on a hidden item</span>
+<span id="L1146" class="LineNr">1146 </span>  <span class="muComment"># try to position it on a visible item</span>
+<span id="L1147" class="LineNr">1147 </span>  <span class="PreProc">var</span> item-index-addr/<span class="muRegEsi">esi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1148" class="LineNr">1148 </span>  <span class="PreProc">var</span> old-item-index/eax: int <span class="Special">&lt;-</span> copy *item-index-addr
+<span id="L1149" class="LineNr">1149 </span>  <a href='environment.mu.html#L1454'>next-item</a> env, users, channels, items
+<span id="L1150" class="LineNr">1150 </span>  compare *item-index-addr, old-item-index
+<span id="L1151" class="LineNr">1151 </span>  <span class="PreProc">break-if-!=</span>
+<span id="L1152" class="LineNr">1152 </span>  <a href='environment.mu.html#L1495'>previous-item</a> env, users, channels, items
+<span id="L1153" class="LineNr">1153 </span><span class="Delimiter">}</span>
+<span id="L1154" class="LineNr">1154 </span>
+<span id="L1155" class="LineNr">1155 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1155'>should-hide?</a></span> _tab: (addr <a href='environment.mu.html#L13'>tab</a>), <a href='environment.mu.html#L1189'>item-index</a>: int, items: (addr <a href='main.mu.html#L24'>item-list</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L1156" class="LineNr">1156 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L1252'>post-index</a>/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1252'>post-index</a> items, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1157" class="LineNr">1157 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tab
+<span id="L1158" class="LineNr">1158 </span>  <span class="PreProc">var</span> tab-hidden-items-ah/<span class="muRegEdx">edx</span>: (addr handle stream int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, hidden-items
+<span id="L1159" class="LineNr">1159 </span>  <span class="PreProc">var</span> tab-hidden-items/eax: (addr stream int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tab-hidden-items-ah
+<span id="L1160" class="LineNr">1160 </span>  compare tab-hidden-items, <span class="Constant">0</span>
+<span id="L1161" class="LineNr">1161 </span>  <span class="Delimiter">{</span>
+<span id="L1162" class="LineNr">1162 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1163" class="LineNr">1163 </span>    <span class="muComment"># either we haven't hidden anything, or we're in a tab type that doesn't</span>
+<span id="L1164" class="LineNr">1164 </span>    <span class="muComment"># support hiding</span>
+<span id="L1165" class="LineNr">1165 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L1166" class="LineNr">1166 </span>  <span class="Delimiter">}</span>
+<span id="L1167" class="LineNr">1167 </span>  <a href='../106stream.subx.html#L59'>rewind-stream</a> tab-hidden-items
+<span id="L1168" class="LineNr">1168 </span>  <span class="Delimiter">{</span>
+<span id="L1169" class="LineNr">1169 </span>    <span class="Delimiter">{</span>
+<span id="L1170" class="LineNr">1170 </span>      <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> tab-hidden-items
+<span id="L1171" class="LineNr">1171 </span>      compare done?, <span class="Constant">0</span>/false
+<span id="L1172" class="LineNr">1172 </span>    <span class="Delimiter">}</span>
+<span id="L1173" class="LineNr">1173 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1174" class="LineNr">1174 </span>    <span class="PreProc">var</span> curr-item: int
+<span id="L1175" class="LineNr">1175 </span>    <span class="PreProc">var</span> curr-item-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> address curr-item
+<span id="L1176" class="LineNr">1176 </span>    <a href='../309stream.subx.html#L104'>read-from-stream</a> tab-hidden-items, curr-item-addr
+<span id="L1177" class="LineNr">1177 </span>    <span class="muComment"># if curr-item == post-index, return true</span>
+<span id="L1178" class="LineNr">1178 </span>    compare curr-item, <a href='environment.mu.html#L1252'>post-index</a>
+<span id="L1179" class="LineNr">1179 </span>    <span class="Delimiter">{</span>
+<span id="L1180" class="LineNr">1180 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1181" class="LineNr">1181 </span>      <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L1182" class="LineNr">1182 </span>    <span class="Delimiter">}</span>
+<span id="L1183" class="LineNr">1183 </span>    <span class="PreProc">loop</span>
+<span id="L1184" class="LineNr">1184 </span>  <span class="Delimiter">}</span>
+<span id="L1185" class="LineNr">1185 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L1186" class="LineNr">1186 </span><span class="Delimiter">}</span>
+<span id="L1187" class="LineNr">1187 </span>
+<span id="L1188" class="LineNr">1188 </span><span class="muComment"># what index in the global items list is the cursor at in the current tab?</span>
+<span id="L1189" class="LineNr">1189 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1189'>item-index</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>)<span class="PreProc"> -&gt; </span>_/<span class="muRegEsi">esi</span>: int <span class="Delimiter">{</span>
+<span id="L1190" class="LineNr">1190 </span>  <span class="PreProc">var</span> env/eax: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1191" class="LineNr">1191 </span>  <span class="PreProc">var</span> current-tab-index-addr/<span class="muRegEsi">esi</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1192" class="LineNr">1192 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1193" class="LineNr">1193 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1194" class="LineNr">1194 </span>  <span class="PreProc">var</span> tab-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1195" class="LineNr">1195 </span>  <span class="PreProc">var</span> tab-offset/<span class="muRegEsi">esi</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, tab-index
+<span id="L1196" class="LineNr">1196 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, tab-offset
+<span id="L1197" class="LineNr">1197 </span>  <span class="PreProc">var</span> tab-type/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <span class="PreProc">type</span>
+<span id="L1198" class="LineNr">1198 </span>  <span class="Delimiter">{</span>
+<span id="L1199" class="LineNr">1199 </span>    compare *tab-type, <span class="Constant">0</span>/all-items
+<span id="L1200" class="LineNr">1200 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1201" class="LineNr">1201 </span>    <span class="PreProc">var</span> tab-item-index/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1202" class="LineNr">1202 </span>    <span class="PreProc">return</span> *tab-item-index
+<span id="L1203" class="LineNr">1203 </span>  <span class="Delimiter">}</span>
+<span id="L1204" class="LineNr">1204 </span>  <span class="Delimiter">{</span>
+<span id="L1205" class="LineNr">1205 </span>    compare *tab-type, <span class="Constant">1</span>/channel
+<span id="L1206" class="LineNr">1206 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1207" class="LineNr">1207 </span>    <span class="PreProc">var</span> channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, channel-index
+<span id="L1208" class="LineNr">1208 </span>    <span class="PreProc">var</span> channel-index/eax: int <span class="Special">&lt;-</span> copy *channel-index-addr
+<span id="L1209" class="LineNr">1209 </span>    <span class="PreProc">var</span> channels/<span class="muRegEcx">ecx</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
+<span id="L1210" class="LineNr">1210 </span>    <span class="PreProc">var</span> channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, channel-index
+<span id="L1211" class="LineNr">1211 </span>    <span class="PreProc">var</span> current-channel/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, channel-offset
+<span id="L1212" class="LineNr">1212 </span>    <span class="PreProc">var</span> current-channel-posts-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-channel, posts
+<span id="L1213" class="LineNr">1213 </span>    <span class="PreProc">var</span> current-channel-posts/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-channel-posts-ah
+<span id="L1214" class="LineNr">1214 </span>    <span class="PreProc">var</span> channel-item-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1215" class="LineNr">1215 </span>    <span class="PreProc">var</span> channel-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *channel-item-index-addr
+<span id="L1216" class="LineNr">1216 </span>    <span class="PreProc">var</span> channel-item-index/eax: (addr int) <span class="Special">&lt;-</span> index current-channel-posts, channel-item-index
+<span id="L1217" class="LineNr">1217 </span>    <span class="PreProc">return</span> *channel-item-index
+<span id="L1218" class="LineNr">1218 </span>  <span class="Delimiter">}</span>
+<span id="L1219" class="LineNr">1219 </span>  <span class="Delimiter">{</span>
+<span id="L1220" class="LineNr">1220 </span>    compare *tab-type, <span class="Constant">2</span>/search
+<span id="L1221" class="LineNr">1221 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1222" class="LineNr">1222 </span>    <span class="PreProc">var</span> tab-search-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1329'>search-items</a>
+<span id="L1223" class="LineNr">1223 </span>    <span class="PreProc">var</span> tab-search-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tab-search-items-ah
+<span id="L1224" class="LineNr">1224 </span>    <span class="PreProc">var</span> tab-search-items-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1225" class="LineNr">1225 </span>    <span class="PreProc">var</span> tab-search-items-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *tab-search-items-index-addr
+<span id="L1226" class="LineNr">1226 </span>    <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> index tab-search-items, tab-search-items-index
+<span id="L1227" class="LineNr">1227 </span>    <span class="PreProc">return</span> *src
+<span id="L1228" class="LineNr">1228 </span>  <span class="Delimiter">}</span>
+<span id="L1229" class="LineNr">1229 </span>  <span class="Delimiter">{</span>
+<span id="L1230" class="LineNr">1230 </span>    compare *tab-type, <span class="Constant">3</span>/thread
+<span id="L1231" class="LineNr">1231 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1232" class="LineNr">1232 </span>    <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1233" class="LineNr">1233 </span>    <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1234" class="LineNr">1234 </span>    <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1235" class="LineNr">1235 </span>    <span class="PreProc">var</span> items-data/<span class="muRegEdi">edi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L1236" class="LineNr">1236 </span>    <span class="PreProc">var</span> tab-root-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, root-index
+<span id="L1237" class="LineNr">1237 </span>    <span class="PreProc">var</span> tab-root-index/eax: int <span class="Special">&lt;-</span> copy *tab-root-index-addr
+<span id="L1238" class="LineNr">1238 </span>    <span class="PreProc">var</span> tab-root-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, tab-root-index
+<span id="L1239" class="LineNr">1239 </span>    <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, tab-root-offset
+<span id="L1240" class="LineNr">1240 </span>    <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
+<span id="L1241" class="LineNr">1241 </span>    <span class="PreProc">var</span> post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
+<span id="L1242" class="LineNr">1242 </span>    <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1243" class="LineNr">1243 </span>    <span class="PreProc">var</span> tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *tab-item-index-addr
+<span id="L1244" class="LineNr">1244 </span>    <span class="PreProc">var</span> src/eax: (addr int) <span class="Special">&lt;-</span> index post-comments, tab-item-index
+<span id="L1245" class="LineNr">1245 </span>    <span class="PreProc">return</span> *src
+<span id="L1246" class="LineNr">1246 </span>  <span class="Delimiter">}</span>
+<span id="L1247" class="LineNr">1247 </span>  <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;item-index: unknown <a href='environment.mu.html#L13'>tab</a> type&quot;</span>
+<span id="L1248" class="LineNr">1248 </span>  <span class="PreProc">return</span> <span class="Constant">-1</span>
+<span id="L1249" class="LineNr">1249 </span><span class="Delimiter">}</span>
+<span id="L1250" class="LineNr">1250 </span>
+<span id="L1251" class="LineNr">1251 </span><span class="muComment"># go from a comment item to its parent post</span>
+<span id="L1252" class="LineNr">1252 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1252'>post-index</a></span> _items: (addr <a href='main.mu.html#L24'>item-list</a>), <a href='environment.mu.html#L1189'>item-index</a>: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
+<span id="L1253" class="LineNr">1253 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1254" class="LineNr">1254 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1255" class="LineNr">1255 </span>  <span class="PreProc">var</span> items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1256" class="LineNr">1256 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1257" class="LineNr">1257 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, index
+<span id="L1258" class="LineNr">1258 </span>  <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
+<span id="L1259" class="LineNr">1259 </span>  <span class="PreProc">var</span> parent/eax: (addr int) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, parent
+<span id="L1260" class="LineNr">1260 </span>  compare *parent, <span class="Constant">0</span>
+<span id="L1261" class="LineNr">1261 </span>  <span class="Delimiter">{</span>
+<span id="L1262" class="LineNr">1262 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1263" class="LineNr">1263 </span>    <span class="PreProc">return</span> *parent
+<span id="L1264" class="LineNr">1264 </span>  <span class="Delimiter">}</span>
+<span id="L1265" class="LineNr">1265 </span>  <span class="PreProc">return</span> <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1266" class="LineNr">1266 </span><span class="Delimiter">}</span>
+<span id="L1267" class="LineNr">1267 </span>
+<span id="L1268" class="LineNr">1268 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1268'>new-channel-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), channel-index: int, _channels: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Delimiter">{</span>
+<span id="L1269" class="LineNr">1269 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1270" class="LineNr">1270 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1271" class="LineNr">1271 </span>  increment *current-tab-index-addr
+<span id="L1272" class="LineNr">1272 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1273" class="LineNr">1273 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1274" class="LineNr">1274 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1275" class="LineNr">1275 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length tabs
+<span id="L1276" class="LineNr">1276 </span>  compare current-tab-index, max-tabs
+<span id="L1277" class="LineNr">1277 </span>  <span class="Delimiter">{</span>
+<span id="L1278" class="LineNr">1278 </span>    compare current-tab-index, max-tabs
+<span id="L1279" class="LineNr">1279 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L1280" class="LineNr">1280 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
+<span id="L1281" class="LineNr">1281 </span>  <span class="Delimiter">}</span>
+<span id="L1282" class="LineNr">1282 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1283" class="LineNr">1283 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1284" class="LineNr">1284 </span>  clear-object current-tab
+<span id="L1285" class="LineNr">1285 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L1286" class="LineNr">1286 </span>  copy-to *current-tab, <span class="Constant">1</span>/channel
+<span id="L1287" class="LineNr">1287 </span>  <span class="PreProc">var</span> current-tab-channel-index/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
+<span id="L1288" class="LineNr">1288 </span>  <span class="PreProc">var</span> curr-channel-index/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy channel-index
+<span id="L1289" class="LineNr">1289 </span>  copy-to *current-tab-channel-index, curr-channel-index
+<span id="L1290" class="LineNr">1290 </span>  <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
+<span id="L1291" class="LineNr">1291 </span>  <span class="PreProc">var</span> curr-channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, curr-channel-index
+<span id="L1292" class="LineNr">1292 </span>  <span class="PreProc">var</span> curr-channel/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, curr-channel-offset
+<span id="L1293" class="LineNr">1293 </span>  <span class="PreProc">var</span> curr-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get curr-channel, posts-first-free
+<span id="L1294" class="LineNr">1294 </span>  <span class="PreProc">var</span> curr-channel-final-post-index/eax: int <span class="Special">&lt;-</span> copy *curr-channel-posts-first-free-addr
+<span id="L1295" class="LineNr">1295 </span>  curr-channel-final-post-index <span class="Special">&lt;-</span> decrement
+<span id="L1296" class="LineNr">1296 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1297" class="LineNr">1297 </span>  copy-to *dest, curr-channel-final-post-index
+<span id="L1298" class="LineNr">1298 </span><span class="Delimiter">}</span>
+<span id="L1299" class="LineNr">1299 </span>
+<span id="L1300" class="LineNr">1300 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1300'>new-search-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1301" class="LineNr">1301 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1302" class="LineNr">1302 </span>  <span class="PreProc">var</span> current-tab-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1303" class="LineNr">1303 </span>  increment *current-tab-index-addr
+<span id="L1304" class="LineNr">1304 </span>  <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1305" class="LineNr">1305 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1306" class="LineNr">1306 </span>  <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1307" class="LineNr">1307 </span>  <span class="PreProc">var</span> max-tabs/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length tabs
+<span id="L1308" class="LineNr">1308 </span>  compare current-tab-index, max-tabs
+<span id="L1309" class="LineNr">1309 </span>  <span class="Delimiter">{</span>
+<span id="L1310" class="LineNr">1310 </span>    compare current-tab-index, max-tabs
+<span id="L1311" class="LineNr">1311 </span>    <span class="PreProc">break-if-&lt;</span>
+<span id="L1312" class="LineNr">1312 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;history overflow; grow max-history (we should probably improve this)&quot;</span>
+<span id="L1313" class="LineNr">1313 </span>  <span class="Delimiter">}</span>
+<span id="L1314" class="LineNr">1314 </span>  <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1315" class="LineNr">1315 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1316" class="LineNr">1316 </span>  clear-object current-tab
+<span id="L1317" class="LineNr">1317 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L1318" class="LineNr">1318 </span>  copy-to *current-tab, <span class="Constant">2</span>/search
+<span id="L1319" class="LineNr">1319 </span>  <span class="PreProc">var</span> current-tab-search-terms-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get current-tab, search-terms
+<span id="L1320" class="LineNr">1320 </span>  <a href='../120allocate.subx.html#L43'>allocate</a> current-tab-search-terms-ah
+<span id="L1321" class="LineNr">1321 </span>  <span class="PreProc">var</span> current-tab-search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-search-terms-ah
+<span id="L1322" class="LineNr">1322 </span>  <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> current-tab-search-terms, <span class="Constant">0x30</span>/search-capacity
+<span id="L1323" class="LineNr">1323 </span>  <span class="PreProc">var</span> search-terms-ah/<span class="muRegEbx">ebx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
+<span id="L1324" class="LineNr">1324 </span>  <a href='../514gap-buffer.mu.html#L783'>copy-gap-buffer</a> search-terms-ah, current-tab-search-terms-ah
+<span id="L1325" class="LineNr">1325 </span>  <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
+<span id="L1326" class="LineNr">1326 </span>  <a href='environment.mu.html#L1329'>search-items</a> current-tab, items, search-terms
+<span id="L1327" class="LineNr">1327 </span><span class="Delimiter">}</span>
+<span id="L1328" class="LineNr">1328 </span>
+<span id="L1329" class="LineNr">1329 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1329'>search-items</a></span> _tab: (addr <a href='environment.mu.html#L13'>tab</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>), search-terms: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
+<span id="L1330" class="LineNr">1330 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tab
+<span id="L1331" class="LineNr">1331 </span>  <span class="PreProc">var</span> tab-items-first-free-addr/<span class="muRegEsi">esi</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, search-items-first-free
+<span id="L1332" class="LineNr">1332 </span>  <span class="PreProc">var</span> tab-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1329'>search-items</a>
+<span id="L1333" class="LineNr">1333 </span>  populate tab-items-ah, <span class="Constant">0x100</span>/max-search-results
+<span id="L1334" class="LineNr">1334 </span>  <span class="PreProc">var</span> _tab-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tab-items-ah
+<span id="L1335" class="LineNr">1335 </span>  <span class="PreProc">var</span> tab-items/<span class="muRegEdi">edi</span>: (addr array int) <span class="Special">&lt;-</span> copy _tab-items
+<span id="L1336" class="LineNr">1336 </span>  <span class="muComment"># preprocess search-terms</span>
+<span id="L1337" class="LineNr">1337 </span>  <span class="PreProc">var</span> search-terms-stream-storage: (stream byte <span class="Constant">0x100</span>)
+<span id="L1338" class="LineNr">1338 </span>  <span class="PreProc">var</span> search-terms-stream-addr/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address search-terms-stream-storage
+<span id="L1339" class="LineNr">1339 </span>  <a href='../514gap-buffer.mu.html#L82'>emit-gap-buffer</a> search-terms, search-terms-stream-addr
+<span id="L1340" class="LineNr">1340 </span>  <span class="PreProc">var</span> search-terms-text-h: (handle array byte)
+<span id="L1341" class="LineNr">1341 </span>  <span class="PreProc">var</span> search-terms-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> address search-terms-text-h
+<span id="L1342" class="LineNr">1342 </span>  <a href='../310copy-bytes.subx.html#L60'>stream-to-array</a> search-terms-stream-addr, search-terms-text-ah
+<span id="L1343" class="LineNr">1343 </span>  <span class="PreProc">var</span> tmp/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-text-ah
+<span id="L1344" class="LineNr">1344 </span>  <span class="PreProc">var</span> search-terms-text: (addr array byte)
+<span id="L1345" class="LineNr">1345 </span>  copy-to search-terms-text, tmp
+<span id="L1346" class="LineNr">1346 </span>  <span class="muComment">#</span>
+<span id="L1347" class="LineNr">1347 </span>  <span class="PreProc">var</span> items/<span class="muRegEcx">ecx</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1348" class="LineNr">1348 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1349" class="LineNr">1349 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1350" class="LineNr">1350 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L1351" class="LineNr">1351 </span>  <span class="PreProc">var</span> items-data-first-free-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
+<span id="L1352" class="LineNr">1352 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1353" class="LineNr">1353 </span>  <span class="Delimiter">{</span>
+<span id="L1354" class="LineNr">1354 </span>    compare i, *items-data-first-free-a
+<span id="L1355" class="LineNr">1355 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1356" class="LineNr">1356 </span>    <span class="PreProc">var</span> curr-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, i
+<span id="L1357" class="LineNr">1357 </span>    <span class="PreProc">var</span> curr-item/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, curr-offset
+<span id="L1358" class="LineNr">1358 </span>    <span class="PreProc">var</span> found?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1379'>search-terms-match?</a> curr-item, search-terms-text
+<span id="L1359" class="LineNr">1359 </span>    compare found?, <span class="Constant">0</span>/false
+<span id="L1360" class="LineNr">1360 </span>    <span class="Delimiter">{</span>
+<span id="L1361" class="LineNr">1361 </span>      <span class="PreProc">break-if-=</span>
+<span id="L1362" class="LineNr">1362 </span>      <span class="PreProc">var</span> tab-items-first-free/eax: int <span class="Special">&lt;-</span> copy *tab-items-first-free-addr
+<span id="L1363" class="LineNr">1363 </span>      compare tab-items-first-free, <span class="Constant">0x100</span>/max-search-results
+<span id="L1364" class="LineNr">1364 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L1365" class="LineNr">1365 </span>      <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> index tab-items, tab-items-first-free
+<span id="L1366" class="LineNr">1366 </span>      copy-to *dest, i
+<span id="L1367" class="LineNr">1367 </span>      increment *tab-items-first-free-addr
+<span id="L1368" class="LineNr">1368 </span>    <span class="Delimiter">}</span>
+<span id="L1369" class="LineNr">1369 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L1370" class="LineNr">1370 </span>    <span class="PreProc">loop</span>
+<span id="L1371" class="LineNr">1371 </span>  <span class="Delimiter">}</span>
+<span id="L1372" class="LineNr">1372 </span>  <span class="PreProc">var</span> <a href='environment.mu.html#L13'>tab</a>/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tab
+<span id="L1373" class="LineNr">1373 </span>  <span class="PreProc">var</span> tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get <a href='environment.mu.html#L13'>tab</a>, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1374" class="LineNr">1374 </span>  <span class="PreProc">var</span> tab-items-first-free/eax: int <span class="Special">&lt;-</span> copy *tab-items-first-free-addr
+<span id="L1375" class="LineNr">1375 </span>  tab-items-first-free <span class="Special">&lt;-</span> decrement
+<span id="L1376" class="LineNr">1376 </span>  copy-to *tab-item-index-addr, tab-items-first-free
+<span id="L1377" class="LineNr">1377 </span><span class="Delimiter">}</span>
+<span id="L1378" class="LineNr">1378 </span>
+<span id="L1379" class="LineNr">1379 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1379'>search-terms-match?</a></span> _item: (addr <a href='main.mu.html#L14'>item</a>), search-terms: (addr array byte)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L1380" class="LineNr">1380 </span>  <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _item
+<span id="L1381" class="LineNr">1381 </span>  <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
+<span id="L1382" class="LineNr">1382 </span>  <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
+<span id="L1383" class="LineNr">1383 </span>  <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1384" class="LineNr">1384 </span>  <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> length item-text
+<span id="L1385" class="LineNr">1385 </span>  <span class="PreProc">var</span> search-terms2/<span class="muRegEbx">ebx</span>: (addr array byte) <span class="Special">&lt;-</span> copy search-terms
+<span id="L1386" class="LineNr">1386 </span>  <span class="PreProc">var</span> slen/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> length search-terms2
+<span id="L1387" class="LineNr">1387 </span>  max <span class="Special">&lt;-</span> subtract slen
+<span id="L1388" class="LineNr">1388 </span>  <span class="Delimiter">{</span>
+<span id="L1389" class="LineNr">1389 </span>    compare i, max
+<span id="L1390" class="LineNr">1390 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L1391" class="LineNr">1391 </span>    <span class="PreProc">var</span> found?/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1403'>substring-match?</a> item-text, search-terms, i
+<span id="L1392" class="LineNr">1392 </span>    compare found?, <span class="Constant">0</span>/false
+<span id="L1393" class="LineNr">1393 </span>    <span class="Delimiter">{</span>
+<span id="L1394" class="LineNr">1394 </span>      <span class="PreProc">break-if-=</span>
+<span id="L1395" class="LineNr">1395 </span>      <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L1396" class="LineNr">1396 </span>    <span class="Delimiter">}</span>
+<span id="L1397" class="LineNr">1397 </span>    i <span class="Special">&lt;-</span> increment
+<span id="L1398" class="LineNr">1398 </span>    <span class="PreProc">loop</span>
+<span id="L1399" class="LineNr">1399 </span>  <span class="Delimiter">}</span>
+<span id="L1400" class="LineNr">1400 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L1401" class="LineNr">1401 </span><span class="Delimiter">}</span>
+<span id="L1402" class="LineNr">1402 </span>
+<span id="L1403" class="LineNr">1403 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1403'>substring-match?</a></span> _s: (addr array byte), _pat: (addr array byte), start: int<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
+<span id="L1404" class="LineNr">1404 </span>  <span class="PreProc">var</span> s/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _s
+<span id="L1405" class="LineNr">1405 </span>  <span class="PreProc">var</span> pat/<span class="muRegEdi">edi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _pat
+<span id="L1406" class="LineNr">1406 </span>  <span class="PreProc">var</span> s-idx/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy start
+<span id="L1407" class="LineNr">1407 </span>  <span class="PreProc">var</span> pat-idx/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1408" class="LineNr">1408 </span>  <span class="PreProc">var</span> pat-len: int
+<span id="L1409" class="LineNr">1409 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> length pat
+<span id="L1410" class="LineNr">1410 </span>  copy-to pat-len, tmp
 <span id="L1411" class="LineNr">1411 </span>  <span class="Delimiter">{</span>
-<span id="L1412" class="LineNr">1412 </span>    <span class="muComment"># HACK: make sure we make forward progress even if a single post takes up</span>
-<span id="L1413" class="LineNr">1413 </span>    <span class="muComment"># the whole screen.</span>
-<span id="L1414" class="LineNr">1414 </span>    <span class="muComment"># We can't see the rest of that single post at the moment. But at least we</span>
-<span id="L1415" class="LineNr">1415 </span>    <span class="muComment"># can go past it.</span>
-<span id="L1416" class="LineNr">1416 </span>    compare new-tab-item-index, *current-tab-item-index-addr
-<span id="L1417" class="LineNr">1417 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1418" class="LineNr">1418 </span>    <span class="muComment"># Don't make &quot;forward progress&quot; past post 0.</span>
-<span id="L1419" class="LineNr">1419 </span>    compare new-tab-item-index, <span class="Constant">0</span>
-<span id="L1420" class="LineNr">1420 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1421" class="LineNr">1421 </span>    new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1422" class="LineNr">1422 </span>  <span class="Delimiter">}</span>
-<span id="L1423" class="LineNr">1423 </span>  copy-to *current-tab-item-index-addr, new-tab-item-index
-<span id="L1424" class="LineNr">1424 </span><span class="Delimiter">}</span>
-<span id="L1425" class="LineNr">1425 </span>
-<span id="L1426" class="LineNr">1426 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1426'>search-page-down</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1427" class="LineNr">1427 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1428" class="LineNr">1428 </span>  <span class="PreProc">var</span> current-tab-search-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1088'>search-items</a>
-<span id="L1429" class="LineNr">1429 </span>  <span class="PreProc">var</span> _current-tab-search-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-search-items-ah
-<span id="L1430" class="LineNr">1430 </span>  <span class="PreProc">var</span> current-tab-search-items/<span class="muRegEsi">esi</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-tab-search-items
-<span id="L1431" class="LineNr">1431 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1432" class="LineNr">1432 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1433" class="LineNr">1433 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1434" class="LineNr">1434 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1435" class="LineNr">1435 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1436" class="LineNr">1436 </span>  <span class="PreProc">var</span> new-tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1437" class="LineNr">1437 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1438" class="LineNr">1438 </span>  <span class="Delimiter">{</span>
-<span id="L1439" class="LineNr">1439 </span>    compare new-tab-item-index, <span class="Constant">0</span>
-<span id="L1440" class="LineNr">1440 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L1441" class="LineNr">1441 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1442" class="LineNr">1442 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1443" class="LineNr">1443 </span>    <span class="PreProc">var</span> current-item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-tab-search-items, new-tab-item-index
-<span id="L1444" class="LineNr">1444 </span>    <span class="PreProc">var</span> current-item-index/eax: int <span class="Special">&lt;-</span> copy *current-item-index-addr
-<span id="L1445" class="LineNr">1445 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-item-index
-<span id="L1446" class="LineNr">1446 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1447" class="LineNr">1447 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1448" class="LineNr">1448 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1449" class="LineNr">1449 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1450" class="LineNr">1450 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1451" class="LineNr">1451 </span>    new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1452" class="LineNr">1452 </span>    <span class="PreProc">loop</span>
-<span id="L1453" class="LineNr">1453 </span>  <span class="Delimiter">}</span>
-<span id="L1454" class="LineNr">1454 </span>  new-tab-item-index <span class="Special">&lt;-</span> increment
-<span id="L1455" class="LineNr">1455 </span>  <span class="Delimiter">{</span>
-<span id="L1456" class="LineNr">1456 </span>    <span class="muComment"># HACK: make sure we make forward progress even if a single post takes up</span>
-<span id="L1457" class="LineNr">1457 </span>    <span class="muComment"># the whole screen.</span>
-<span id="L1458" class="LineNr">1458 </span>    <span class="muComment"># We can't see the rest of that single post at the moment. But at least we</span>
-<span id="L1459" class="LineNr">1459 </span>    <span class="muComment"># can go past it.</span>
-<span id="L1460" class="LineNr">1460 </span>    compare new-tab-item-index, *current-tab-item-index-addr
-<span id="L1461" class="LineNr">1461 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1462" class="LineNr">1462 </span>    <span class="muComment"># Don't make &quot;forward progress&quot; past post 0.</span>
-<span id="L1463" class="LineNr">1463 </span>    compare new-tab-item-index, <span class="Constant">0</span>
-<span id="L1464" class="LineNr">1464 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1465" class="LineNr">1465 </span>    new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1466" class="LineNr">1466 </span>  <span class="Delimiter">}</span>
-<span id="L1467" class="LineNr">1467 </span>  copy-to *current-tab-item-index-addr, new-tab-item-index
-<span id="L1468" class="LineNr">1468 </span><span class="Delimiter">}</span>
-<span id="L1469" class="LineNr">1469 </span>
-<span id="L1470" class="LineNr">1470 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1470'>thread-page-down</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1471" class="LineNr">1471 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1472" class="LineNr">1472 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1473" class="LineNr">1473 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1474" class="LineNr">1474 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1475" class="LineNr">1475 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1476" class="LineNr">1476 </span>  <span class="PreProc">var</span> current-tab-root-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
-<span id="L1477" class="LineNr">1477 </span>  <span class="PreProc">var</span> current-tab-root-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-root-index-addr
-<span id="L1478" class="LineNr">1478 </span>  <span class="PreProc">var</span> current-tab-root-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-tab-root-index
-<span id="L1479" class="LineNr">1479 </span>  <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, current-tab-root-offset
-<span id="L1480" class="LineNr">1480 </span>  <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
-<span id="L1481" class="LineNr">1481 </span>  <span class="PreProc">var</span> _post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
-<span id="L1482" class="LineNr">1482 </span>  <span class="PreProc">var</span> post-comments/<span class="muRegEbx">ebx</span>: (addr array int) <span class="Special">&lt;-</span> copy _post-comments
-<span id="L1483" class="LineNr">1483 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1484" class="LineNr">1484 </span>  <span class="PreProc">var</span> new-tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1485" class="LineNr">1485 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1486" class="LineNr">1486 </span>  <span class="Delimiter">{</span>
-<span id="L1487" class="LineNr">1487 </span>    compare new-tab-item-index, <span class="Constant">0</span>
-<span id="L1488" class="LineNr">1488 </span>    <span class="PreProc">break-if-&lt;</span>
-<span id="L1489" class="LineNr">1489 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1490" class="LineNr">1490 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1491" class="LineNr">1491 </span>    <span class="PreProc">var</span> current-item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index post-comments, new-tab-item-index
-<span id="L1492" class="LineNr">1492 </span>    <span class="PreProc">var</span> current-item-index/eax: int <span class="Special">&lt;-</span> copy *current-item-index-addr
-<span id="L1493" class="LineNr">1493 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-item-index
-<span id="L1494" class="LineNr">1494 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1495" class="LineNr">1495 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1496" class="LineNr">1496 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1497" class="LineNr">1497 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1498" class="LineNr">1498 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1499" class="LineNr">1499 </span>    new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1500" class="LineNr">1500 </span>    <span class="PreProc">loop</span>
-<span id="L1501" class="LineNr">1501 </span>  <span class="Delimiter">}</span>
-<span id="L1502" class="LineNr">1502 </span>  new-tab-item-index <span class="Special">&lt;-</span> increment
-<span id="L1503" class="LineNr">1503 </span>  <span class="Delimiter">{</span>
-<span id="L1504" class="LineNr">1504 </span>    <span class="muComment"># HACK: make sure we make forward progress even if a single post takes up</span>
-<span id="L1505" class="LineNr">1505 </span>    <span class="muComment"># the whole screen.</span>
-<span id="L1506" class="LineNr">1506 </span>    <span class="muComment"># We can't see the rest of that single post at the moment. But at least we</span>
-<span id="L1507" class="LineNr">1507 </span>    <span class="muComment"># can go past it.</span>
-<span id="L1508" class="LineNr">1508 </span>    compare new-tab-item-index, *current-tab-item-index-addr
-<span id="L1509" class="LineNr">1509 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1510" class="LineNr">1510 </span>    <span class="muComment"># Don't make &quot;forward progress&quot; past post 0.</span>
-<span id="L1511" class="LineNr">1511 </span>    compare new-tab-item-index, <span class="Constant">0</span>
-<span id="L1512" class="LineNr">1512 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1513" class="LineNr">1513 </span>    new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1514" class="LineNr">1514 </span>  <span class="Delimiter">}</span>
-<span id="L1515" class="LineNr">1515 </span>  copy-to *current-tab-item-index-addr, new-tab-item-index
-<span id="L1516" class="LineNr">1516 </span><span class="Delimiter">}</span>
-<span id="L1517" class="LineNr">1517 </span>
-<span id="L1518" class="LineNr">1518 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1518'>page-up</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1519" class="LineNr">1519 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
-<span id="L1520" class="LineNr">1520 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
-<span id="L1521" class="LineNr">1521 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
-<span id="L1522" class="LineNr">1522 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEcx">ecx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
-<span id="L1523" class="LineNr">1523 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
-<span id="L1524" class="LineNr">1524 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
-<span id="L1525" class="LineNr">1525 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
-<span id="L1526" class="LineNr">1526 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
-<span id="L1527" class="LineNr">1527 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
-<span id="L1528" class="LineNr">1528 </span>  compare *current-tab-type, <span class="Constant">0</span>/all-items
-<span id="L1529" class="LineNr">1529 </span>  <span class="Delimiter">{</span>
-<span id="L1530" class="LineNr">1530 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1531" class="LineNr">1531 </span>    <a href='environment.mu.html#L1554'>all-items-page-up</a> current-tab, users, channels, items
-<span id="L1532" class="LineNr">1532 </span>    <span class="PreProc">return</span>
-<span id="L1533" class="LineNr">1533 </span>  <span class="Delimiter">}</span>
-<span id="L1534" class="LineNr">1534 </span>  compare *current-tab-type, <span class="Constant">1</span>/channel
-<span id="L1535" class="LineNr">1535 </span>  <span class="Delimiter">{</span>
-<span id="L1536" class="LineNr">1536 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1537" class="LineNr">1537 </span>    <a href='environment.mu.html#L1584'>channel-page-up</a> current-tab, users, channels, items
-<span id="L1538" class="LineNr">1538 </span>    <span class="PreProc">return</span>
-<span id="L1539" class="LineNr">1539 </span>  <span class="Delimiter">}</span>
-<span id="L1540" class="LineNr">1540 </span>  compare *current-tab-type, <span class="Constant">2</span>/search
-<span id="L1541" class="LineNr">1541 </span>  <span class="Delimiter">{</span>
-<span id="L1542" class="LineNr">1542 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1543" class="LineNr">1543 </span>    <a href='environment.mu.html#L1624'>search-page-up</a> current-tab, users, channels, items
-<span id="L1544" class="LineNr">1544 </span>    <span class="PreProc">return</span>
-<span id="L1545" class="LineNr">1545 </span>  <span class="Delimiter">}</span>
-<span id="L1546" class="LineNr">1546 </span>  compare *current-tab-type, <span class="Constant">3</span>/thread
-<span id="L1547" class="LineNr">1547 </span>  <span class="Delimiter">{</span>
-<span id="L1548" class="LineNr">1548 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L1549" class="LineNr">1549 </span>    <a href='environment.mu.html#L1661'>thread-page-up</a> current-tab, users, channels, items
-<span id="L1550" class="LineNr">1550 </span>    <span class="PreProc">return</span>
-<span id="L1551" class="LineNr">1551 </span>  <span class="Delimiter">}</span>
-<span id="L1552" class="LineNr">1552 </span><span class="Delimiter">}</span>
-<span id="L1553" class="LineNr">1553 </span>
-<span id="L1554" class="LineNr">1554 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1554'>all-items-page-up</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1555" class="LineNr">1555 </span>  <span class="PreProc">var</span> items/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1556" class="LineNr">1556 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1557" class="LineNr">1557 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1558" class="LineNr">1558 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1559" class="LineNr">1559 </span>  <span class="PreProc">var</span> items-data-first-free-a/eax: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
-<span id="L1560" class="LineNr">1560 </span>  <span class="PreProc">var</span> final-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> copy *items-data-first-free-a
-<span id="L1561" class="LineNr">1561 </span>  final-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1562" class="LineNr">1562 </span>  <span class="PreProc">var</span> current-tab/eax: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1563" class="LineNr">1563 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1564" class="LineNr">1564 </span>  <span class="PreProc">var</span> new-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1565" class="LineNr">1565 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1566" class="LineNr">1566 </span>  <span class="Delimiter">{</span>
-<span id="L1567" class="LineNr">1567 </span>    compare new-item-index, final-item-index
-<span id="L1568" class="LineNr">1568 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L1569" class="LineNr">1569 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1570" class="LineNr">1570 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1571" class="LineNr">1571 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, new-item-index
-<span id="L1572" class="LineNr">1572 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1573" class="LineNr">1573 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1574" class="LineNr">1574 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1575" class="LineNr">1575 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1576" class="LineNr">1576 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1577" class="LineNr">1577 </span>    new-item-index <span class="Special">&lt;-</span> increment
-<span id="L1578" class="LineNr">1578 </span>    <span class="PreProc">loop</span>
-<span id="L1579" class="LineNr">1579 </span>  <span class="Delimiter">}</span>
-<span id="L1580" class="LineNr">1580 </span>  new-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1581" class="LineNr">1581 </span>  copy-to *current-tab-item-index-addr, new-item-index
-<span id="L1582" class="LineNr">1582 </span><span class="Delimiter">}</span>
-<span id="L1583" class="LineNr">1583 </span>
-<span id="L1584" class="LineNr">1584 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1584'>channel-page-up</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1585" class="LineNr">1585 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1586" class="LineNr">1586 </span>  <span class="PreProc">var</span> current-channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
-<span id="L1587" class="LineNr">1587 </span>  <span class="PreProc">var</span> current-channel-index/eax: int <span class="Special">&lt;-</span> copy *current-channel-index-addr
-<span id="L1588" class="LineNr">1588 </span>  <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
-<span id="L1589" class="LineNr">1589 </span>  <span class="PreProc">var</span> current-channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, current-channel-index
-<span id="L1590" class="LineNr">1590 </span>  <span class="PreProc">var</span> current-channel/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, current-channel-offset
-<span id="L1591" class="LineNr">1591 </span>  <span class="PreProc">var</span> current-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-channel, posts-first-free
-<span id="L1592" class="LineNr">1592 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> copy *current-channel-posts-first-free-addr
-<span id="L1593" class="LineNr">1593 </span>  <span class="PreProc">var</span> final-tab-post-index: int
-<span id="L1594" class="LineNr">1594 </span>  copy-to final-tab-post-index, tmp
-<span id="L1595" class="LineNr">1595 </span>  decrement final-tab-post-index
-<span id="L1596" class="LineNr">1596 </span>  <span class="PreProc">var</span> current-channel-posts-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-channel, posts
-<span id="L1597" class="LineNr">1597 </span>  <span class="PreProc">var</span> _current-channel-posts/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-channel-posts-ah
-<span id="L1598" class="LineNr">1598 </span>  <span class="PreProc">var</span> current-channel-posts/<span class="muRegEsi">esi</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-channel-posts
-<span id="L1599" class="LineNr">1599 </span>  <span class="PreProc">var</span> items/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1600" class="LineNr">1600 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1601" class="LineNr">1601 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1602" class="LineNr">1602 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1603" class="LineNr">1603 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1604" class="LineNr">1604 </span>  <span class="PreProc">var</span> new-tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1605" class="LineNr">1605 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1606" class="LineNr">1606 </span>  <span class="Delimiter">{</span>
-<span id="L1607" class="LineNr">1607 </span>    compare new-tab-item-index, final-tab-post-index
-<span id="L1608" class="LineNr">1608 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L1609" class="LineNr">1609 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1610" class="LineNr">1610 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1611" class="LineNr">1611 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, new-tab-item-index
-<span id="L1612" class="LineNr">1612 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1613" class="LineNr">1613 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1614" class="LineNr">1614 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1615" class="LineNr">1615 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1616" class="LineNr">1616 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1617" class="LineNr">1617 </span>    new-tab-item-index <span class="Special">&lt;-</span> increment
-<span id="L1618" class="LineNr">1618 </span>    <span class="PreProc">loop</span>
-<span id="L1619" class="LineNr">1619 </span>  <span class="Delimiter">}</span>
-<span id="L1620" class="LineNr">1620 </span>  new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1621" class="LineNr">1621 </span>  copy-to *current-tab-item-index-addr, new-tab-item-index
-<span id="L1622" class="LineNr">1622 </span><span class="Delimiter">}</span>
-<span id="L1623" class="LineNr">1623 </span>
-<span id="L1624" class="LineNr">1624 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1624'>search-page-up</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1625" class="LineNr">1625 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1626" class="LineNr">1626 </span>  <span class="PreProc">var</span> current-tab-search-items-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, search-items-first-free
-<span id="L1627" class="LineNr">1627 </span>  <span class="PreProc">var</span> final-tab-post-index: int
-<span id="L1628" class="LineNr">1628 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> copy *current-tab-search-items-first-free-addr
-<span id="L1629" class="LineNr">1629 </span>  copy-to final-tab-post-index, tmp
-<span id="L1630" class="LineNr">1630 </span>  decrement final-tab-post-index
-<span id="L1631" class="LineNr">1631 </span>  <span class="PreProc">var</span> current-tab-search-items-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1088'>search-items</a>
-<span id="L1632" class="LineNr">1632 </span>  <span class="PreProc">var</span> _current-tab-search-items/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *current-tab-search-items-ah
-<span id="L1633" class="LineNr">1633 </span>  <span class="PreProc">var</span> current-tab-search-items/<span class="muRegEsi">esi</span>: (addr array int) <span class="Special">&lt;-</span> copy _current-tab-search-items
-<span id="L1634" class="LineNr">1634 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1635" class="LineNr">1635 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1636" class="LineNr">1636 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1637" class="LineNr">1637 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1638" class="LineNr">1638 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1639" class="LineNr">1639 </span>  <span class="PreProc">var</span> new-tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1640" class="LineNr">1640 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1641" class="LineNr">1641 </span>  <span class="Delimiter">{</span>
-<span id="L1642" class="LineNr">1642 </span>    compare new-tab-item-index, final-tab-post-index
-<span id="L1643" class="LineNr">1643 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L1644" class="LineNr">1644 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1645" class="LineNr">1645 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1646" class="LineNr">1646 </span>    <span class="PreProc">var</span> current-item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index current-tab-search-items, new-tab-item-index
-<span id="L1647" class="LineNr">1647 </span>    <span class="PreProc">var</span> current-item-index/eax: int <span class="Special">&lt;-</span> copy *current-item-index-addr
-<span id="L1648" class="LineNr">1648 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-item-index
-<span id="L1649" class="LineNr">1649 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1650" class="LineNr">1650 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1651" class="LineNr">1651 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1652" class="LineNr">1652 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1653" class="LineNr">1653 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1654" class="LineNr">1654 </span>    new-tab-item-index <span class="Special">&lt;-</span> increment
-<span id="L1655" class="LineNr">1655 </span>    <span class="PreProc">loop</span>
-<span id="L1656" class="LineNr">1656 </span>  <span class="Delimiter">}</span>
-<span id="L1657" class="LineNr">1657 </span>  new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1658" class="LineNr">1658 </span>  copy-to *current-tab-item-index-addr, new-tab-item-index
-<span id="L1659" class="LineNr">1659 </span><span class="Delimiter">}</span>
-<span id="L1660" class="LineNr">1660 </span>
-<span id="L1661" class="LineNr">1661 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1661'>thread-page-up</a></span> _current-tab: (addr <a href='environment.mu.html#L13'>tab</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
-<span id="L1662" class="LineNr">1662 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _current-tab
-<span id="L1663" class="LineNr">1663 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
-<span id="L1664" class="LineNr">1664 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
-<span id="L1665" class="LineNr">1665 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
-<span id="L1666" class="LineNr">1666 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
-<span id="L1667" class="LineNr">1667 </span>  <span class="PreProc">var</span> current-tab-root-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
-<span id="L1668" class="LineNr">1668 </span>  <span class="PreProc">var</span> current-tab-root-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-root-index-addr
-<span id="L1669" class="LineNr">1669 </span>  <span class="PreProc">var</span> current-tab-root-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-tab-root-index
-<span id="L1670" class="LineNr">1670 </span>  <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, current-tab-root-offset
-<span id="L1671" class="LineNr">1671 </span>  <span class="PreProc">var</span> post-comments-first-free-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
-<span id="L1672" class="LineNr">1672 </span>  <span class="PreProc">var</span> post-comments-ah/eax: (addr handle array int) <span class="Special">&lt;-</span> get post, comments
-<span id="L1673" class="LineNr">1673 </span>  <span class="PreProc">var</span> _post-comments/eax: (addr array int) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *post-comments-ah
-<span id="L1674" class="LineNr">1674 </span>  <span class="PreProc">var</span> post-comments/<span class="muRegEbx">ebx</span>: (addr array int) <span class="Special">&lt;-</span> copy _post-comments
-<span id="L1675" class="LineNr">1675 </span>  <span class="PreProc">var</span> final-tab-comment-index: int
-<span id="L1676" class="LineNr">1676 </span>  <span class="Delimiter">{</span>
-<span id="L1677" class="LineNr">1677 </span>    <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> copy *post-comments-first-free-addr
-<span id="L1678" class="LineNr">1678 </span>    tmp <span class="Special">&lt;-</span> decrement
-<span id="L1679" class="LineNr">1679 </span>    copy-to final-tab-comment-index, tmp
+<span id="L1412" class="LineNr">1412 </span>    compare pat-idx, pat-len
+<span id="L1413" class="LineNr">1413 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1414" class="LineNr">1414 </span>    <span class="PreProc">var</span> s-ab/eax: (addr byte) <span class="Special">&lt;-</span> index s, s-idx
+<span id="L1415" class="LineNr">1415 </span>    <span class="PreProc">var</span> s-b/eax: byte <span class="Special">&lt;-</span> copy-byte *s-ab
+<span id="L1416" class="LineNr">1416 </span>    <span class="PreProc">var</span> pat-ab/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pat, pat-idx
+<span id="L1417" class="LineNr">1417 </span>    <span class="PreProc">var</span> pat-b/<span class="muRegEcx">ecx</span>: byte <span class="Special">&lt;-</span> copy-byte *pat-ab
+<span id="L1418" class="LineNr">1418 </span>    compare s-b, pat-b
+<span id="L1419" class="LineNr">1419 </span>    <span class="Delimiter">{</span>
+<span id="L1420" class="LineNr">1420 </span>      <span class="PreProc">break-if-=</span>
+<span id="L1421" class="LineNr">1421 </span>      <span class="PreProc">return</span> <span class="Constant">0</span>/false
+<span id="L1422" class="LineNr">1422 </span>    <span class="Delimiter">}</span>
+<span id="L1423" class="LineNr">1423 </span>    s-idx <span class="Special">&lt;-</span> increment
+<span id="L1424" class="LineNr">1424 </span>    pat-idx <span class="Special">&lt;-</span> increment
+<span id="L1425" class="LineNr">1425 </span>    <span class="PreProc">loop</span>
+<span id="L1426" class="LineNr">1426 </span>  <span class="Delimiter">}</span>
+<span id="L1427" class="LineNr">1427 </span>  <span class="PreProc">return</span> <span class="Constant">1</span>/true
+<span id="L1428" class="LineNr">1428 </span><span class="Delimiter">}</span>
+<span id="L1429" class="LineNr">1429 </span>
+<span id="L1430" class="LineNr">1430 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1430'>previous-tab</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Delimiter">{</span>
+<span id="L1431" class="LineNr">1431 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1432" class="LineNr">1432 </span>  <span class="PreProc">var</span> current-tab-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1433" class="LineNr">1433 </span>  compare *current-tab-index-addr, <span class="Constant">0</span>
+<span id="L1434" class="LineNr">1434 </span>  <span class="Delimiter">{</span>
+<span id="L1435" class="LineNr">1435 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L1436" class="LineNr">1436 </span>    decrement *current-tab-index-addr
+<span id="L1437" class="LineNr">1437 </span>    <span class="muComment"># if necessary restore search state</span>
+<span id="L1438" class="LineNr">1438 </span>    <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1439" class="LineNr">1439 </span>    <span class="PreProc">var</span> tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1440" class="LineNr">1440 </span>    <span class="PreProc">var</span> current-tab-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-index-addr
+<span id="L1441" class="LineNr">1441 </span>    <span class="PreProc">var</span> current-tab-offset/<span class="muRegEcx">ecx</span>: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1442" class="LineNr">1442 </span>    <span class="PreProc">var</span> current-tab/<span class="muRegEcx">ecx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1443" class="LineNr">1443 </span>    <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L1444" class="LineNr">1444 </span>    compare *current-tab-type, <span class="Constant">2</span>/search
+<span id="L1445" class="LineNr">1445 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1446" class="LineNr">1446 </span>    <span class="PreProc">var</span> current-tab-search-terms-ah/<span class="muRegEcx">ecx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get current-tab, search-terms
+<span id="L1447" class="LineNr">1447 </span>    <span class="PreProc">var</span> search-terms-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get env, search-terms
+<span id="L1448" class="LineNr">1448 </span>    <span class="PreProc">var</span> search-terms/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *search-terms-ah
+<span id="L1449" class="LineNr">1449 </span>    <a href='../514gap-buffer.mu.html#L19'>clear-gap-buffer</a> search-terms
+<span id="L1450" class="LineNr">1450 </span>    <a href='../514gap-buffer.mu.html#L783'>copy-gap-buffer</a> current-tab-search-terms-ah, search-terms-ah
+<span id="L1451" class="LineNr">1451 </span>  <span class="Delimiter">}</span>
+<span id="L1452" class="LineNr">1452 </span><span class="Delimiter">}</span>
+<span id="L1453" class="LineNr">1453 </span>
+<span id="L1454" class="LineNr">1454 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1454'>next-item</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1455" class="LineNr">1455 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1456" class="LineNr">1456 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1457" class="LineNr">1457 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1458" class="LineNr">1458 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
+<span id="L1459" class="LineNr">1459 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1460" class="LineNr">1460 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
+<span id="L1461" class="LineNr">1461 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1462" class="LineNr">1462 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1463" class="LineNr">1463 </span>  <span class="PreProc">var</span> dest/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1464" class="LineNr">1464 </span>  <span class="muComment"># if current-tab isn't all-items or channel, no need to worry about hidden items</span>
+<span id="L1465" class="LineNr">1465 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L1466" class="LineNr">1466 </span>  <span class="Delimiter">{</span>
+<span id="L1467" class="LineNr">1467 </span>    compare *current-tab-type, <span class="Constant">0</span>/all-items
+<span id="L1468" class="LineNr">1468 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1469" class="LineNr">1469 </span>    compare *current-tab-type, <span class="Constant">1</span>/channel
+<span id="L1470" class="LineNr">1470 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1471" class="LineNr">1471 </span>    <span class="Delimiter">{</span>
+<span id="L1472" class="LineNr">1472 </span>      compare *dest, <span class="Constant">0</span>
+<span id="L1473" class="LineNr">1473 </span>      <span class="PreProc">break-if-&lt;=</span>
+<span id="L1474" class="LineNr">1474 </span>      decrement *dest
+<span id="L1475" class="LineNr">1475 </span>    <span class="Delimiter">}</span>
+<span id="L1476" class="LineNr">1476 </span>    <span class="PreProc">return</span>
+<span id="L1477" class="LineNr">1477 </span>  <span class="Delimiter">}</span>
+<span id="L1478" class="LineNr">1478 </span>  <span class="PreProc">var</span> old-value/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *dest
+<span id="L1479" class="LineNr">1479 </span>  <span class="muComment"># do { --*dest } while *dest &gt; 0 and should-hide?(current-tab, *dest)</span>
+<span id="L1480" class="LineNr">1480 </span>  <span class="Delimiter">{</span>
+<span id="L1481" class="LineNr">1481 </span>    compare *dest, <span class="Constant">0</span>
+<span id="L1482" class="LineNr">1482 </span>    <span class="PreProc">break-if-&lt;=</span>
+<span id="L1483" class="LineNr">1483 </span>    decrement *dest
+<span id="L1484" class="LineNr">1484 </span>    <span class="muComment"># if current item is not hidden, return</span>
+<span id="L1485" class="LineNr">1485 </span>    <span class="PreProc">var</span> current-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, _channels
+<span id="L1486" class="LineNr">1486 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1155'>should-hide?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1155'>should-hide?</a> current-tab, current-item-index, _items
+<span id="L1487" class="LineNr">1487 </span>    compare <a href='environment.mu.html#L1155'>should-hide?</a>, <span class="Constant">0</span>/false
+<span id="L1488" class="LineNr">1488 </span>    <span class="PreProc">loop-if-!=</span>
+<span id="L1489" class="LineNr">1489 </span>    <span class="PreProc">return</span>
+<span id="L1490" class="LineNr">1490 </span>  <span class="Delimiter">}</span>
+<span id="L1491" class="LineNr">1491 </span>  <span class="muComment"># couldn't find a visible item. Restore.</span>
+<span id="L1492" class="LineNr">1492 </span>  copy-to *dest, old-value
+<span id="L1493" class="LineNr">1493 </span><span class="Delimiter">}</span>
+<span id="L1494" class="LineNr">1494 </span>
+<span id="L1495" class="LineNr">1495 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1495'>previous-item</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), _channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1496" class="LineNr">1496 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1497" class="LineNr">1497 </span>  <span class="PreProc">var</span> tabs-ah/eax: (addr handle array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> get env, tabs
+<span id="L1498" class="LineNr">1498 </span>  <span class="PreProc">var</span> _tabs/eax: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *tabs-ah
+<span id="L1499" class="LineNr">1499 </span>  <span class="PreProc">var</span> tabs/<span class="muRegEdx">edx</span>: (addr array <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> copy _tabs
+<span id="L1500" class="LineNr">1500 </span>  <span class="PreProc">var</span> current-tab-index-a/eax: (addr int) <span class="Special">&lt;-</span> get env, current-tab-index
+<span id="L1501" class="LineNr">1501 </span>  <span class="PreProc">var</span> current-tab-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-index-a
+<span id="L1502" class="LineNr">1502 </span>  <span class="PreProc">var</span> current-tab-offset/eax: (offset <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> compute-offset tabs, current-tab-index
+<span id="L1503" class="LineNr">1503 </span>  <span class="PreProc">var</span> current-tab/<span class="muRegEdx">edx</span>: (addr <a href='environment.mu.html#L13'>tab</a>) <span class="Special">&lt;-</span> index tabs, current-tab-offset
+<span id="L1504" class="LineNr">1504 </span>  <span class="PreProc">var</span> current-tab-type/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <span class="PreProc">type</span>
+<span id="L1505" class="LineNr">1505 </span>  compare *current-tab-type, <span class="Constant">0</span>/all-items
+<span id="L1506" class="LineNr">1506 </span>  <span class="Delimiter">{</span>
+<span id="L1507" class="LineNr">1507 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1508" class="LineNr">1508 </span>    <span class="PreProc">var</span> items/<span class="muRegEsi">esi</span>: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1509" class="LineNr">1509 </span>    <span class="PreProc">var</span> items-data-first-free-a/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get items, data-first-free
+<span id="L1510" class="LineNr">1510 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *items-data-first-free-a
+<span id="L1511" class="LineNr">1511 </span>    final-item-index <span class="Special">&lt;-</span> decrement
+<span id="L1512" class="LineNr">1512 </span>    <span class="PreProc">var</span> dest/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1513" class="LineNr">1513 </span>    <span class="PreProc">var</span> old-value/eax: int <span class="Special">&lt;-</span> copy *dest
+<span id="L1514" class="LineNr">1514 </span>    <span class="muComment"># do { ++*dest } while *dest &lt; final-index and should-hide?(current-tab, *dest)</span>
+<span id="L1515" class="LineNr">1515 </span>    <span class="Delimiter">{</span>
+<span id="L1516" class="LineNr">1516 </span>      compare *dest, final-item-index
+<span id="L1517" class="LineNr">1517 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L1518" class="LineNr">1518 </span>      increment *dest
+<span id="L1519" class="LineNr">1519 </span>      <span class="muComment"># if current item is not hidden, return</span>
+<span id="L1520" class="LineNr">1520 </span>      <span class="PreProc">var</span> current-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, _channels
+<span id="L1521" class="LineNr">1521 </span>      <span class="PreProc">var</span> <a href='environment.mu.html#L1155'>should-hide?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1155'>should-hide?</a> current-tab, current-item-index, _items
+<span id="L1522" class="LineNr">1522 </span>      compare <a href='environment.mu.html#L1155'>should-hide?</a>, <span class="Constant">0</span>/false
+<span id="L1523" class="LineNr">1523 </span>      <span class="PreProc">loop-if-!=</span>
+<span id="L1524" class="LineNr">1524 </span>      <span class="PreProc">return</span>
+<span id="L1525" class="LineNr">1525 </span>    <span class="Delimiter">}</span>
+<span id="L1526" class="LineNr">1526 </span>    <span class="muComment"># couldn't find a visible item. Restore.</span>
+<span id="L1527" class="LineNr">1527 </span>    copy-to *dest, old-value
+<span id="L1528" class="LineNr">1528 </span>    <span class="PreProc">return</span>
+<span id="L1529" class="LineNr">1529 </span>  <span class="Delimiter">}</span>
+<span id="L1530" class="LineNr">1530 </span>  compare *current-tab-type, <span class="Constant">1</span>/channel
+<span id="L1531" class="LineNr">1531 </span>  <span class="Delimiter">{</span>
+<span id="L1532" class="LineNr">1532 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1533" class="LineNr">1533 </span>    <span class="PreProc">var</span> current-channel-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, channel-index
+<span id="L1534" class="LineNr">1534 </span>    <span class="PreProc">var</span> current-channel-index/eax: int <span class="Special">&lt;-</span> copy *current-channel-index-addr
+<span id="L1535" class="LineNr">1535 </span>    <span class="PreProc">var</span> channels/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> copy _channels
+<span id="L1536" class="LineNr">1536 </span>    <span class="PreProc">var</span> current-channel-offset/eax: (offset <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> compute-offset channels, current-channel-index
+<span id="L1537" class="LineNr">1537 </span>    <span class="PreProc">var</span> current-channel/eax: (addr <a href='main.mu.html#L1'>channel</a>) <span class="Special">&lt;-</span> index channels, current-channel-offset
+<span id="L1538" class="LineNr">1538 </span>    <span class="PreProc">var</span> current-channel-posts-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-channel, posts-first-free
+<span id="L1539" class="LineNr">1539 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-channel-posts-first-free-addr
+<span id="L1540" class="LineNr">1540 </span>    final-item-index <span class="Special">&lt;-</span> decrement
+<span id="L1541" class="LineNr">1541 </span>    <span class="PreProc">var</span> dest/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1542" class="LineNr">1542 </span>    <span class="PreProc">var</span> old-value/eax: int <span class="Special">&lt;-</span> copy *dest
+<span id="L1543" class="LineNr">1543 </span>    <span class="muComment"># do { ++*dest } while *dest &lt; final-index and should-hide?(current-tab, *dest)</span>
+<span id="L1544" class="LineNr">1544 </span>    <span class="Delimiter">{</span>
+<span id="L1545" class="LineNr">1545 </span>      compare *dest, final-item-index
+<span id="L1546" class="LineNr">1546 </span>      <span class="PreProc">break-if-&gt;=</span>
+<span id="L1547" class="LineNr">1547 </span>      increment *dest
+<span id="L1548" class="LineNr">1548 </span>      <span class="muComment"># if current item is not hidden, return</span>
+<span id="L1549" class="LineNr">1549 </span>      <span class="PreProc">var</span> current-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, _channels
+<span id="L1550" class="LineNr">1550 </span>      <span class="PreProc">var</span> <a href='environment.mu.html#L1155'>should-hide?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='environment.mu.html#L1155'>should-hide?</a> current-tab, current-item-index, _items
+<span id="L1551" class="LineNr">1551 </span>      compare <a href='environment.mu.html#L1155'>should-hide?</a>, <span class="Constant">0</span>/false
+<span id="L1552" class="LineNr">1552 </span>      <span class="PreProc">loop-if-!=</span>
+<span id="L1553" class="LineNr">1553 </span>      <span class="PreProc">return</span>
+<span id="L1554" class="LineNr">1554 </span>    <span class="Delimiter">}</span>
+<span id="L1555" class="LineNr">1555 </span>    <span class="muComment"># couldn't find a visible item. Restore.</span>
+<span id="L1556" class="LineNr">1556 </span>    copy-to *dest, old-value
+<span id="L1557" class="LineNr">1557 </span>    <span class="PreProc">return</span>
+<span id="L1558" class="LineNr">1558 </span>  <span class="Delimiter">}</span>
+<span id="L1559" class="LineNr">1559 </span>  compare *current-tab-type, <span class="Constant">2</span>/search
+<span id="L1560" class="LineNr">1560 </span>  <span class="Delimiter">{</span>
+<span id="L1561" class="LineNr">1561 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1562" class="LineNr">1562 </span>    <span class="PreProc">var</span> current-tab-search-items-first-free-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, search-items-first-free
+<span id="L1563" class="LineNr">1563 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-search-items-first-free-addr
+<span id="L1564" class="LineNr">1564 </span>    final-item-index <span class="Special">&lt;-</span> decrement
+<span id="L1565" class="LineNr">1565 </span>    <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1566" class="LineNr">1566 </span>    compare *dest, final-item-index
+<span id="L1567" class="LineNr">1567 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1568" class="LineNr">1568 </span>    increment *dest
+<span id="L1569" class="LineNr">1569 </span>    <span class="PreProc">return</span>
+<span id="L1570" class="LineNr">1570 </span>  <span class="Delimiter">}</span>
+<span id="L1571" class="LineNr">1571 </span>  compare *current-tab-type, <span class="Constant">3</span>/thread
+<span id="L1572" class="LineNr">1572 </span>  <span class="Delimiter">{</span>
+<span id="L1573" class="LineNr">1573 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1574" class="LineNr">1574 </span>    <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1575" class="LineNr">1575 </span>    <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1576" class="LineNr">1576 </span>    <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1577" class="LineNr">1577 </span>    <span class="PreProc">var</span> items-data/<span class="muRegEsi">esi</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L1578" class="LineNr">1578 </span>    <span class="PreProc">var</span> current-tab-root-index-addr/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, root-index
+<span id="L1579" class="LineNr">1579 </span>    <span class="PreProc">var</span> current-tab-root-index/eax: int <span class="Special">&lt;-</span> copy *current-tab-root-index-addr
+<span id="L1580" class="LineNr">1580 </span>    <span class="PreProc">var</span> current-tab-root-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-tab-root-index
+<span id="L1581" class="LineNr">1581 </span>    <span class="PreProc">var</span> post/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, current-tab-root-offset
+<span id="L1582" class="LineNr">1582 </span>    <span class="PreProc">var</span> post-comments-first-free-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get post, comments-first-free
+<span id="L1583" class="LineNr">1583 </span>    <span class="PreProc">var</span> final-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *post-comments-first-free-addr
+<span id="L1584" class="LineNr">1584 </span>    final-item-index <span class="Special">&lt;-</span> decrement
+<span id="L1585" class="LineNr">1585 </span>    <span class="PreProc">var</span> dest/eax: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1586" class="LineNr">1586 </span>    compare *dest, final-item-index
+<span id="L1587" class="LineNr">1587 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1588" class="LineNr">1588 </span>    increment *dest
+<span id="L1589" class="LineNr">1589 </span>    <span class="PreProc">return</span>
+<span id="L1590" class="LineNr">1590 </span>  <span class="Delimiter">}</span>
+<span id="L1591" class="LineNr">1591 </span><span class="Delimiter">}</span>
+<span id="L1592" class="LineNr">1592 </span>
+<span id="L1593" class="LineNr">1593 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1593'>page-down</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1594" class="LineNr">1594 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1595" class="LineNr">1595 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1596" class="LineNr">1596 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1597" class="LineNr">1597 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1598" class="LineNr">1598 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L1599" class="LineNr">1599 </span>  <span class="PreProc">var</span> _old-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, channels
+<span id="L1600" class="LineNr">1600 </span>  <span class="PreProc">var</span> old-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _old-item-index
+<span id="L1601" class="LineNr">1601 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
+<span id="L1602" class="LineNr">1602 </span>  <span class="Delimiter">{</span>
+<span id="L1603" class="LineNr">1603 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
+<span id="L1604" class="LineNr">1604 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1605" class="LineNr">1605 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, channels
+<span id="L1606" class="LineNr">1606 </span>    <span class="Delimiter">{</span>
+<span id="L1607" class="LineNr">1607 </span>      compare y, <span class="Constant">2</span>
+<span id="L1608" class="LineNr">1608 </span>      <span class="PreProc">break-if-=</span>  <span class="muComment"># skip this condition on first iteration</span>
+<span id="L1609" class="LineNr">1609 </span>      compare <a href='environment.mu.html#L1189'>item-index</a>, old-item-index
+<span id="L1610" class="LineNr">1610 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1611" class="LineNr">1611 </span>      <span class="muComment"># no forward progress; we're at the bottom of the current tab</span>
+<span id="L1612" class="LineNr">1612 </span>      <span class="PreProc">return</span>
+<span id="L1613" class="LineNr">1613 </span>    <span class="Delimiter">}</span>
+<span id="L1614" class="LineNr">1614 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1615" class="LineNr">1615 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
+<span id="L1616" class="LineNr">1616 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
+<span id="L1617" class="LineNr">1617 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
+<span id="L1618" class="LineNr">1618 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1671'>estimate-height</a> item-text
+<span id="L1619" class="LineNr">1619 </span>    y <span class="Special">&lt;-</span> add h
+<span id="L1620" class="LineNr">1620 </span>    <a href='environment.mu.html#L1454'>next-item</a> env, users, channels, _items
+<span id="L1621" class="LineNr">1621 </span>    <span class="PreProc">loop</span>
+<span id="L1622" class="LineNr">1622 </span>  <span class="Delimiter">}</span>
+<span id="L1623" class="LineNr">1623 </span>  <span class="muComment"># we're past the end of the screen now, so bounce back for some continuity</span>
+<span id="L1624" class="LineNr">1624 </span>  <a href='environment.mu.html#L1495'>previous-item</a> env, users, channels, _items
+<span id="L1625" class="LineNr">1625 </span>  <span class="Delimiter">{</span>
+<span id="L1626" class="LineNr">1626 </span>    <span class="muComment"># HACK: make sure we make forward progress even if a single post takes up</span>
+<span id="L1627" class="LineNr">1627 </span>    <span class="muComment"># the whole screen.</span>
+<span id="L1628" class="LineNr">1628 </span>    <span class="muComment"># We can't see the rest of that single post at the moment. But at least we</span>
+<span id="L1629" class="LineNr">1629 </span>    <span class="muComment"># can go past it.</span>
+<span id="L1630" class="LineNr">1630 </span>    <span class="PreProc">var</span> old-item-index/eax: int <span class="Special">&lt;-</span> copy old-item-index
+<span id="L1631" class="LineNr">1631 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, channels
+<span id="L1632" class="LineNr">1632 </span>    compare <a href='environment.mu.html#L1189'>item-index</a>, old-item-index
+<span id="L1633" class="LineNr">1633 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L1634" class="LineNr">1634 </span>    <a href='environment.mu.html#L1454'>next-item</a> env, users, channels, _items
+<span id="L1635" class="LineNr">1635 </span>  <span class="Delimiter">}</span>
+<span id="L1636" class="LineNr">1636 </span><span class="Delimiter">}</span>
+<span id="L1637" class="LineNr">1637 </span>
+<span id="L1638" class="LineNr">1638 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1638'>page-up</a></span> _env: (addr <a href='environment.mu.html#L1'>environment</a>), users: (addr array <a href='main.mu.html#L7'>user</a>), channels: (addr array <a href='main.mu.html#L1'>channel</a>), _items: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Delimiter">{</span>
+<span id="L1639" class="LineNr">1639 </span>  <span class="PreProc">var</span> env/<span class="muRegEdi">edi</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> copy _env
+<span id="L1640" class="LineNr">1640 </span>  <span class="PreProc">var</span> items/eax: (addr <a href='main.mu.html#L24'>item-list</a>) <span class="Special">&lt;-</span> copy _items
+<span id="L1641" class="LineNr">1641 </span>  <span class="PreProc">var</span> items-data-ah/eax: (addr handle array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> get items, data
+<span id="L1642" class="LineNr">1642 </span>  <span class="PreProc">var</span> _items-data/eax: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah
+<span id="L1643" class="LineNr">1643 </span>  <span class="PreProc">var</span> items-data/<span class="muRegEbx">ebx</span>: (addr array <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> copy _items-data
+<span id="L1644" class="LineNr">1644 </span>  <span class="PreProc">var</span> _old-item-index/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, channels
+<span id="L1645" class="LineNr">1645 </span>  <span class="PreProc">var</span> old-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _old-item-index
+<span id="L1646" class="LineNr">1646 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
+<span id="L1647" class="LineNr">1647 </span>  <span class="Delimiter">{</span>
+<span id="L1648" class="LineNr">1648 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
+<span id="L1649" class="LineNr">1649 </span>    <span class="PreProc">break-if-&gt;=</span>
+<span id="L1650" class="LineNr">1650 </span>    <span class="PreProc">var</span> <a href='environment.mu.html#L1189'>item-index</a>/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1189'>item-index</a> env, _items, channels
+<span id="L1651" class="LineNr">1651 </span>    <span class="Delimiter">{</span>
+<span id="L1652" class="LineNr">1652 </span>      compare y, <span class="Constant">2</span>
+<span id="L1653" class="LineNr">1653 </span>      <span class="PreProc">break-if-=</span>  <span class="muComment"># skip this condition on first iteration</span>
+<span id="L1654" class="LineNr">1654 </span>      compare <a href='environment.mu.html#L1189'>item-index</a>, old-item-index
+<span id="L1655" class="LineNr">1655 </span>      <span class="PreProc">break-if-!=</span>
+<span id="L1656" class="LineNr">1656 </span>      <span class="muComment"># no forward progress; we're at the bottom of the current tab</span>
+<span id="L1657" class="LineNr">1657 </span>      <span class="PreProc">return</span>
+<span id="L1658" class="LineNr">1658 </span>    <span class="Delimiter">}</span>
+<span id="L1659" class="LineNr">1659 </span>    <span class="PreProc">var</span> item-offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, <a href='environment.mu.html#L1189'>item-index</a>
+<span id="L1660" class="LineNr">1660 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, item-offset
+<span id="L1661" class="LineNr">1661 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
+<span id="L1662" class="LineNr">1662 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
+<span id="L1663" class="LineNr">1663 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1671'>estimate-height</a> item-text
+<span id="L1664" class="LineNr">1664 </span>    y <span class="Special">&lt;-</span> add h
+<span id="L1665" class="LineNr">1665 </span>    <a href='environment.mu.html#L1495'>previous-item</a> env, users, channels, _items
+<span id="L1666" class="LineNr">1666 </span>    <span class="PreProc">loop</span>
+<span id="L1667" class="LineNr">1667 </span>  <span class="Delimiter">}</span>
+<span id="L1668" class="LineNr">1668 </span><span class="Delimiter">}</span>
+<span id="L1669" class="LineNr">1669 </span>
+<span id="L1670" class="LineNr">1670 </span><span class="muComment"># keep sync'd with render-item</span>
+<span id="L1671" class="LineNr">1671 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1671'>estimate-height</a></span> _message-text: (addr array byte)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L1672" class="LineNr">1672 </span>  <span class="PreProc">var</span> message-text/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _message-text
+<span id="L1673" class="LineNr">1673 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> length message-text
+<span id="L1674" class="LineNr">1674 </span>  <span class="PreProc">var</span> remainder/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L1675" class="LineNr">1675 </span>  result, remainder <span class="Special">&lt;-</span> <a href='../314divide.subx.html#L3'>integer-divide</a> result, <span class="Constant">0x40</span>/post-width
+<span id="L1676" class="LineNr">1676 </span>  compare remainder, <span class="Constant">0</span>
+<span id="L1677" class="LineNr">1677 </span>  <span class="Delimiter">{</span>
+<span id="L1678" class="LineNr">1678 </span>    <span class="PreProc">break-if-=</span>
+<span id="L1679" class="LineNr">1679 </span>    result <span class="Special">&lt;-</span> increment
 <span id="L1680" class="LineNr">1680 </span>  <span class="Delimiter">}</span>
-<span id="L1681" class="LineNr">1681 </span>  <span class="PreProc">var</span> current-tab-item-index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get current-tab, <a href='environment.mu.html#L973'>item-index</a>
-<span id="L1682" class="LineNr">1682 </span>  <span class="PreProc">var</span> new-tab-item-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy *current-tab-item-index-addr
-<span id="L1683" class="LineNr">1683 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
-<span id="L1684" class="LineNr">1684 </span>  <span class="Delimiter">{</span>
-<span id="L1685" class="LineNr">1685 </span>    compare new-tab-item-index, final-tab-comment-index
-<span id="L1686" class="LineNr">1686 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L1687" class="LineNr">1687 </span>    compare y, <span class="Constant">0x28</span>/screen-height-minus-menu
-<span id="L1688" class="LineNr">1688 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L1689" class="LineNr">1689 </span>    <span class="PreProc">var</span> current-item-index-addr/eax: (addr int) <span class="Special">&lt;-</span> index post-comments, new-tab-item-index
-<span id="L1690" class="LineNr">1690 </span>    <span class="PreProc">var</span> current-item-index/eax: int <span class="Special">&lt;-</span> copy *current-item-index-addr
-<span id="L1691" class="LineNr">1691 </span>    <span class="PreProc">var</span> offset/eax: (offset <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> compute-offset items-data, current-item-index
-<span id="L1692" class="LineNr">1692 </span>    <span class="PreProc">var</span> <a href='main.mu.html#L14'>item</a>/eax: (addr <a href='main.mu.html#L14'>item</a>) <span class="Special">&lt;-</span> index items-data, offset
-<span id="L1693" class="LineNr">1693 </span>    <span class="PreProc">var</span> item-text-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get <a href='main.mu.html#L14'>item</a>, text
-<span id="L1694" class="LineNr">1694 </span>    <span class="PreProc">var</span> item-text/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *item-text-ah
-<span id="L1695" class="LineNr">1695 </span>    <span class="PreProc">var</span> h/eax: int <span class="Special">&lt;-</span> <a href='environment.mu.html#L1705'>estimate-height</a> item-text
-<span id="L1696" class="LineNr">1696 </span>    y <span class="Special">&lt;-</span> add h
-<span id="L1697" class="LineNr">1697 </span>    new-tab-item-index <span class="Special">&lt;-</span> increment
-<span id="L1698" class="LineNr">1698 </span>    <span class="PreProc">loop</span>
-<span id="L1699" class="LineNr">1699 </span>  <span class="Delimiter">}</span>
-<span id="L1700" class="LineNr">1700 </span>  new-tab-item-index <span class="Special">&lt;-</span> decrement
-<span id="L1701" class="LineNr">1701 </span>  copy-to *current-tab-item-index-addr, new-tab-item-index
-<span id="L1702" class="LineNr">1702 </span><span class="Delimiter">}</span>
-<span id="L1703" class="LineNr">1703 </span>
-<span id="L1704" class="LineNr">1704 </span><span class="muComment"># keep sync'd with render-item</span>
-<span id="L1705" class="LineNr">1705 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L1705'>estimate-height</a></span> _message-text: (addr array byte)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
-<span id="L1706" class="LineNr">1706 </span>  <span class="PreProc">var</span> message-text/<span class="muRegEsi">esi</span>: (addr array byte) <span class="Special">&lt;-</span> copy _message-text
-<span id="L1707" class="LineNr">1707 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> length message-text
-<span id="L1708" class="LineNr">1708 </span>  <span class="PreProc">var</span> remainder/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L1709" class="LineNr">1709 </span>  result, remainder <span class="Special">&lt;-</span> <a href='../314divide.subx.html#L3'>integer-divide</a> result, <span class="Constant">0x40</span>/post-width
-<span id="L1710" class="LineNr">1710 </span>  compare remainder, <span class="Constant">0</span>
-<span id="L1711" class="LineNr">1711 </span>  <span class="Delimiter">{</span>
-<span id="L1712" class="LineNr">1712 </span>    <span class="PreProc">break-if-=</span>
-<span id="L1713" class="LineNr">1713 </span>    result <span class="Special">&lt;-</span> increment
-<span id="L1714" class="LineNr">1714 </span>  <span class="Delimiter">}</span>
-<span id="L1715" class="LineNr">1715 </span>  result <span class="Special">&lt;-</span> add <span class="Constant">2</span>/item-padding-ver
-<span id="L1716" class="LineNr">1716 </span>  compare result, <span class="Constant">6</span>/avatar-space-ver
-<span id="L1717" class="LineNr">1717 </span>  <span class="Delimiter">{</span>
-<span id="L1718" class="LineNr">1718 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L1719" class="LineNr">1719 </span>    <span class="PreProc">return</span> <span class="Constant">6</span>/avatar-space-ver
-<span id="L1720" class="LineNr">1720 </span>  <span class="Delimiter">}</span>
-<span id="L1721" class="LineNr">1721 </span>  <span class="PreProc">return</span> result
-<span id="L1722" class="LineNr">1722 </span><span class="Delimiter">}</span>
+<span id="L1681" class="LineNr">1681 </span>  result <span class="Special">&lt;-</span> add <span class="Constant">2</span>/item-padding-ver
+<span id="L1682" class="LineNr">1682 </span>  compare result, <span class="Constant">6</span>/avatar-space-ver
+<span id="L1683" class="LineNr">1683 </span>  <span class="Delimiter">{</span>
+<span id="L1684" class="LineNr">1684 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L1685" class="LineNr">1685 </span>    <span class="PreProc">return</span> <span class="Constant">6</span>/avatar-space-ver
+<span id="L1686" class="LineNr">1686 </span>  <span class="Delimiter">}</span>
+<span id="L1687" class="LineNr">1687 </span>  <span class="PreProc">return</span> result
+<span id="L1688" class="LineNr">1688 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>
diff --git a/html/browse-slack/main.mu.html b/html/browse-slack/main.mu.html
index 66334285..410ee14d 100644
--- a/html/browse-slack/main.mu.html
+++ b/html/browse-slack/main.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 - browse-slack/main.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -121,12 +121,12 @@ if ('onhashchange' in window) {
 <span id="L57" class="LineNr"> 57 </span>  <span class="PreProc">var</span> s/<span class="muRegEbx">ebx</span>: (addr stream byte) <span class="Special">&lt;-</span> copy _s
 <span id="L58" class="LineNr"> 58 </span>  <span class="PreProc">var</span> sector-count/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0x400</span>  <span class="muComment"># test_data</span>
 <span id="L59" class="LineNr"> 59 </span><span class="CommentedCode">#?   var sector-count/eax: int &lt;- copy 0x20000  # largest size tested; slow</span>
-<span id="L60" class="LineNr"> 60 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0</span>/y  <span class="muComment"># aborts clobber the screen starting x=0</span>
-<span id="L61" class="LineNr"> 61 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;loading &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L62" class="LineNr"> 62 </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>, sector-count, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L63" class="LineNr"> 63 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; sectors from data disk..&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L60" class="LineNr"> 60 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">0</span>/y  <span class="muComment"># aborts clobber the screen starting x=0</span>
+<span id="L61" class="LineNr"> 61 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;loading &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L62" class="LineNr"> 62 </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>, sector-count, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L63" class="LineNr"> 63 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; sectors from data disk..&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L64" class="LineNr"> 64 </span>  <a href='../510disk.mu.html#L1'>load-sectors</a> data-disk, <span class="Constant">0</span>/lba, sector-count, s
-<span id="L65" class="LineNr"> 65 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;done&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L65" class="LineNr"> 65 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;done&quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L66" class="LineNr"> 66 </span>  <span class="muComment"># parse global data structures out of the stream</span>
 <span id="L67" class="LineNr"> 67 </span>  <span class="PreProc">var</span> users-h: (handle array <a href='main.mu.html#L7'>user</a>)
 <span id="L68" class="LineNr"> 68 </span>  <span class="PreProc">var</span> users-ah/eax: (addr handle array <a href='main.mu.html#L7'>user</a>) <span class="Special">&lt;-</span> address users-h
@@ -146,14 +146,14 @@ if ('onhashchange' in window) {
 <span id="L82" class="LineNr"> 82 </span>  <span class="muComment"># render</span>
 <span id="L83" class="LineNr"> 83 </span>  <span class="PreProc">var</span> env-storage: <a href='environment.mu.html#L1'>environment</a>
 <span id="L84" class="LineNr"> 84 </span>  <span class="PreProc">var</span> env/<span class="muRegEbx">ebx</span>: (addr <a href='environment.mu.html#L1'>environment</a>) <span class="Special">&lt;-</span> address env-storage
-<span id="L85" class="LineNr"> 85 </span>  <a href='environment.mu.html#L46'>initialize-environment</a> env, items
+<span id="L85" class="LineNr"> 85 </span>  <a href='environment.mu.html#L48'>initialize-environment</a> env, items
 <span id="L86" class="LineNr"> 86 </span>  <span class="Delimiter">{</span>
-<span id="L87" class="LineNr"> 87 </span>    <a href='environment.mu.html#L67'>render-environment</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, users, channels, items
+<span id="L87" class="LineNr"> 87 </span>    <a href='environment.mu.html#L69'>render-environment</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env, users, channels, items
 <span id="L88" class="LineNr"> 88 </span>    <span class="Delimiter">{</span>
 <span id="L89" class="LineNr"> 89 </span>      <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='../102keyboard.subx.html#L21'>read-key</a> keyboard
 <span id="L90" class="LineNr"> 90 </span>      compare key, <span class="Constant">0</span>
 <span id="L91" class="LineNr"> 91 </span>      <span class="PreProc">loop-if-=</span>
-<span id="L92" class="LineNr"> 92 </span>      <a href='environment.mu.html#L766'>update-environment</a> env, key, users, channels, items
+<span id="L92" class="LineNr"> 92 </span>      <a href='environment.mu.html#L841'>update-environment</a> env, key, users, channels, items
 <span id="L93" class="LineNr"> 93 </span>    <span class="Delimiter">}</span>
 <span id="L94" class="LineNr"> 94 </span>    <span class="PreProc">loop</span>
 <span id="L95" class="LineNr"> 95 </span>  <span class="Delimiter">}</span>
@@ -176,12 +176,12 @@ if ('onhashchange' in window) {
 <span id="L112" class="LineNr">112 </span>    <span class="PreProc">var</span> c/eax: byte <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L47'>peek-byte</a> in
 <span id="L113" class="LineNr">113 </span>    compare c, <span class="Constant">0</span>
 <span id="L114" class="LineNr">114 </span>    <span class="PreProc">break-if-=</span>
-<span id="L115" class="LineNr">115 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">1</span>/y
-<span id="L116" class="LineNr">116 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;parsed &quot;</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L117" class="LineNr">117 </span>    <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, user-idx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L118" class="LineNr">118 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; users, &quot;</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L119" class="LineNr">119 </span>    <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, item-idx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L120" class="LineNr">120 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; posts/comments&quot;</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L115" class="LineNr">115 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span>/x <span class="Constant">1</span>/y
+<span id="L116" class="LineNr">116 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;parsed &quot;</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L117" class="LineNr">117 </span>    <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, user-idx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L118" class="LineNr">118 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; users, &quot;</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L119" class="LineNr">119 </span>    <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, item-idx, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L120" class="LineNr">120 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; posts/comments&quot;</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L121" class="LineNr">121 </span>    <a href='../106stream.subx.html#L20'>clear-stream</a> record
 <span id="L122" class="LineNr">122 </span>    <a href='main.mu.html#L142'>parse-record</a> in, record
 <span id="L123" class="LineNr">123 </span>    <span class="PreProc">var</span> user?/eax: boolean <span class="Special">&lt;-</span> <a href='main.mu.html#L178'>user-record?</a> record
@@ -208,9 +208,9 @@ if ('onhashchange' in window) {
 <span id="L144" class="LineNr">144 </span>  compare paren, <span class="Constant">0x28</span>/open-paren
 <span id="L145" class="LineNr">145 </span>  <span class="Delimiter">{</span>
 <span id="L146" class="LineNr">146 </span>    <span class="PreProc">break-if-=</span>
-<span id="L147" class="LineNr">147 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x10</span>
+<span id="L147" class="LineNr">147 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x10</span>
 <span id="L148" class="LineNr">148 </span>    <span class="PreProc">var</span> c/eax: int <span class="Special">&lt;-</span> copy paren
-<span id="L149" class="LineNr">149 </span>    <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen c, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
+<span id="L149" class="LineNr">149 </span>    <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen c, <span class="Constant">5</span>/fg <span class="Constant">0</span>/bg
 <span id="L150" class="LineNr">150 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;parse-record: (&quot;</span>
 <span id="L151" class="LineNr">151 </span>  <span class="Delimiter">}</span>
 <span id="L152" class="LineNr">152 </span>  <span class="PreProc">var</span> paren-int/eax: int <span class="Special">&lt;-</span> copy paren
diff --git a/html/font.subx.html b/html/font.subx.html
index 2f895d04..781adf4b 100644
--- a/html/font.subx.html
+++ b/html/font.subx.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 - font.subx</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; }
@@ -20,7 +20,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/mu-init.subx.html b/html/mu-init.subx.html
index f064c1fa..417cb811 100644
--- a/html/mu-init.subx.html
+++ b/html/mu-init.subx.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 - mu-init.subx</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; }
@@ -22,7 +22,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -78,9 +78,9 @@ if ('onhashchange' in window) {
 <span id="L22" class="LineNr">22 </span>    3d/compare-eax-and 0/imm32
 <span id="L23" class="LineNr">23 </span>    75/jump-if-!= <span class="Constant">break</span>/disp8
 <span id="L24" class="LineNr">24 </span>    c7 0/subop/copy *Running-tests? 0/imm32/false
-<span id="L25" class="LineNr">25 </span>    (<a href='500fake-screen.mu.html#L441'>clear-real-screen</a>)
-<span id="L26" class="LineNr">26 </span>    c7 0/subop/copy *<span class="SpecialChar"><a href='103glyph.subx.html#L401'>Real-screen-cursor-x</a></span> 0/imm32
-<span id="L27" class="LineNr">27 </span>    c7 0/subop/copy *<span class="SpecialChar"><a href='103glyph.subx.html#L403'>Real-screen-cursor-y</a></span> 0/imm32
+<span id="L25" class="LineNr">25 </span>    (<a href='500fake-screen.mu.html#L462'>clear-real-screen</a>)
+<span id="L26" class="LineNr">26 </span>    c7 0/subop/copy *<span class="SpecialChar"><a href='103glyph.subx.html#L415'>Real-screen-cursor-x</a></span> 0/imm32
+<span id="L27" class="LineNr">27 </span>    c7 0/subop/copy *<span class="SpecialChar"><a href='103glyph.subx.html#L417'>Real-screen-cursor-y</a></span> 0/imm32
 <span id="L28" class="LineNr">28 </span>    (main 0 0 <span class="SpecialChar"><a href='boot.subx.html#L735'>Primary-bus-secondary-drive</a></span>)
 <span id="L29" class="LineNr">29 </span>  }
 <span id="L30" class="LineNr">30 </span>
diff --git a/html/shell/cell.mu.html b/html/shell/cell.mu.html
index a589d091..618b296a 100644
--- a/html/shell/cell.mu.html
+++ b/html/shell/cell.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/cell.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -292,7 +292,7 @@ if ('onhashchange' in window) {
 <span id="L232" class="LineNr">232 </span>  <span class="Delimiter">}</span>
 <span id="L233" class="LineNr">233 </span>  <span class="PreProc">var</span> screen-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> get self, screen-data
 <span id="L234" class="LineNr">234 </span>  <span class="PreProc">var</span> <a href='../500fake-screen.mu.html#L14'>screen</a>/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-ah
-<span id="L235" class="LineNr">235 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L235" class="LineNr">235 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L236" class="LineNr">236 </span><span class="Delimiter">}</span>
 <span id="L237" class="LineNr">237 </span>
 <span id="L238" class="LineNr">238 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='cell.mu.html#L238'>allocate-keyboard</a></span> _out: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Delimiter">{</span>
@@ -334,7 +334,7 @@ if ('onhashchange' in window) {
 <span id="L274" class="LineNr">274 </span>  <span class="Delimiter">}</span>
 <span id="L275" class="LineNr">275 </span>  <span class="PreProc">var</span> keyboard-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, keyboard-data
 <span id="L276" class="LineNr">276 </span>  <span class="PreProc">var</span> keyboard/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *keyboard-ah
-<span id="L277" class="LineNr">277 </span>  <a href='../514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> keyboard
+<span id="L277" class="LineNr">277 </span>  <a href='../514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> keyboard
 <span id="L278" class="LineNr">278 </span><span class="Delimiter">}</span>
 <span id="L279" class="LineNr">279 </span>
 <span id="L280" class="LineNr">280 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='cell.mu.html#L280'>new-array</a></span> _out: (addr handle <a href='cell.mu.html#L1'>cell</a>), capacity: int <span class="Delimiter">{</span>
diff --git a/html/shell/environment.mu.html b/html/shell/environment.mu.html
index 64fd8d17..4d3742cc 100644
--- a/html/shell/environment.mu.html
+++ b/html/shell/environment.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/environment.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 */
@@ -246,8 +246,8 @@ if ('onhashchange' in window) {
 <span id="L181" class="LineNr"> 181 </span>    tmp <span class="Special">&lt;-</span> address args
 <span id="L182" class="LineNr"> 182 </span>    <a href='cell.mu.html#L142'>new-pair</a> tmp, <a href='main.mu.html#L4'>main</a>, *tmp
 <span id="L183" class="LineNr"> 183 </span>    <span class="muComment"># clear real screen</span>
-<span id="L184" class="LineNr"> 184 </span>    <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <span class="Constant">0</span>/screen
-<span id="L185" class="LineNr"> 185 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0</span>, <span class="Constant">0</span>
+<span id="L184" class="LineNr"> 184 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <span class="Constant">0</span>/screen
+<span id="L185" class="LineNr"> 185 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0</span>, <span class="Constant">0</span>
 <span id="L186" class="LineNr"> 186 </span>    <span class="muComment"># run</span>
 <span id="L187" class="LineNr"> 187 </span>    <span class="PreProc">var</span> out: (handle <a href='cell.mu.html#L1'>cell</a>)
 <span id="L188" class="LineNr"> 188 </span>    <span class="PreProc">var</span> out-ah/<span class="muRegEcx">ecx</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> address out
@@ -331,7 +331,7 @@ if ('onhashchange' in window) {
 <span id="L266" class="LineNr"> 266 </span>      <span class="muComment"># turn global name into a stream</span>
 <span id="L267" class="LineNr"> 267 </span>      <span class="PreProc">var</span> name-storage: (stream byte <span class="Constant">0x40</span>)
 <span id="L268" class="LineNr"> 268 </span>      <span class="PreProc">var</span> name/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address name-storage
-<span id="L269" class="LineNr"> 269 </span>      <a href='../514gap-buffer.mu.html#L83'>emit-gap-buffer</a> partial-global-name, name
+<span id="L269" class="LineNr"> 269 </span>      <a href='../514gap-buffer.mu.html#L82'>emit-gap-buffer</a> partial-global-name, name
 <span id="L270" class="LineNr"> 270 </span>      <span class="muComment"># compute global index</span>
 <span id="L271" class="LineNr"> 271 </span>      <span class="PreProc">var</span> curr-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='global.mu.html#L442'>find-symbol-in-globals</a> globals, name
 <span id="L272" class="LineNr"> 272 </span>      <span class="muComment"># if global not found, set error and return</span>
@@ -390,7 +390,7 @@ if ('onhashchange' in window) {
 <span id="L325" class="LineNr"> 325 </span>      <span class="muComment"># turn global name into a stream</span>
 <span id="L326" class="LineNr"> 326 </span>      <span class="PreProc">var</span> name-storage: (stream byte <span class="Constant">0x40</span>)
 <span id="L327" class="LineNr"> 327 </span>      <span class="PreProc">var</span> name/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address name-storage
-<span id="L328" class="LineNr"> 328 </span>      <a href='../514gap-buffer.mu.html#L83'>emit-gap-buffer</a> partial-global-name, name
+<span id="L328" class="LineNr"> 328 </span>      <a href='../514gap-buffer.mu.html#L82'>emit-gap-buffer</a> partial-global-name, name
 <span id="L329" class="LineNr"> 329 </span>      <span class="muComment"># compute global curr-index</span>
 <span id="L330" class="LineNr"> 330 </span>      <span class="PreProc">var</span> curr-index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='global.mu.html#L442'>find-symbol-in-globals</a> globals, name
 <span id="L331" class="LineNr"> 331 </span>      <span class="muComment"># if global found, set error and return</span>
@@ -419,7 +419,7 @@ if ('onhashchange' in window) {
 <span id="L354" class="LineNr"> 354 </span>    <span class="muComment"># otherwise process like a regular gap-buffer</span>
 <span id="L355" class="LineNr"> 355 </span>    <span class="PreProc">var</span> partial-global-name-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, partial-global-name
 <span id="L356" class="LineNr"> 356 </span>    <span class="PreProc">var</span> partial-global-name/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *partial-global-name-ah
-<span id="L357" class="LineNr"> 357 </span>    <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> partial-global-name, key
+<span id="L357" class="LineNr"> 357 </span>    <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> partial-global-name, key
 <span id="L358" class="LineNr"> 358 </span>    <span class="PreProc">return</span>
 <span id="L359" class="LineNr"> 359 </span>  <span class="Delimiter">}</span>
 <span id="L360" class="LineNr"> 360 </span>  <span class="muComment"># ctrl-g: go to a global (or the repl)</span>
@@ -433,7 +433,7 @@ if ('onhashchange' in window) {
 <span id="L368" class="LineNr"> 368 </span>    <span class="PreProc">var</span> partial-global-name-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, partial-global-name
 <span id="L369" class="LineNr"> 369 </span>    <span class="PreProc">var</span> partial-global-name/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *partial-global-name-ah
 <span id="L370" class="LineNr"> 370 </span>    <a href='../514gap-buffer.mu.html#L19'>clear-gap-buffer</a> partial-global-name
-<span id="L371" class="LineNr"> 371 </span>    <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> partial-global-name, current-word
+<span id="L371" class="LineNr"> 371 </span>    <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> partial-global-name, current-word
 <span id="L372" class="LineNr"> 372 </span>    <span class="muComment"># enable the modal</span>
 <span id="L373" class="LineNr"> 373 </span>    <span class="PreProc">var</span> cursor-in-go-modal-a/eax: (addr boolean) <span class="Special">&lt;-</span> get self, cursor-in-go-modal?
 <span id="L374" class="LineNr"> 374 </span>    copy-to *cursor-in-go-modal-a, <span class="Constant">1</span>/true
@@ -927,10 +927,10 @@ if ('onhashchange' in window) {
 <span id="L862" class="LineNr"> 862 </span>  tmp <span class="Special">&lt;-</span> add <span class="Constant">3</span>
 <span id="L863" class="LineNr"> 863 </span>  copy-to ymax, tmp
 <span id="L864" class="LineNr"> 864 </span>  <span class="muComment">#</span>
-<span id="L865" class="LineNr"> 865 </span>  <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xf</span>/bg=modal
+<span id="L865" class="LineNr"> 865 </span>  <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xf</span>/bg=modal
 <span id="L866" class="LineNr"> 866 </span>  add-to xmin, <span class="Constant">4</span>
-<span id="L867" class="LineNr"> 867 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin
-<span id="L868" class="LineNr"> 868 </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">&quot;go to <a href='global.mu.html#L8'>global</a> (or leave blank to go to REPL)&quot;</span>, xmax, <span class="Constant">8</span>/fg=dark-grey, <span class="Constant">0xf</span>/bg=modal
+<span id="L867" class="LineNr"> 867 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin
+<span id="L868" class="LineNr"> 868 </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">&quot;go to <a href='global.mu.html#L8'>global</a> (or leave blank to go to REPL)&quot;</span>, xmax, <span class="Constant">8</span>/fg=dark-grey, <span class="Constant">0xf</span>/bg=modal
 <span id="L869" class="LineNr"> 869 </span>  <span class="PreProc">var</span> partial-global-name-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, partial-global-name
 <span id="L870" class="LineNr"> 870 </span>  <span class="PreProc">var</span> _partial-global-name/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *partial-global-name-ah
 <span id="L871" class="LineNr"> 871 </span>  <span class="PreProc">var</span> partial-global-name/<span class="muRegEdx">edx</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _partial-global-name
@@ -941,12 +941,12 @@ if ('onhashchange' in window) {
 <span id="L876" class="LineNr"> 876 </span>    <span class="PreProc">var</span> go-modal-error/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *go-modal-error-ah
 <span id="L877" class="LineNr"> 877 </span>    compare go-modal-error, <span class="Constant">0</span>
 <span id="L878" class="LineNr"> 878 </span>    <span class="PreProc">break-if-=</span>
-<span id="L879" class="LineNr"> 879 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, go-modal-error, xmin, xmax, ymin, <span class="Constant">4</span>/fg=<span class="Special"><a href='trace.mu.html#L197'>error</a></span>, <span class="Constant">0xf</span>/bg=modal
+<span id="L879" class="LineNr"> 879 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, go-modal-error, xmin, xmax, ymin, <span class="Constant">4</span>/fg=<span class="Special"><a href='trace.mu.html#L197'>error</a></span>, <span class="Constant">0xf</span>/bg=modal
 <span id="L880" class="LineNr"> 880 </span>  <span class="Delimiter">}</span>
 <span id="L881" class="LineNr"> 881 </span>  increment ymin
 <span id="L882" class="LineNr"> 882 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L883" class="LineNr"> 883 </span>  <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L884" class="LineNr"> 884 </span>  dummy, dummy2 <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, partial-global-name, xmin, ymin, xmax, ymax, <span class="Constant">1</span>/always-render-cursor, <span class="Constant">0</span>/fg=black, <span class="Constant">0xf</span>/bg=modal
+<span id="L884" class="LineNr"> 884 </span>  dummy, dummy2 <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, partial-global-name, xmin, ymin, xmax, ymax, <span class="Constant">1</span>/always-render-cursor, <span class="Constant">0</span>/fg=black, <span class="Constant">0xf</span>/bg=modal
 <span id="L885" class="LineNr"> 885 </span><span class="Delimiter">}</span>
 <span id="L886" class="LineNr"> 886 </span>
 <span id="L887" class="LineNr"> 887 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L887'>render-go-modal-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='environment.mu.html#L8'>environment</a>) <span class="Delimiter">{</span>
@@ -959,24 +959,24 @@ if ('onhashchange' in window) {
 <span id="L894" class="LineNr"> 894 </span>  y <span class="Special">&lt;-</span> decrement
 <span id="L895" class="LineNr"> 895 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L896" class="LineNr"> 896 </span>  height <span class="Special">&lt;-</span> increment
-<span id="L897" class="LineNr"> 897 </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="L898" class="LineNr"> 898 </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="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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</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">&quot; enter &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xc</span>/bg=menu-really-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">&quot; go  &quot;</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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xc</span>/bg=menu-really-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">&quot; create  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L905" class="LineNr"> 905 </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">&quot; esc &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L906" class="LineNr"> 906 </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">&quot; cancel  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L907" class="LineNr"> 907 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L908" class="LineNr"> 908 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L909" class="LineNr"> 909 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L910" class="LineNr"> 910 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L911" class="LineNr"> 911 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L912" class="LineNr"> 912 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L913" class="LineNr"> 913 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L914" class="LineNr"> 914 </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">&quot; &gt;&gt;  &quot;</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='../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="L898" class="LineNr"> 898 </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="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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</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">&quot; enter &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xc</span>/bg=menu-really-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">&quot; go  &quot;</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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xc</span>/bg=menu-really-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">&quot; create  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L905" class="LineNr"> 905 </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">&quot; esc &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L906" class="LineNr"> 906 </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">&quot; cancel  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L907" class="LineNr"> 907 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L908" class="LineNr"> 908 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L909" class="LineNr"> 909 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L910" class="LineNr"> 910 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L911" class="LineNr"> 911 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L912" class="LineNr"> 912 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L913" class="LineNr"> 913 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L914" class="LineNr"> 914 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L915" class="LineNr"> 915 </span><span class="Delimiter">}</span>
 <span id="L916" class="LineNr"> 916 </span>
 <span id="L917" class="LineNr"> 917 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L917'>word-at-cursor</a></span> _self: (addr <a href='environment.mu.html#L8'>environment</a>), out: (addr stream byte) <span class="Delimiter">{</span>
@@ -1001,14 +1001,14 @@ if ('onhashchange' in window) {
 <span id="L936" class="LineNr"> 936 </span>    <span class="PreProc">var</span> curr-global/eax: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special">&lt;-</span> index globals-data, cursor-offset
 <span id="L937" class="LineNr"> 937 </span>    <span class="PreProc">var</span> curr-global-data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get curr-global, input
 <span id="L938" class="LineNr"> 938 </span>    <span class="PreProc">var</span> curr-global-data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-global-data-ah
-<span id="L939" class="LineNr"> 939 </span>    <a href='../514gap-buffer.mu.html#L133'>word-at-gap</a> curr-global-data, out
+<span id="L939" class="LineNr"> 939 </span>    <a href='../514gap-buffer.mu.html#L132'>word-at-gap</a> curr-global-data, out
 <span id="L940" class="LineNr"> 940 </span>    <span class="PreProc">return</span>
 <span id="L941" class="LineNr"> 941 </span>  <span class="Delimiter">}</span>
 <span id="L942" class="LineNr"> 942 </span>  <span class="muComment"># cursor in sandbox</span>
 <span id="L943" class="LineNr"> 943 </span>  <span class="PreProc">var</span> <a href='sandbox.mu.html#L1'>sandbox</a>/<span class="muRegEcx">ecx</span>: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special">&lt;-</span> get self, <a href='sandbox.mu.html#L1'>sandbox</a>
 <span id="L944" class="LineNr"> 944 </span>  <span class="PreProc">var</span> sandbox-data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get <a href='sandbox.mu.html#L1'>sandbox</a>, data
 <span id="L945" class="LineNr"> 945 </span>  <span class="PreProc">var</span> sandbox-data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *sandbox-data-ah
-<span id="L946" class="LineNr"> 946 </span>  <a href='../514gap-buffer.mu.html#L133'>word-at-gap</a> sandbox-data, out
+<span id="L946" class="LineNr"> 946 </span>  <a href='../514gap-buffer.mu.html#L132'>word-at-gap</a> sandbox-data, out
 <span id="L947" class="LineNr"> 947 </span><span class="Delimiter">}</span>
 <span id="L948" class="LineNr"> 948 </span>
 <span id="L949" class="LineNr"> 949 </span><span class="muComment"># Gotcha: some saved state may not load.</span>
@@ -1017,18 +1017,18 @@ if ('onhashchange' in window) {
 <span id="L952" class="LineNr"> 952 </span>  <span class="muComment"># data-disk -&gt; stream</span>
 <span id="L953" class="LineNr"> 953 </span>  <span class="PreProc">var</span> s-storage: (stream byte <span class="Constant">0x40000</span>)  <span class="muComment"># space for 0x200/sectors</span>
 <span id="L954" class="LineNr"> 954 </span>  <span class="PreProc">var</span> s/<span class="muRegEbx">ebx</span>: (addr stream byte) <span class="Special">&lt;-</span> address s-storage
-<span id="L955" class="LineNr"> 955 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;loading sectors from data disk&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L955" class="LineNr"> 955 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;loading sectors from data disk&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L956" class="LineNr"> 956 </span>  <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L957" class="LineNr"> 957 </span>  <a href='../510disk.mu.html#L1'>load-sectors</a> data-disk, <span class="Constant">0</span>/lba, <span class="Constant">0x200</span>/sectors, s
 <span id="L958" class="LineNr"> 958 </span><span class="CommentedCode">#?   draw-stream-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, s, 7/fg, 0xc5/bg=blue-bg</span>
 <span id="L959" class="LineNr"> 959 </span>  <span class="muComment"># stream -&gt; gap-buffer (HACK: we temporarily cannibalize the sandbox's gap-buffer)</span>
-<span id="L960" class="LineNr"> 960 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;parsing&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L960" class="LineNr"> 960 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;parsing&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L961" class="LineNr"> 961 </span>  <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L962" class="LineNr"> 962 </span>  <span class="PreProc">var</span> <a href='sandbox.mu.html#L1'>sandbox</a>/eax: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special">&lt;-</span> get self, <a href='sandbox.mu.html#L1'>sandbox</a>
 <span id="L963" class="LineNr"> 963 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get <a href='sandbox.mu.html#L1'>sandbox</a>, data
 <span id="L964" class="LineNr"> 964 </span>  <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L965" class="LineNr"> 965 </span>  <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> data, s
-<span id="L966" class="LineNr"> 966 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;  into gap buffer&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L965" class="LineNr"> 965 </span>  <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> data, s
+<span id="L966" class="LineNr"> 966 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;  into gap buffer&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L967" class="LineNr"> 967 </span>  <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L968" class="LineNr"> 968 </span>  <a href='../106stream.subx.html#L20'>clear-stream</a> s
 <span id="L969" class="LineNr"> 969 </span>  <span class="muComment"># read: gap-buffer -&gt; cell</span>
@@ -1038,7 +1038,7 @@ if ('onhashchange' in window) {
 <span id="L973" class="LineNr"> 973 </span>  <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr trace) <span class="Special">&lt;-</span> address trace-storage
 <span id="L974" class="LineNr"> 974 </span>  <a href='trace.mu.html#L61'>initialize-trace</a> trace, <span class="Constant">1</span>/only-errors, <span class="Constant">0x10</span>/capacity, <span class="Constant">0</span>/visible
 <span id="L975" class="LineNr"> 975 </span>  <a href='read.mu.html#L1'>read-cell</a> data, initial-root, trace
-<span id="L976" class="LineNr"> 976 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;  into s-expressions&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L976" class="LineNr"> 976 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;  into s-expressions&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L977" class="LineNr"> 977 </span>  <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L978" class="LineNr"> 978 </span>  <a href='../514gap-buffer.mu.html#L19'>clear-gap-buffer</a> data
 <span id="L979" class="LineNr"> 979 </span>  <span class="muComment">#</span>
@@ -1065,7 +1065,7 @@ if ('onhashchange' in window) {
 <span id="L1000" class="LineNr">1000 </span>    <a href='global.mu.html#L30'>load-globals</a> globals-cell-ah, globals
 <span id="L1001" class="LineNr">1001 </span>  <span class="Delimiter">}</span>
 <span id="L1002" class="LineNr">1002 </span>  <span class="muComment"># sandbox = assoc(initial-root, 'sandbox)</span>
-<span id="L1003" class="LineNr">1003 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;loading sandbox&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L1003" class="LineNr">1003 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;loading sandbox&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L1004" class="LineNr">1004 </span>  <span class="PreProc">var</span> sandbox-literal-storage: (handle <a href='cell.mu.html#L1'>cell</a>)
 <span id="L1005" class="LineNr">1005 </span>  <span class="PreProc">var</span> sandbox-literal-ah/eax: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> address sandbox-literal-storage
 <span id="L1006" class="LineNr">1006 </span>  <a href='cell.mu.html#L43'>new-symbol</a> sandbox-literal-ah, <span class="Constant">&quot;sandbox&quot;</span>
@@ -1085,7 +1085,7 @@ if ('onhashchange' in window) {
 <span id="L1020" class="LineNr">1020 </span>    <span class="PreProc">var</span> <a href='sandbox.mu.html#L1'>sandbox</a>/eax: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special">&lt;-</span> get self, <a href='sandbox.mu.html#L1'>sandbox</a>
 <span id="L1021" class="LineNr">1021 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get <a href='sandbox.mu.html#L1'>sandbox</a>, data
 <span id="L1022" class="LineNr">1022 </span>    <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L1023" class="LineNr">1023 </span>    <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> data, sandbox-data
+<span id="L1023" class="LineNr">1023 </span>    <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> data, sandbox-data
 <span id="L1024" class="LineNr">1024 </span>  <span class="Delimiter">}</span>
 <span id="L1025" class="LineNr">1025 </span><span class="Delimiter">}</span>
 <span id="L1026" class="LineNr">1026 </span>
diff --git a/html/shell/evaluate.mu.html b/html/shell/evaluate.mu.html
index 9e8da3c1..898593d0 100644
--- a/html/shell/evaluate.mu.html
+++ b/html/shell/evaluate.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/evaluate.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; }
@@ -32,7 +32,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -83,9 +83,9 @@ if ('onhashchange' in window) {
 <span id="L17" class="LineNr">  17 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L18" class="LineNr">  18 </span>    <span class="PreProc">var</span> old-x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L19" class="LineNr">  19 </span>    <span class="PreProc">var</span> old-y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L20" class="LineNr">  20 </span>    old-x, old-y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L230'>cursor-position</a> <span class="Constant">0</span>/screen
+<span id="L20" class="LineNr">  20 </span>    old-x, old-y <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L251'>cursor-position</a> <span class="Constant">0</span>/screen
 <span id="L21" class="LineNr">  21 </span>    <a href='../315stack-debug.subx.html#L26'>show-stack-state</a>
-<span id="L22" class="LineNr">  22 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, old-x, old-y
+<span id="L22" class="LineNr">  22 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, old-x, old-y
 <span id="L23" class="LineNr">  23 </span>  <span class="Delimiter">}</span>
 <span id="L24" class="LineNr">  24 </span>  <span class="muComment"># show intermediate progress on screen if necessary</span>
 <span id="L25" class="LineNr">  25 </span>  <span class="muComment"># treat input at the real keyboard as interrupting</span>
@@ -128,7 +128,7 @@ if ('onhashchange' in window) {
 <span id="L62" class="LineNr">  62 </span><span class="CommentedCode">#?     compare foo, 0</span>
 <span id="L63" class="LineNr">  63 </span><span class="CommentedCode">#?     loop-if-=</span>
 <span id="L64" class="LineNr">  64 </span><span class="CommentedCode">#?   }</span>
-<span id="L65" class="Folded">  65 </span><span class="Folded">+-- 19 lines: # trace &quot;evaluate &quot; in &quot; in environment &quot; env ---------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L65" class="Folded">  65 </span><span class="Folded">+-- 19 lines: # trace &quot;evaluate &quot; in &quot; in environment &quot; env -----------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L84" class="LineNr">  84 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L85" class="LineNr">  85 </span>  <span class="PreProc">var</span> in/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *in-ah
 <span id="L86" class="LineNr">  86 </span>  <span class="Delimiter">{</span>
@@ -652,7 +652,7 @@ if ('onhashchange' in window) {
 <span id="L604" class="LineNr"> 604 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
 <span id="L605" class="LineNr"> 605 </span>    <span class="PreProc">return</span>
 <span id="L606" class="LineNr"> 606 </span>  <span class="Delimiter">}</span>
-<span id="L607" class="Folded"> 607 </span><span class="Folded">+-- 15 lines: # trace &quot;evaluate function call elements in &quot; in ------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L607" class="Folded"> 607 </span><span class="Folded">+-- 15 lines: # trace &quot;evaluate function call elements in &quot; in --------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L622" class="LineNr"> 622 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L623" class="LineNr"> 623 </span>  <span class="PreProc">var</span> evaluated-list-storage: (handle <a href='cell.mu.html#L1'>cell</a>)
 <span id="L624" class="LineNr"> 624 </span>  <span class="PreProc">var</span> evaluated-list-ah/<span class="muRegEsi">esi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> address evaluated-list-storage
@@ -694,7 +694,7 @@ if ('onhashchange' in window) {
 <span id="L660" class="LineNr"> 660 </span>  <a href='evaluate.mu.html#L681'>apply</a> function-ah, args-ah, _out-ah, globals, trace, inner-screen-var, inner-keyboard-var, definitions-created, call-number
 <span id="L661" class="LineNr"> 661 </span>  <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;Y&quot;</span>, <span class="Constant">4</span>/fg, <span class="Constant">0</span>/bg
 <span id="L662" class="LineNr"> 662 </span>  <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L663" class="Folded"> 663 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; _out-ah ---------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L663" class="Folded"> 663 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; _out-ah -----------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L678" class="LineNr"> 678 </span>  <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;Z&quot;</span>, <span class="Constant">4</span>/fg, <span class="Constant">0</span>/bg
 <span id="L679" class="LineNr"> 679 </span><span class="Delimiter">}</span>
 <span id="L680" class="LineNr"> 680 </span>
@@ -711,7 +711,7 @@ if ('onhashchange' in window) {
 <span id="L691" class="LineNr"> 691 </span>    <span class="PreProc">return</span>
 <span id="L692" class="LineNr"> 692 </span>  <span class="Delimiter">}</span>
 <span id="L693" class="LineNr"> 693 </span>  <span class="muComment"># if it's not a primitive function it must be an anonymous function</span>
-<span id="L694" class="Folded"> 694 </span><span class="Folded">+-- 19 lines: # trace &quot;apply anonymous function &quot; f &quot; in environment &quot; env ------------------------------------------------------------------------------------------------------------</span>
+<span id="L694" class="Folded"> 694 </span><span class="Folded">+-- 19 lines: # trace &quot;apply anonymous function &quot; f &quot; in environment &quot; env --------------------------------------------------------------------------------------------------------------</span>
 <span id="L713" class="LineNr"> 713 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L714" class="LineNr"> 714 </span>  <span class="Delimiter">{</span>
 <span id="L715" class="LineNr"> 715 </span>    <span class="PreProc">var</span> f-type/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get f, <span class="PreProc">type</span>
@@ -812,7 +812,7 @@ if ('onhashchange' in window) {
 <span id="L810" class="LineNr"> 810 </span>    <span class="PreProc">return</span>
 <span id="L811" class="LineNr"> 811 </span>  <span class="Delimiter">}</span>
 <span id="L812" class="LineNr"> 812 </span>  <span class="muComment"># Params can only be symbols or pairs. Args can be anything.</span>
-<span id="L813" class="Folded"> 813 </span><span class="Folded">+-- 28 lines: # trace &quot;pushing bindings from &quot; params &quot; to &quot; args ---------------------------------------------------------------------------------------------------------------------</span>
+<span id="L813" class="Folded"> 813 </span><span class="Folded">+-- 28 lines: # trace &quot;pushing bindings from &quot; params &quot; to &quot; args -----------------------------------------------------------------------------------------------------------------------</span>
 <span id="L841" class="LineNr"> 841 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L842" class="LineNr"> 842 </span>  <span class="PreProc">var</span> params-type/eax: (addr int) <span class="Special">&lt;-</span> get params, <span class="PreProc">type</span>
 <span id="L843" class="LineNr"> 843 </span>  compare *params-type, <span class="Constant">2</span>/symbol
@@ -919,7 +919,7 @@ if ('onhashchange' in window) {
 <span id="L944" class="LineNr"> 944 </span>    <a href='global.mu.html#L369'>lookup-symbol-in-globals</a> sym, out, globals, trace, inner-screen-var, inner-keyboard-var
 <span id="L945" class="LineNr"> 945 </span>    <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;x&quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
 <span id="L946" class="LineNr"> 946 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L947" class="Folded"> 947 </span><span class="Folded">+-- 23 lines: # trace &quot;=&gt; &quot; out &quot; (global)&quot; -------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L947" class="Folded"> 947 </span><span class="Folded">+-- 23 lines: # trace &quot;=&gt; &quot; out &quot; (global)&quot; ---------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L970" class="LineNr"> 970 </span>    <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;y&quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
 <span id="L971" class="LineNr"> 971 </span>    <span class="PreProc">return</span>
 <span id="L972" class="LineNr"> 972 </span>  <span class="Delimiter">}</span>
@@ -958,7 +958,7 @@ if ('onhashchange' in window) {
 <span id="L1005" class="LineNr">1005 </span>  <span class="Delimiter">{</span>
 <span id="L1006" class="LineNr">1006 </span>    <span class="PreProc">break-if-=</span>
 <span id="L1007" class="LineNr">1007 </span>    <a href='evaluate.mu.html#L1265'>cdr</a> env-head, out, trace
-<span id="L1008" class="Folded">1008 </span><span class="Folded">+-- 23 lines: # trace &quot;=&gt; &quot; out &quot; (match)&quot; --------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L1008" class="Folded">1008 </span><span class="Folded">+-- 23 lines: # trace &quot;=&gt; &quot; out &quot; (match)&quot; ----------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L1031" class="LineNr">1031 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
 <span id="L1032" class="LineNr">1032 </span>    <span class="PreProc">return</span>
 <span id="L1033" class="LineNr">1033 </span>  <span class="Delimiter">}</span>
@@ -968,7 +968,7 @@ if ('onhashchange' in window) {
 <span id="L1037" class="LineNr">1037 </span>  <a href='evaluate.mu.html#L1265'>cdr</a> env, env-tail-ah, trace
 <span id="L1038" class="LineNr">1038 </span>  <a href='evaluate.mu.html#L900'>lookup-symbol</a> sym, out, *env-tail-ah, globals, trace, inner-screen-var, inner-keyboard-var
 <span id="L1039" class="LineNr">1039 </span>  <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L1040" class="Folded">1040 </span><span class="Folded">+-- 23 lines: # trace &quot;=&gt; &quot; out &quot; (recurse)&quot; ------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L1040" class="Folded">1040 </span><span class="Folded">+-- 23 lines: # trace &quot;=&gt; &quot; out &quot; (recurse)&quot; --------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L1063" class="LineNr">1063 </span><span class="Delimiter">}</span>
 <span id="L1064" class="LineNr">1064 </span>
 <span id="L1065" class="LineNr">1065 </span><span class="PreProc">fn</span> <span class="muTest"><a href='evaluate.mu.html#L1065'>test-lookup-symbol-in-env</a></span> <span class="Delimiter">{</span>
@@ -1071,7 +1071,7 @@ if ('onhashchange' in window) {
 <span id="L1162" class="LineNr">1162 </span>    <a href='global.mu.html#L504'>mutate-binding-in-globals</a> name, val, globals, trace
 <span id="L1163" class="LineNr">1163 </span>    <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;x&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L1164" class="LineNr">1164 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L1165" class="Folded">1165 </span><span class="Folded">+-- 19 lines: # trace &quot;=&gt; &quot; val &quot; (global)&quot; -------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L1165" class="Folded">1165 </span><span class="Folded">+-- 19 lines: # trace &quot;=&gt; &quot; val &quot; (global)&quot; ---------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L1184" class="LineNr">1184 </span>    <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;y&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L1185" class="LineNr">1185 </span>    <span class="PreProc">return</span>
 <span id="L1186" class="LineNr">1186 </span>  <span class="Delimiter">}</span>
@@ -1310,7 +1310,7 @@ if ('onhashchange' in window) {
 <span id="L1419" class="LineNr">1419 </span>    <span class="PreProc">var</span> a-val/<span class="muRegEcx">ecx</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _a-val
 <span id="L1420" class="LineNr">1420 </span>    <span class="PreProc">var</span> b-val-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get b, keyboard-data
 <span id="L1421" class="LineNr">1421 </span>    <span class="PreProc">var</span> b-val/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *b-val-ah
-<span id="L1422" class="LineNr">1422 </span>    <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> a-val, b-val
+<span id="L1422" class="LineNr">1422 </span>    <span class="PreProc">var</span> result/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> a-val, b-val
 <span id="L1423" class="LineNr">1423 </span>    <span class="PreProc">return</span> result
 <span id="L1424" class="LineNr">1424 </span>  <span class="Delimiter">}</span>
 <span id="L1425" class="LineNr">1425 </span>  <span class="muComment"># if objects are arrays, check if they have the same contents</span>
diff --git a/html/shell/global.mu.html b/html/shell/global.mu.html
index 30f5ce0c..71d3db10 100644
--- a/html/shell/global.mu.html
+++ b/html/shell/global.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/global.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -91,7 +91,7 @@ if ('onhashchange' in window) {
 <span id="L28" class="LineNr"> 28 </span><span class="Delimiter">}</span>
 <span id="L29" class="LineNr"> 29 </span>
 <span id="L30" class="LineNr"> 30 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L30'>load-globals</a></span> in: (addr handle <a href='cell.mu.html#L1'>cell</a>), self: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Delimiter">{</span>
-<span id="L31" class="LineNr"> 31 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;loading globals:&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L31" class="LineNr"> 31 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;loading globals:&quot;</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L32" class="LineNr"> 32 </span>  <span class="PreProc">var</span> remaining-ah/<span class="muRegEsi">esi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> copy in
 <span id="L33" class="LineNr"> 33 </span>  <span class="Delimiter">{</span>
 <span id="L34" class="LineNr"> 34 </span>    <span class="PreProc">var</span> _remaining/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *remaining-ah
@@ -109,8 +109,8 @@ if ('onhashchange' in window) {
 <span id="L46" class="LineNr"> 46 </span>    <span class="PreProc">var</span> _name-data/eax: (addr stream byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-data-ah
 <span id="L47" class="LineNr"> 47 </span>    <span class="PreProc">var</span> name-data/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> copy _name-data
 <span id="L48" class="LineNr"> 48 </span>    <a href='../106stream.subx.html#L59'>rewind-stream</a> name-data
-<span id="L49" class="LineNr"> 49 </span>    <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
-<span id="L50" class="LineNr"> 50 </span>    <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, name-data, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L49" class="LineNr"> 49 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L50" class="LineNr"> 50 </span>    <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, name-data, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L51" class="LineNr"> 51 </span>    <span class="PreProc">var</span> value-ah/eax: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> get curr, right
 <span id="L52" class="LineNr"> 52 </span>    <span class="PreProc">var</span> value/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *value-ah
 <span id="L53" class="LineNr"> 53 </span>    <span class="PreProc">var</span> value-data-ah/eax: (addr handle stream byte) <span class="Special">&lt;-</span> get value, text-data
@@ -121,7 +121,7 @@ if ('onhashchange' in window) {
 <span id="L58" class="LineNr"> 58 </span>    <a href='../120allocate.subx.html#L43'>allocate</a> value-gap-buffer-ah
 <span id="L59" class="LineNr"> 59 </span>    <span class="PreProc">var</span> value-gap-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *value-gap-buffer-ah
 <span id="L60" class="LineNr"> 60 </span>    <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> value-gap-buffer, <span class="Constant">0x40000</span>/256KB
-<span id="L61" class="LineNr"> 61 </span>    <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> value-gap-buffer, value-data
+<span id="L61" class="LineNr"> 61 </span>    <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> value-gap-buffer, value-data
 <span id="L62" class="LineNr"> 62 </span>    <a href='global.mu.html#L558'>load-lexical-scope</a> value-gap-buffer-ah, self
 <span id="L63" class="LineNr"> 63 </span>    <span class="PreProc">loop</span>
 <span id="L64" class="LineNr"> 64 </span>  <span class="Delimiter">}</span>
@@ -168,7 +168,7 @@ if ('onhashchange' in window) {
 <span id="L105" class="LineNr">105 </span>        <span class="PreProc">break-if-!=</span>
 <span id="L106" class="LineNr">106 </span>        <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;null gap buffer&quot;</span>
 <span id="L107" class="LineNr">107 </span>      <span class="Delimiter">}</span>
-<span id="L108" class="LineNr">108 </span>      <a href='../514gap-buffer.mu.html#L88'>append-gap-buffer</a> curr-input, out
+<span id="L108" class="LineNr">108 </span>      <a href='../514gap-buffer.mu.html#L87'>append-gap-buffer</a> curr-input, out
 <span id="L109" class="LineNr">109 </span>      <a href='../108write.subx.html#L11'>write</a> out, <span class="Constant">&quot;])\n&quot;</span>
 <span id="L110" class="LineNr">110 </span>    <span class="Delimiter">}</span>
 <span id="L111" class="LineNr">111 </span>    curr-index <span class="Special">&lt;-</span> increment
@@ -179,7 +179,7 @@ if ('onhashchange' in window) {
 <span id="L116" class="LineNr">116 </span>
 <span id="L117" class="LineNr">117 </span><span class="muComment"># globals layout: 1 char padding, 41 code, 1 padding, 41 code, 1 padding = 85 chars</span>
 <span id="L118" class="LineNr">118 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L118'>render-globals</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L1'>global-table</a>), show-cursor?: boolean <span class="Delimiter">{</span>
-<span id="L119" class="LineNr">119 </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>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax=screen-height-without-menu, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L119" class="LineNr">119 </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>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax=screen-height-without-menu, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L120" class="LineNr">120 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L121" class="LineNr">121 </span>  compare self, <span class="Constant">0</span>
 <span id="L122" class="LineNr">122 </span>  <span class="Delimiter">{</span>
@@ -245,14 +245,14 @@ if ('onhashchange' in window) {
 <span id="L182" class="LineNr">182 </span>        compare y, y2
 <span id="L183" class="LineNr">183 </span>        <span class="Delimiter">{</span>
 <span id="L184" class="LineNr">184 </span>          <span class="PreProc">break-if-&gt;=</span>
-<span id="L185" class="LineNr">185 </span>          x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">1</span>/padding-left, y1, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L185" class="LineNr">185 </span>          x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">1</span>/padding-left, y1, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L186" class="LineNr">186 </span>          y <span class="Special">&lt;-</span> increment
 <span id="L187" class="LineNr">187 </span>          y <span class="Special">&lt;-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-trace, <span class="Constant">1</span>/padding-left, y, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor
 <span id="L188" class="LineNr">188 </span>          y <span class="Special">&lt;-</span> increment
 <span id="L189" class="LineNr">189 </span>          copy-to y1, y
 <span id="L190" class="LineNr">190 </span>          <span class="PreProc">break</span> $render-globals:render-global
 <span id="L191" class="LineNr">191 </span>        <span class="Delimiter">}</span>
-<span id="L192" class="LineNr">192 </span>        x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">0x2b</span>/xmin, y2, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L192" class="LineNr">192 </span>        x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">0x2b</span>/xmin, y2, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L193" class="LineNr">193 </span>        y <span class="Special">&lt;-</span> increment
 <span id="L194" class="LineNr">194 </span>        y <span class="Special">&lt;-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-trace, <span class="Constant">0x2b</span>/xmin, y, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor
 <span id="L195" class="LineNr">195 </span>        y <span class="Special">&lt;-</span> increment
@@ -275,22 +275,22 @@ if ('onhashchange' in window) {
 <span id="L212" class="LineNr">212 </span>  y <span class="Special">&lt;-</span> decrement
 <span id="L213" class="LineNr">213 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L214" class="LineNr">214 </span>  height <span class="Special">&lt;-</span> increment
-<span id="L215" class="LineNr">215 </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="L216" class="LineNr">216 </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="L217" class="LineNr">217 </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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L218" class="LineNr">218 </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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L219" class="LineNr">219 </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">&quot; ^s &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L220" class="LineNr">220 </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">&quot; run <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L221" class="LineNr">221 </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">&quot; ^g &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L222" class="LineNr">222 </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">&quot; go to  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L223" class="LineNr">223 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L224" class="LineNr">224 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L225" class="LineNr">225 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L226" class="LineNr">226 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L227" class="LineNr">227 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L228" class="LineNr">228 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L229" class="LineNr">229 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L230" class="LineNr">230 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L215" class="LineNr">215 </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="L216" class="LineNr">216 </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="L217" class="LineNr">217 </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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L218" class="LineNr">218 </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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L219" class="LineNr">219 </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">&quot; ^s &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L220" class="LineNr">220 </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">&quot; run <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L221" class="LineNr">221 </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">&quot; ^g &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L222" class="LineNr">222 </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">&quot; go to  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L223" class="LineNr">223 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L224" class="LineNr">224 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L225" class="LineNr">225 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L226" class="LineNr">226 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L227" class="LineNr">227 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L228" class="LineNr">228 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L229" class="LineNr">229 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L230" class="LineNr">230 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L231" class="LineNr">231 </span><span class="Delimiter">}</span>
 <span id="L232" class="LineNr">232 </span>
 <span id="L233" class="LineNr">233 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L233'>edit-globals</a></span> _self: (addr <a href='global.mu.html#L1'>global-table</a>), key: grapheme <span class="Delimiter">{</span>
@@ -315,7 +315,7 @@ if ('onhashchange' in window) {
 <span id="L252" class="LineNr">252 </span>  <span class="PreProc">var</span> curr-global/eax: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special">&lt;-</span> index data, cursor-offset
 <span id="L253" class="LineNr">253 </span>  <span class="PreProc">var</span> curr-editor-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get curr-global, input
 <span id="L254" class="LineNr">254 </span>  <span class="PreProc">var</span> curr-editor/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-editor-ah
-<span id="L255" class="LineNr">255 </span>  <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> curr-editor, key
+<span id="L255" class="LineNr">255 </span>  <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> curr-editor, key
 <span id="L256" class="LineNr">256 </span><span class="Delimiter">}</span>
 <span id="L257" class="LineNr">257 </span>
 <span id="L258" class="LineNr">258 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L258'>create-empty-global</a></span> _self: (addr <a href='global.mu.html#L1'>global-table</a>), name-stream: (addr stream byte), capacity: int <span class="Delimiter">{</span>
@@ -683,14 +683,14 @@ if ('onhashchange' in window) {
 <span id="L620" class="LineNr">620 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L620'>render-image-definition</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L8'>global</a>), x: int, _y: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
 <span id="L621" class="LineNr">621 </span>  <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L622" class="LineNr">622 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy _y
-<span id="L623" class="LineNr">623 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x20</span>
-<span id="L624" class="LineNr">624 </span>  <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
+<span id="L623" class="LineNr">623 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x20</span>
+<span id="L624" class="LineNr">624 </span>  <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg
 <span id="L625" class="LineNr">625 </span>  <span class="Delimiter">{</span>
 <span id="L626" class="LineNr">626 </span>    <span class="PreProc">var</span> name-ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> get self, name
 <span id="L627" class="LineNr">627 </span>    <span class="PreProc">var</span> _name/eax: (addr array byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-ah
 <span id="L628" class="LineNr">628 </span>    <span class="PreProc">var</span> name/<span class="muRegEdx">edx</span>: (addr array byte) <span class="Special">&lt;-</span> copy _name
-<span id="L629" class="LineNr">629 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L132'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;define &quot;</span>, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L630" class="LineNr">630 </span>    x <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L132'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L629" class="LineNr">629 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;define &quot;</span>, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L630" class="LineNr">630 </span>    x <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L631" class="LineNr">631 </span>  <span class="Delimiter">}</span>
 <span id="L632" class="LineNr">632 </span>  y <span class="Special">&lt;-</span> increment  <span class="muComment"># skip definition line</span>
 <span id="L633" class="LineNr">633 </span>  <span class="muComment"># y is now in pixels</span>
diff --git a/html/shell/infix.mu.html b/html/shell/infix.mu.html
index 0054d59a..a38807a2 100644
--- a/html/shell/infix.mu.html
+++ b/html/shell/infix.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/infix.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; }
@@ -32,7 +32,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -80,7 +80,7 @@ if ('onhashchange' in window) {
 <span id="L14" class="LineNr"> 14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='infix.mu.html#L14'>transform-infix-2</a></span> _x-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), trace: (addr trace), at-head-of-list?: boolean <span class="Delimiter">{</span>
 <span id="L15" class="LineNr"> 15 </span>  <span class="PreProc">var</span> x-ah/<span class="muRegEdi">edi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> copy _x-ah
 <span id="L16" class="LineNr"> 16 </span>  <span class="PreProc">var</span> x/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *x-ah
-<span id="L17" class="Folded"> 17 </span><span class="Folded">+-- 14 lines: # trace x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L17" class="Folded"> 17 </span><span class="Folded">+-- 14 lines: # trace x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L31" class="LineNr"> 31 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L32" class="LineNr"> 32 </span><span class="CommentedCode">#?   {</span>
 <span id="L33" class="LineNr"> 33 </span><span class="CommentedCode">#?     var foo/eax: int &lt;- copy x</span>
@@ -118,7 +118,7 @@ if ('onhashchange' in window) {
 <span id="L65" class="LineNr"> 65 </span>    compare *x-type, <span class="Constant">0</span>/pair
 <span id="L66" class="LineNr"> 66 </span>    <span class="PreProc">break-if-=</span>
 <span id="L67" class="LineNr"> 67 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L68" class="Folded"> 68 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L68" class="Folded"> 68 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L83" class="LineNr"> 83 </span><span class="CommentedCode">#?     draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, &quot;^&quot;, 4/fg 0/bg</span>
 <span id="L84" class="LineNr"> 84 </span>    <span class="PreProc">return</span>
 <span id="L85" class="LineNr"> 85 </span>  <span class="Delimiter">}</span>
@@ -139,7 +139,7 @@ if ('onhashchange' in window) {
 <span id="L100" class="LineNr">100 </span>    <span class="PreProc">break-if-=</span>
 <span id="L101" class="LineNr">101 </span>    copy-object first-ah, x-ah
 <span id="L102" class="LineNr">102 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L103" class="Folded">103 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L103" class="Folded">103 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L118" class="LineNr">118 </span>    <span class="PreProc">return</span>
 <span id="L119" class="LineNr">119 </span>  <span class="Delimiter">}</span>
 <span id="L120" class="LineNr">120 </span><span class="CommentedCode">#?   draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, &quot;c&quot;, 4/fg 0/bg</span>
@@ -278,7 +278,7 @@ if ('onhashchange' in window) {
 <span id="L253" class="LineNr">253 </span>  <a href='infix.mu.html#L14'>transform-infix-2</a> right-ah, trace, right-at-head-of-list?
 <span id="L254" class="LineNr">254 </span><span class="CommentedCode">#?   draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, &quot;z&quot;, 1/fg 0/bg</span>
 <span id="L255" class="LineNr">255 </span>  <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L256" class="Folded">256 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L256" class="Folded">256 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L271" class="LineNr">271 </span><span class="Delimiter">}</span>
 <span id="L272" class="LineNr">272 </span>
 <span id="L273" class="LineNr">273 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='infix.mu.html#L273'>not-null-not-nil-pair?</a></span> _x: (addr <a href='cell.mu.html#L1'>cell</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
@@ -324,7 +324,7 @@ if ('onhashchange' in window) {
 <span id="L313" class="LineNr">313 </span>  <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> buffer, <span class="Constant">0x40</span>/max-symbol-size
 <span id="L314" class="LineNr">314 </span>  <span class="muComment"># scan for first non-$</span>
 <span id="L315" class="LineNr">315 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> sym-data
-<span id="L316" class="LineNr">316 </span>  <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, g
+<span id="L316" class="LineNr">316 </span>  <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, g
 <span id="L317" class="LineNr">317 </span>  <span class="Delimiter">{</span>
 <span id="L318" class="LineNr">318 </span>    compare g, <span class="Constant">0x24</span>/dollar
 <span id="L319" class="LineNr">319 </span>    <span class="PreProc">break-if-!=</span>
@@ -335,7 +335,7 @@ if ('onhashchange' in window) {
 <span id="L324" class="LineNr">324 </span>      <span class="PreProc">return</span>  <span class="muComment"># symbol is all '$'s; do nothing</span>
 <span id="L325" class="LineNr">325 </span>    <span class="Delimiter">}</span>
 <span id="L326" class="LineNr">326 </span>    g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> sym-data
-<span id="L327" class="LineNr">327 </span>    <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, g
+<span id="L327" class="LineNr">327 </span>    <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, g
 <span id="L328" class="LineNr">328 </span>    <span class="PreProc">loop</span>
 <span id="L329" class="LineNr">329 </span>  <span class="Delimiter">}</span>
 <span id="L330" class="LineNr">330 </span>  <span class="PreProc">var</span> tokenization-needed?: boolean
@@ -351,11 +351,11 @@ if ('onhashchange' in window) {
 <span id="L340" class="LineNr">340 </span>      compare curr-operator?, operator-so-far?
 <span id="L341" class="LineNr">341 </span>      <span class="PreProc">break-if-=</span>
 <span id="L342" class="LineNr">342 </span>      <span class="muComment"># state change; insert a space</span>
-<span id="L343" class="LineNr">343 </span>      <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, <span class="Constant">0x20</span>/space
+<span id="L343" class="LineNr">343 </span>      <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, <span class="Constant">0x20</span>/space
 <span id="L344" class="LineNr">344 </span>      operator-so-far? <span class="Special">&lt;-</span> copy curr-operator?
 <span id="L345" class="LineNr">345 </span>      copy-to tokenization-needed?, <span class="Constant">1</span>/true
 <span id="L346" class="LineNr">346 </span>    <span class="Delimiter">}</span>
-<span id="L347" class="LineNr">347 </span>    <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, g
+<span id="L347" class="LineNr">347 </span>    <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, g
 <span id="L348" class="LineNr">348 </span>    <span class="PreProc">loop</span>
 <span id="L349" class="LineNr">349 </span>  <span class="Delimiter">}</span>
 <span id="L350" class="LineNr">350 </span>  compare tokenization-needed?, <span class="Constant">0</span>/false
@@ -593,7 +593,7 @@ if ('onhashchange' in window) {
 <span id="L582" class="LineNr">582 </span>  <span class="muComment">#</span>
 <span id="L583" class="LineNr">583 </span>  <span class="PreProc">var</span> actual-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L584" class="LineNr">584 </span>  <span class="PreProc">var</span> actual-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address actual-buffer-storage
-<span id="L585" class="LineNr">585 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> actual-buffer, actual
+<span id="L585" class="LineNr">585 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> actual-buffer, actual
 <span id="L586" class="LineNr">586 </span>  <span class="PreProc">var</span> actual-tree-h: (handle <a href='cell.mu.html#L1'>cell</a>)
 <span id="L587" class="LineNr">587 </span>  <span class="PreProc">var</span> actual-tree-ah/<span class="muRegEsi">esi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> address actual-tree-h
 <span id="L588" class="LineNr">588 </span>  <a href='read.mu.html#L1'>read-cell</a> actual-buffer, actual-tree-ah, trace
@@ -604,7 +604,7 @@ if ('onhashchange' in window) {
 <span id="L593" class="LineNr">593 </span>  <span class="muComment">#</span>
 <span id="L594" class="LineNr">594 </span>  <span class="PreProc">var</span> expected-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L595" class="LineNr">595 </span>  <span class="PreProc">var</span> expected-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address expected-buffer-storage
-<span id="L596" class="LineNr">596 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> expected-buffer, expected
+<span id="L596" class="LineNr">596 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> expected-buffer, expected
 <span id="L597" class="LineNr">597 </span>  <span class="PreProc">var</span> expected-tree-h: (handle <a href='cell.mu.html#L1'>cell</a>)
 <span id="L598" class="LineNr">598 </span>  <span class="PreProc">var</span> expected-tree-ah/<span class="muRegEdi">edi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> address expected-tree-h
 <span id="L599" class="LineNr">599 </span>  <a href='infix.mu.html#L606'>read-without-infix</a> expected-buffer, expected-tree-ah, trace
diff --git a/html/shell/int-stack.mu.html b/html/shell/int-stack.mu.html
index c3b11a6c..a0851417 100644
--- a/html/shell/int-stack.mu.html
+++ b/html/shell/int-stack.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/int-stack.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; }
@@ -27,7 +27,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/shell/macroexpand.mu.html b/html/shell/macroexpand.mu.html
index b9c383f6..7d233c59 100644
--- a/html/shell/macroexpand.mu.html
+++ b/html/shell/macroexpand.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/macroexpand.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; }
@@ -32,7 +32,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <a href='https://github.com/akkartik/mu/blob/main/shell/macroexpand.mu'>https://github.com/akkartik/mu/blob/main/shell/macroexpand.mu</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr">  1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='macroexpand.mu.html#L1'>macroexpand</a></span> expr-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), globals: (addr <a href='global.mu.html#L1'>global-table</a>), trace: (addr trace) <span class="Delimiter">{</span>
-<span id="L2" class="Folded">  2 </span><span class="Folded">+-- 15 lines: # trace &quot;macroexpand &quot; expr-ah ------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L2" class="Folded">  2 </span><span class="Folded">+-- 15 lines: # trace &quot;macroexpand &quot; expr-ah --------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L17" class="LineNr"> 17 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L18" class="LineNr"> 18 </span><span class="CommentedCode">#?   clear-screen 0</span>
 <span id="L19" class="LineNr"> 19 </span><span class="CommentedCode">#?   set-cursor-position 0, 0x20 0x20</span>
@@ -79,7 +79,7 @@ if ('onhashchange' in window) {
 <span id="L27" class="LineNr"> 27 </span>    <span class="PreProc">loop-if-!=</span>
 <span id="L28" class="LineNr"> 28 </span>  <span class="Delimiter">}</span>
 <span id="L29" class="LineNr"> 29 </span>  <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L30" class="Folded"> 30 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; expr-ah ---------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L30" class="Folded"> 30 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; expr-ah -----------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L45" class="LineNr"> 45 </span><span class="Delimiter">}</span>
 <span id="L46" class="LineNr"> 46 </span>
 <span id="L47" class="LineNr"> 47 </span><span class="muComment"># return true if we found any macros</span>
@@ -90,7 +90,7 @@ if ('onhashchange' in window) {
 <span id="L52" class="LineNr"> 52 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L53" class="LineNr"> 53 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;macroexpand-iter: NULL expr-ah&quot;</span>
 <span id="L54" class="LineNr"> 54 </span>  <span class="Delimiter">}</span>
-<span id="L55" class="Folded"> 55 </span><span class="Folded">+-- 15 lines: # trace &quot;macroexpand-iter &quot; expr ----------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L55" class="Folded"> 55 </span><span class="Folded">+-- 15 lines: # trace &quot;macroexpand-iter &quot; expr ------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L70" class="LineNr"> 70 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
 <span id="L71" class="LineNr"> 71 </span>  <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;a&quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
 <span id="L72" class="LineNr"> 72 </span>  <span class="muComment"># if expr is a non-pair, return</span>
@@ -185,7 +185,7 @@ if ('onhashchange' in window) {
 <span id="L161" class="LineNr">161 </span>      <span class="PreProc">loop</span>
 <span id="L162" class="LineNr">162 </span>    <span class="Delimiter">}</span>
 <span id="L163" class="LineNr">163 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L164" class="Folded">164 </span><span class="Folded">+-- 15 lines: # trace &quot;fn=&gt; &quot; _expr-ah ------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L164" class="Folded">164 </span><span class="Folded">+-- 15 lines: # trace &quot;fn=&gt; &quot; _expr-ah --------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L179" class="LineNr">179 </span>    <span class="PreProc">return</span> result
 <span id="L180" class="LineNr">180 </span>  <span class="Delimiter">}</span>
 <span id="L181" class="LineNr">181 </span>  <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;g&quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
@@ -248,7 +248,7 @@ if ('onhashchange' in window) {
 <span id="L238" class="LineNr">238 </span>    <span class="PreProc">var</span> val-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> get rest, left
 <span id="L239" class="LineNr">239 </span>    <span class="PreProc">var</span> macro-found?/eax: boolean <span class="Special">&lt;-</span> <a href='macroexpand.mu.html#L48'>macroexpand-iter</a> val-ah, globals, trace
 <span id="L240" class="LineNr">240 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L241" class="Folded">241 </span><span class="Folded">+-- 15 lines: # trace &quot;define=&gt; &quot; _expr-ah --------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L241" class="Folded">241 </span><span class="Folded">+-- 15 lines: # trace &quot;define=&gt; &quot; _expr-ah ----------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L256" class="LineNr">256 </span>    <span class="PreProc">return</span> macro-found?
 <span id="L257" class="LineNr">257 </span>  <span class="Delimiter">}</span>
 <span id="L258" class="LineNr">258 </span>  <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;j&quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
@@ -265,7 +265,7 @@ if ('onhashchange' in window) {
 <span id="L269" class="LineNr">269 </span>    <span class="PreProc">var</span> val-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special">&lt;-</span> get rest, left
 <span id="L270" class="LineNr">270 </span>    <span class="PreProc">var</span> macro-found?/eax: boolean <span class="Special">&lt;-</span> <a href='macroexpand.mu.html#L48'>macroexpand-iter</a> val-ah, globals, trace
 <span id="L271" class="LineNr">271 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L272" class="Folded">272 </span><span class="Folded">+-- 15 lines: # trace &quot;set=&gt; &quot; _expr-ah -----------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L272" class="Folded">272 </span><span class="Folded">+-- 15 lines: # trace &quot;set=&gt; &quot; _expr-ah -------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L287" class="LineNr">287 </span>    <span class="PreProc">return</span> macro-found?
 <span id="L288" class="LineNr">288 </span>  <span class="Delimiter">}</span>
 <span id="L289" class="LineNr">289 </span>  <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">&quot;k&quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
@@ -301,7 +301,7 @@ if ('onhashchange' in window) {
 <span id="L319" class="LineNr">319 </span><span class="CommentedCode">#?     turn-on-debug-print</span>
 <span id="L320" class="LineNr">320 </span>    <a href='evaluate.mu.html#L681'>apply</a> macro-definition-ah, rest-ah, expr-ah, globals, trace, <span class="Constant">0</span>/no-screen, <span class="Constant">0</span>/no-keyboard, <span class="Constant">0</span>/definitions-created, <span class="Constant">0</span>/call-number
 <span id="L321" class="LineNr">321 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L322" class="Folded">322 </span><span class="Folded">+-- 15 lines: # trace &quot;1=&gt; &quot; _expr-ah -------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L322" class="Folded">322 </span><span class="Folded">+-- 15 lines: # trace &quot;1=&gt; &quot; _expr-ah ---------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L337" class="LineNr">337 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/true
 <span id="L338" class="LineNr">338 </span>  <span class="Delimiter">}</span>
 <span id="L339" class="LineNr">339 </span>  <span class="muComment"># no macro found; process any macros within args</span>
@@ -333,7 +333,7 @@ if ('onhashchange' in window) {
 <span id="L365" class="LineNr">365 </span>    <span class="PreProc">loop</span>
 <span id="L366" class="LineNr">366 </span>  <span class="Delimiter">}</span>
 <span id="L367" class="LineNr">367 </span>  <a href='trace.mu.html#L250'>trace-higher</a> trace
-<span id="L368" class="Folded">368 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; _expr-ah --------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L368" class="Folded">368 </span><span class="Folded">+-- 15 lines: # trace &quot;=&gt; &quot; _expr-ah ----------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L383" class="LineNr">383 </span>  <span class="PreProc">return</span> result
 <span id="L384" class="LineNr">384 </span><span class="Delimiter">}</span>
 <span id="L385" class="LineNr">385 </span>
diff --git a/html/shell/main.mu.html b/html/shell/main.mu.html
index 7c3c944f..585b5f87 100644
--- a/html/shell/main.mu.html
+++ b/html/shell/main.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/main.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; }
@@ -25,7 +25,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr"> 6 </span>  <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L8'>environment</a>) <span class="Special">&lt;-</span> address env-storage
 <span id="L7" class="LineNr"> 7 </span>  <a href='environment.mu.html#L103'>initialize-environment</a> env, <span class="Constant">0x20</span>/fake-screen-width, <span class="Constant">8</span>/fake-screen-height
 <span id="L8" class="LineNr"> 8 </span>  <a href='environment.mu.html#L950'>load-state</a> env, data-disk
-<span id="L9" class="LineNr"> 9 </span>  $main:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
+<span id="L9" class="LineNr"> 9 </span>  <span class="Delimiter">{</span>
 <span id="L10" class="LineNr">10 </span>    <a href='environment.mu.html#L115'>render-environment</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env
 <span id="L11" class="LineNr">11 </span>    <span class="muComment"># no way to quit right now; just reboot</span>
 <span id="L12" class="LineNr">12 </span>    <span class="Delimiter">{</span>
diff --git a/html/shell/parenthesize.mu.html b/html/shell/parenthesize.mu.html
index 2183542f..e48e748a 100644
--- a/html/shell/parenthesize.mu.html
+++ b/html/shell/parenthesize.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/parenthesize.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; }
@@ -32,7 +32,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -377,14 +377,14 @@ if ('onhashchange' in window) {
 <span id="L311" class="LineNr">311 </span>  <span class="muComment">#</span>
 <span id="L312" class="LineNr">312 </span>  <span class="PreProc">var</span> actual-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L313" class="LineNr">313 </span>  <span class="PreProc">var</span> actual-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address actual-buffer-storage
-<span id="L314" class="LineNr">314 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> actual-buffer, actual
+<span id="L314" class="LineNr">314 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> actual-buffer, actual
 <span id="L315" class="LineNr">315 </span>  <span class="PreProc">var</span> actual-tokens-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x40</span>)
 <span id="L316" class="LineNr">316 </span>  <span class="PreProc">var</span> actual-tokens/<span class="muRegEsi">esi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address actual-tokens-storage
 <span id="L317" class="LineNr">317 </span>  <a href='parenthesize.mu.html#L383'>tokenize-and-parenthesize</a> actual-buffer, actual-tokens, trace
 <span id="L318" class="LineNr">318 </span>  <span class="muComment">#</span>
 <span id="L319" class="LineNr">319 </span>  <span class="PreProc">var</span> expected-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L320" class="LineNr">320 </span>  <span class="PreProc">var</span> expected-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address expected-buffer-storage
-<span id="L321" class="LineNr">321 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> expected-buffer, expected
+<span id="L321" class="LineNr">321 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> expected-buffer, expected
 <span id="L322" class="LineNr">322 </span>  <span class="PreProc">var</span> expected-tokens-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x40</span>)
 <span id="L323" class="LineNr">323 </span>  <span class="PreProc">var</span> expected-tokens/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address expected-tokens-storage
 <span id="L324" class="LineNr">324 </span>  <a href='parenthesize.mu.html#L396'>tokenize-salient</a> expected-buffer, expected-tokens, trace
@@ -407,12 +407,12 @@ if ('onhashchange' in window) {
 <span id="L341" class="LineNr">341 </span>      <span class="Delimiter">{</span>
 <span id="L342" class="LineNr">342 </span>        <span class="PreProc">break-if-!=</span>
 <span id="L343" class="LineNr">343 </span>        <span class="muComment"># actual empty, but expected not empty</span>
-<span id="L344" class="LineNr">344 </span>        <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
-<span id="L345" class="LineNr">345 </span>        <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: too short\n&quot;</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
+<span id="L344" class="LineNr">344 </span>        <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
+<span id="L345" class="LineNr">345 </span>        <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: too short\n&quot;</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
 <span id="L346" class="LineNr">346 </span>        <a href='../104test.subx.html#L5'>count-test-failure</a>
 <span id="L347" class="LineNr">347 </span>        <span class="PreProc">return</span>
 <span id="L348" class="LineNr">348 </span>      <span class="Delimiter">}</span>
-<span id="L349" class="LineNr">349 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L349" class="LineNr">349 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;.&quot;</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L350" class="LineNr">350 </span>      <span class="PreProc">return</span>
 <span id="L351" class="LineNr">351 </span>    <span class="Delimiter">}</span>
 <span id="L352" class="LineNr">352 </span>    <span class="PreProc">var</span> expected-done?/eax: boolean <span class="Special">&lt;-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> expected
@@ -420,8 +420,8 @@ if ('onhashchange' in window) {
 <span id="L354" class="LineNr">354 </span>    <span class="Delimiter">{</span>
 <span id="L355" class="LineNr">355 </span>      <span class="PreProc">break-if-=</span>
 <span id="L356" class="LineNr">356 </span>      <span class="muComment"># actual not empty, but expected empty</span>
-<span id="L357" class="LineNr">357 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
-<span id="L358" class="LineNr">358 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: too long\n&quot;</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
+<span id="L357" class="LineNr">357 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
+<span id="L358" class="LineNr">358 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;: too long\n&quot;</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
 <span id="L359" class="LineNr">359 </span>      <a href='../104test.subx.html#L5'>count-test-failure</a>
 <span id="L360" class="LineNr">360 </span>      <span class="PreProc">return</span>
 <span id="L361" class="LineNr">361 </span>    <span class="Delimiter">}</span>
@@ -438,7 +438,7 @@ if ('onhashchange' in window) {
 <span id="L372" class="LineNr">372 </span>    compare match?, <span class="Constant">0</span>/false
 <span id="L373" class="LineNr">373 </span>    <span class="Delimiter">{</span>
 <span id="L374" class="LineNr">374 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L375" class="LineNr">375 </span>      <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
+<span id="L375" class="LineNr">375 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg
 <span id="L376" class="LineNr">376 </span>      <a href='../104test.subx.html#L5'>count-test-failure</a>
 <span id="L377" class="LineNr">377 </span>      <span class="PreProc">return</span>
 <span id="L378" class="LineNr">378 </span>    <span class="Delimiter">}</span>
diff --git a/html/shell/parse.mu.html b/html/shell/parse.mu.html
index 7f652842..a3de98f2 100644
--- a/html/shell/parse.mu.html
+++ b/html/shell/parse.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/parse.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; }
@@ -28,7 +28,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/shell/primitives.mu.html b/html/shell/primitives.mu.html
index 3cebf0f6..8a761270 100644
--- a/html/shell/primitives.mu.html
+++ b/html/shell/primitives.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/primitives.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 */
@@ -137,56 +137,56 @@ if ('onhashchange' in window) {
 <span id="L72" class="LineNr">  72 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='primitives.mu.html#L72'>render-primitives</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), xmin: int, xmax: int, ymax: int <span class="Delimiter">{</span>
 <span id="L73" class="LineNr">  73 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymax
 <span id="L74" class="LineNr">  74 </span>  y <span class="Special">&lt;-</span> subtract <span class="Constant">0x11</span>/primitives-border
-<span id="L75" class="LineNr">  75 </span>  <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L75" class="LineNr">  75 </span>  <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L76" class="LineNr">  76 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L77" class="LineNr">  77 </span>  <span class="PreProc">var</span> right-min/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy xmax
 <span id="L78" class="LineNr">  78 </span>  right-min <span class="Special">&lt;-</span> subtract <span class="Constant">0x1e</span>/primitives-divider
-<span id="L79" class="LineNr">  79 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L80" class="LineNr">  80 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;primitives&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L79" class="LineNr">  79 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L80" class="LineNr">  80 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;primitives&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L81" class="LineNr">  81 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L82" class="LineNr">  82 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L83" class="LineNr">  83 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  fn <a href='evaluate.mu.html#L681'>apply</a> set if while&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L82" class="LineNr">  82 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L83" class="LineNr">  83 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  fn <a href='evaluate.mu.html#L681'>apply</a> set if while&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L84" class="LineNr">  84 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L85" class="LineNr">  85 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L86" class="LineNr">  86 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;booleans&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L85" class="LineNr">  85 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L86" class="LineNr">  86 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;booleans&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L87" class="LineNr">  87 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L88" class="LineNr">  88 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L89" class="LineNr">  89 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  = and or not&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L88" class="LineNr">  88 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L89" class="LineNr">  89 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  = and or not&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L90" class="LineNr">  90 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L91" class="LineNr">  91 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L92" class="LineNr">  92 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;lists&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L91" class="LineNr">  91 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L92" class="LineNr">  92 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;lists&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L93" class="LineNr">  93 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L94" class="LineNr">  94 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L95" class="LineNr">  95 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  cons <a href='evaluate.mu.html#L1237'>car</a> <a href='evaluate.mu.html#L1265'>cdr</a> no cons? len&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L94" class="LineNr">  94 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L95" class="LineNr">  95 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  cons <a href='evaluate.mu.html#L1237'>car</a> <a href='evaluate.mu.html#L1265'>cdr</a> no cons? len&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L96" class="LineNr">  96 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L97" class="LineNr">  97 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L98" class="LineNr">  98 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;numbers&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L97" class="LineNr">  97 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L98" class="LineNr">  98 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;numbers&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L99" class="LineNr">  99 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L100" class="LineNr"> 100 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L101" class="LineNr"> 101 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  + - * / %&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L100" class="LineNr"> 100 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L101" class="LineNr"> 101 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  + - * / %&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L102" class="LineNr"> 102 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L103" class="LineNr"> 103 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L104" class="LineNr"> 104 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  &lt; &gt; &lt;= &gt;=&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L103" class="LineNr"> 103 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L104" class="LineNr"> 104 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  &lt; &gt; &lt;= &gt;=&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L105" class="LineNr"> 105 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L106" class="LineNr"> 106 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L107" class="LineNr"> 107 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  sqrt <a href='../506math.mu.html#L1'>abs</a> sgn&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L106" class="LineNr"> 106 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L107" class="LineNr"> 107 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  sqrt <a href='../506math.mu.html#L1'>abs</a> sgn&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L108" class="LineNr"> 108 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L109" class="LineNr"> 109 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L110" class="LineNr"> 110 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;arrays&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L109" class="LineNr"> 109 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L110" class="LineNr"> 110 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;arrays&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L111" class="LineNr"> 111 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L112" class="LineNr"> 112 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L113" class="LineNr"> 113 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  array index iset len&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L112" class="LineNr"> 112 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L113" class="LineNr"> 113 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  array index iset len&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L114" class="LineNr"> 114 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L115" class="LineNr"> 115 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy right-min
-<span id="L116" class="LineNr"> 116 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  populate&quot;</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L117" class="LineNr"> 117 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: int _ -&gt; array&quot;</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L116" class="LineNr"> 116 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  populate&quot;</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L117" class="LineNr"> 117 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: int _ -&gt; array&quot;</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L118" class="LineNr"> 118 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L119" class="LineNr"> 119 </span>  <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
-<span id="L120" class="LineNr"> 120 </span>  <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;images&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L119" class="LineNr"> 119 </span>  <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y
+<span id="L120" class="LineNr"> 120 </span>  <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;images&quot;</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L121" class="LineNr"> 121 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L122" class="LineNr"> 122 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy right-min
-<span id="L123" class="LineNr"> 123 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  img&quot;</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L124" class="LineNr"> 124 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> stream x y w h&quot;</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L123" class="LineNr"> 123 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  img&quot;</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L124" class="LineNr"> 124 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> stream x y w h&quot;</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L125" class="LineNr"> 125 </span><span class="CommentedCode">#?   {</span>
 <span id="L126" class="LineNr"> 126 </span><span class="CommentedCode">#?     compare screen, 0</span>
 <span id="L127" class="LineNr"> 127 </span><span class="CommentedCode">#?     break-if-!=</span>
@@ -199,64 +199,64 @@ if ('onhashchange' in window) {
 <span id="L134" class="LineNr"> 134 </span>  <span class="PreProc">var</span> left-max/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy xmax
 <span id="L135" class="LineNr"> 135 </span>  left-max <span class="Special">&lt;-</span> subtract <span class="Constant">0x20</span>/primitives-divider
 <span id="L136" class="LineNr"> 136 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L137" class="LineNr"> 137 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;cursor graphics&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L137" class="LineNr"> 137 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;cursor graphics&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L138" class="LineNr"> 138 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L139" class="LineNr"> 139 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L140" class="LineNr"> 140 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  print&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L141" class="LineNr"> 141 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> _ -&gt; _&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L140" class="LineNr"> 140 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  print&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L141" class="LineNr"> 141 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> _ -&gt; _&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L142" class="LineNr"> 142 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L143" class="LineNr"> 143 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L144" class="LineNr"> 144 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  lines columns&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L145" class="LineNr"> 145 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> -&gt; number&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L144" class="LineNr"> 144 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  lines columns&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L145" class="LineNr"> 145 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> -&gt; number&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L146" class="LineNr"> 146 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L147" class="LineNr"> 147 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L148" class="LineNr"> 148 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  up down left right&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L149" class="LineNr"> 149 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: screen&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L148" class="LineNr"> 148 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  up down left right&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L149" class="LineNr"> 149 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: screen&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L150" class="LineNr"> 150 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L151" class="LineNr"> 151 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L152" class="LineNr"> 152 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  cr&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L153" class="LineNr"> 153 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a>   &quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L154" class="LineNr"> 154 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;# move cursor down and to left margin&quot;</span>, tmpx, left-max, y, <span class="Constant">0x38</span>/fg=trace, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L152" class="LineNr"> 152 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  cr&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L153" class="LineNr"> 153 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a>   &quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L154" class="LineNr"> 154 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;# move cursor down and to left margin&quot;</span>, tmpx, left-max, y, <span class="Constant">0x38</span>/fg=trace, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L155" class="LineNr"> 155 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L156" class="LineNr"> 156 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L157" class="LineNr"> 157 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;pixel graphics&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L157" class="LineNr"> 157 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;pixel graphics&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L158" class="LineNr"> 158 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L159" class="LineNr"> 159 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L160" class="LineNr"> 160 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  circle bezier line hline vline pixel&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L160" class="LineNr"> 160 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  circle bezier line hline vline pixel&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L161" class="LineNr"> 161 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L162" class="LineNr"> 162 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L163" class="LineNr"> 163 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  width height&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L164" class="LineNr"> 164 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> -&gt; number&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L163" class="LineNr"> 163 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  width height&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L164" class="LineNr"> 164 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: <a href='../500fake-screen.mu.html#L14'>screen</a> -&gt; number&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L165" class="LineNr"> 165 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L166" class="LineNr"> 166 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L167" class="LineNr"> 167 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  clear&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L168" class="LineNr"> 168 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: screen&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L167" class="LineNr"> 167 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  clear&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L168" class="LineNr"> 168 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: screen&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L169" class="LineNr"> 169 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L170" class="LineNr"> 170 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L171" class="LineNr"> 171 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;input&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L171" class="LineNr"> 171 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;input&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L172" class="LineNr"> 172 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L173" class="LineNr"> 173 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L174" class="LineNr"> 174 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  key&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L175" class="LineNr"> 175 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: keyboard -&gt; grapheme?&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L174" class="LineNr"> 174 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  key&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L175" class="LineNr"> 175 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: keyboard -&gt; grapheme?&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L176" class="LineNr"> 176 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L177" class="LineNr"> 177 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L178" class="LineNr"> 178 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;streams&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L178" class="LineNr"> 178 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;streams&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L179" class="LineNr"> 179 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L180" class="LineNr"> 180 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L181" class="LineNr"> 181 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  stream&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L182" class="LineNr"> 182 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: -&gt; stream &quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L181" class="LineNr"> 181 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  stream&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L182" class="LineNr"> 182 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: -&gt; stream &quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L183" class="LineNr"> 183 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L184" class="LineNr"> 184 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L185" class="LineNr"> 185 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  write&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L186" class="LineNr"> 186 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: stream grapheme -&gt; stream&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L185" class="LineNr"> 185 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  write&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L186" class="LineNr"> 186 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: stream grapheme -&gt; stream&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L187" class="LineNr"> 187 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L188" class="LineNr"> 188 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L189" class="LineNr"> 189 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  rewind clear&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L190" class="LineNr"> 190 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: stream&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L189" class="LineNr"> 189 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  rewind clear&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L190" class="LineNr"> 190 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: stream&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L191" class="LineNr"> 191 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L192" class="LineNr"> 192 </span>  <span class="PreProc">var</span> tmpx/eax: int <span class="Special">&lt;-</span> copy xmin
-<span id="L193" class="LineNr"> 193 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  read&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
-<span id="L194" class="LineNr"> 194 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: stream -&gt; grapheme&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L193" class="LineNr"> 193 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;  read&quot;</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg
+<span id="L194" class="LineNr"> 194 </span>  tmpx <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;: stream -&gt; grapheme&quot;</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg
 <span id="L195" class="LineNr"> 195 </span><span class="Delimiter">}</span>
 <span id="L196" class="LineNr"> 196 </span>
 <span id="L197" class="LineNr"> 197 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='primitives.mu.html#L197'>primitive-global?</a></span> _x: (addr <a href='global.mu.html#L8'>global</a>)<span class="PreProc"> -&gt; </span>_/eax: boolean <span class="Delimiter">{</span>
@@ -1836,7 +1836,7 @@ if ('onhashchange' in window) {
 <span id="L1771" class="LineNr">1771 </span>  <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
 <span id="L1772" class="LineNr">1772 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> address stream-storage
 <span id="L1773" class="LineNr">1773 </span>  <a href='print.mu.html#L7'>print-cell</a> second-ah, stream, trace
-<span id="L1774" class="LineNr">1774 </span>  <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L1774" class="LineNr">1774 </span>  <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
 <span id="L1775" class="LineNr">1775 </span>  <span class="muComment"># return what was printed</span>
 <span id="L1776" class="LineNr">1776 </span>  copy-object second-ah, out
 <span id="L1777" class="LineNr">1777 </span><span class="Delimiter">}</span>
@@ -1879,7 +1879,7 @@ if ('onhashchange' in window) {
 <span id="L1814" class="LineNr">1814 </span>    <span class="PreProc">var</span> screen-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> get first, screen-data
 <span id="L1815" class="LineNr">1815 </span>    <span class="PreProc">var</span> _screen/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-ah
 <span id="L1816" class="LineNr">1816 </span>    <span class="PreProc">var</span> <a href='../500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEcx">ecx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L1817" class="LineNr">1817 </span>    <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L1817" class="LineNr">1817 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L1818" class="LineNr">1818 </span>    <span class="PreProc">return</span>
 <span id="L1819" class="LineNr">1819 </span>  <span class="Delimiter">}</span>
 <span id="L1820" class="LineNr">1820 </span>  <span class="Special"><a href='trace.mu.html#L197'>error</a></span> trace, <span class="Constant">&quot;first arg for 'clear' is not a <a href='../500fake-screen.mu.html#L14'>screen</a> or a stream&quot;</span>
@@ -2184,7 +2184,7 @@ if ('onhashchange' in window) {
 <span id="L2119" class="LineNr">2119 </span>  <span class="Delimiter">}</span>
 <span id="L2120" class="LineNr">2120 </span>  <span class="PreProc">var</span> fourth-value/eax: (addr float) <span class="Special">&lt;-</span> get fourth, number-data
 <span id="L2121" class="LineNr">2121 </span>  <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> convert *fourth-value
-<span id="L2122" class="LineNr">2122 </span>  <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L2122" class="LineNr">2122 </span>  <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color
 <span id="L2123" class="LineNr">2123 </span>  <span class="muComment"># return nothing</span>
 <span id="L2124" class="LineNr">2124 </span><span class="Delimiter">}</span>
 <span id="L2125" class="LineNr">2125 </span>
@@ -3121,7 +3121,7 @@ if ('onhashchange' in window) {
 <span id="L3056" class="LineNr">3056 </span>    <span class="PreProc">return</span> result
 <span id="L3057" class="LineNr">3057 </span>  <span class="Delimiter">}</span>
 <span id="L3058" class="LineNr">3058 </span>  <span class="muComment"># otherwise read from fake keyboard</span>
-<span id="L3059" class="LineNr">3059 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> keyboard
+<span id="L3059" class="LineNr">3059 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> keyboard
 <span id="L3060" class="LineNr">3060 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> copy g
 <span id="L3061" class="LineNr">3061 </span>  <span class="PreProc">return</span> result
 <span id="L3062" class="LineNr">3062 </span><span class="Delimiter">}</span>
@@ -3558,8 +3558,8 @@ if ('onhashchange' in window) {
 <span id="L3493" class="LineNr">3493 </span>  <span class="PreProc">var</span> dest-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> get second, screen-data
 <span id="L3494" class="LineNr">3494 </span>  <span class="PreProc">var</span> dest/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *dest-ah
 <span id="L3495" class="LineNr">3495 </span>  <span class="muComment">#</span>
-<span id="L3496" class="LineNr">3496 </span>  <a href='../500fake-screen.mu.html#L660'>convert-screen-cells-to-pixels</a> src
-<span id="L3497" class="LineNr">3497 </span>  <a href='../500fake-screen.mu.html#L620'>copy-pixels</a> src, dest
+<span id="L3496" class="LineNr">3496 </span>  <a href='../500fake-screen.mu.html#L681'>convert-screen-cells-to-pixels</a> src
+<span id="L3497" class="LineNr">3497 </span>  <a href='../500fake-screen.mu.html#L641'>copy-pixels</a> src, dest
 <span id="L3498" class="LineNr">3498 </span><span class="Delimiter">}</span>
 <span id="L3499" class="LineNr">3499 </span>
 <span id="L3500" class="LineNr">3500 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='primitives.mu.html#L3500'>apply-array</a></span> _args-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), _out-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), trace: (addr trace) <span class="Delimiter">{</span>
diff --git a/html/shell/print.mu.html b/html/shell/print.mu.html
index ee9331b1..ddeb6ac4 100644
--- a/html/shell/print.mu.html
+++ b/html/shell/print.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/print.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; }
@@ -29,7 +29,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -230,7 +230,7 @@ if ('onhashchange' in window) {
 <span id="L167" class="LineNr">167 </span>  <a href='print.mu.html#L7'>print-cell</a> in-ah, stream, trace
 <span id="L168" class="LineNr">168 </span>  <span class="PreProc">var</span> d1/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L169" class="LineNr">169 </span>  <span class="PreProc">var</span> d2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L170" class="LineNr">170 </span>  d1, d2 <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L206'>draw-stream-wrapping-right-then-down</a> <span class="Constant">0</span>/screen, stream, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x30</span>/ymax, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L170" class="LineNr">170 </span>  d1, d2 <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L213'>draw-stream-wrapping-right-then-down</a> <span class="Constant">0</span>/screen, stream, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x30</span>/ymax, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L171" class="LineNr">171 </span><span class="Delimiter">}</span>
 <span id="L172" class="LineNr">172 </span>
 <span id="L173" class="LineNr">173 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='print.mu.html#L173'>dump-cell-from-cursor-over-full-screen</a></span> in-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), fg: int, bg: int <span class="Delimiter">{</span>
@@ -240,7 +240,7 @@ if ('onhashchange' in window) {
 <span id="L177" class="LineNr">177 </span>  <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr trace) <span class="Special">&lt;-</span> address trace-storage
 <span id="L178" class="LineNr">178 </span>  <a href='trace.mu.html#L61'>initialize-trace</a> trace, <span class="Constant">1</span>/only-errors, <span class="Constant">0x10</span>/capacity, <span class="Constant">0</span>/visible
 <span id="L179" class="LineNr">179 </span>  <a href='print.mu.html#L7'>print-cell</a> in-ah, stream, trace
-<span id="L180" class="LineNr">180 </span>  <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, stream, fg, bg
+<span id="L180" class="LineNr">180 </span>  <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, stream, fg, bg
 <span id="L181" class="LineNr">181 </span><span class="Delimiter">}</span>
 <span id="L182" class="LineNr">182 </span>
 <span id="L183" class="LineNr">183 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='print.mu.html#L183'>print-symbol</a></span> _in: (addr <a href='cell.mu.html#L1'>cell</a>), out: (addr stream byte), trace: (addr trace) <span class="Delimiter">{</span>
diff --git a/html/shell/read.mu.html b/html/shell/read.mu.html
index 18714bcc..e4b8eb24 100644
--- a/html/shell/read.mu.html
+++ b/html/shell/read.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/read.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; }
@@ -26,7 +26,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
diff --git a/html/shell/sandbox.mu.html b/html/shell/sandbox.mu.html
index 8bfec442..f4b4cb4e 100644
--- a/html/shell/sandbox.mu.html
+++ b/html/shell/sandbox.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/sandbox.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 */
@@ -108,7 +108,7 @@ if ('onhashchange' in window) {
 <span id="L43" class="LineNr">  43 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, data
 <span id="L44" class="LineNr">  44 </span>  <a href='../120allocate.subx.html#L43'>allocate</a> data-ah
 <span id="L45" class="LineNr">  45 </span>  <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L46" class="LineNr">  46 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> data, s
+<span id="L46" class="LineNr">  46 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> data, s
 <span id="L47" class="LineNr">  47 </span>  <span class="PreProc">var</span> value-ah/eax: (addr handle stream byte) <span class="Special">&lt;-</span> get self, value
 <span id="L48" class="LineNr">  48 </span>  populate-stream value-ah, <span class="Constant">0x1000</span>/4KB
 <span id="L49" class="LineNr">  49 </span>  <span class="PreProc">var</span> trace-ah/eax: (addr handle trace) <span class="Special">&lt;-</span> get self, trace
@@ -131,20 +131,20 @@ if ('onhashchange' in window) {
 <span id="L66" class="LineNr">  66 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, data
 <span id="L67" class="LineNr">  67 </span>  <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah
 <span id="L68" class="LineNr">  68 </span>  <span class="Delimiter">{</span>
-<span id="L69" class="LineNr">  69 </span>    <span class="PreProc">var</span> len/eax: int <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L429'>gap-buffer-length</a> data
+<span id="L69" class="LineNr">  69 </span>    <span class="PreProc">var</span> len/eax: int <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L428'>gap-buffer-length</a> data
 <span id="L70" class="LineNr">  70 </span>    compare len, <span class="Constant">0</span>
 <span id="L71" class="LineNr">  71 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L72" class="LineNr">  72 </span>    <span class="PreProc">return</span>
 <span id="L73" class="LineNr">  73 </span>  <span class="Delimiter">}</span>
 <span id="L74" class="LineNr">  74 </span>  <a href='../108write.subx.html#L11'>write</a> out, <span class="Constant">&quot;  (<a href='sandbox.mu.html#L1'>sandbox</a> . [&quot;</span>
-<span id="L75" class="LineNr">  75 </span>  <a href='../514gap-buffer.mu.html#L88'>append-gap-buffer</a> data, out
+<span id="L75" class="LineNr">  75 </span>  <a href='../514gap-buffer.mu.html#L87'>append-gap-buffer</a> data, out
 <span id="L76" class="LineNr">  76 </span>  <a href='../108write.subx.html#L11'>write</a> out, <span class="Constant">&quot;])\n&quot;</span>
 <span id="L77" class="LineNr">  77 </span><span class="Delimiter">}</span>
 <span id="L78" class="LineNr">  78 </span>
 <span id="L79" class="LineNr">  79 </span><span class="muComment">##</span>
 <span id="L80" class="LineNr">  80 </span>
 <span id="L81" class="LineNr">  81 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L81'>render-sandbox</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>), xmin: int, ymin: int, xmax: int, ymax: int, show-cursor?: boolean <span class="Delimiter">{</span>
-<span id="L82" class="LineNr">  82 </span>  <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L82" class="LineNr">  82 </span>  <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L83" class="LineNr">  83 </span>  add-to xmin, <span class="Constant">1</span>/padding-left
 <span id="L84" class="LineNr">  84 </span>  add-to ymin, <span class="Constant">1</span>/padding-top
 <span id="L85" class="LineNr">  85 </span>  subtract-from xmax, <span class="Constant">1</span>/padding-right
@@ -164,7 +164,7 @@ if ('onhashchange' in window) {
 <span id="L99" class="LineNr">  99 </span>    <span class="PreProc">var</span> cursor-in-data-a/eax: (addr boolean) <span class="Special">&lt;-</span> get self, cursor-in-data?
 <span id="L100" class="LineNr"> 100 </span>    cursor-in-editor? <span class="Special">&lt;-</span> copy *cursor-in-data-a
 <span id="L101" class="LineNr"> 101 </span>  <span class="Delimiter">}</span>
-<span id="L102" class="LineNr"> 102 </span>  x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, cursor-in-editor?, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L102" class="LineNr"> 102 </span>  x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, cursor-in-editor?, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L103" class="LineNr"> 103 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L104" class="LineNr"> 104 </span>  <span class="muComment"># trace</span>
 <span id="L105" class="LineNr"> 105 </span>  <span class="PreProc">var</span> trace-ah/eax: (addr handle trace) <span class="Special">&lt;-</span> get self, trace
@@ -184,9 +184,9 @@ if ('onhashchange' in window) {
 <span id="L119" class="LineNr"> 119 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L120" class="LineNr"> 120 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L121" class="LineNr"> 121 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L122" class="LineNr"> 122 </span>    x, y <span class="Special">&lt;-</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">&quot;=&gt; &quot;</span>, xmin, y, xmax, ymax, xmin, y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L122" class="LineNr"> 122 </span>    x, y <span class="Special">&lt;-</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">&quot;=&gt; &quot;</span>, xmin, y, xmax, ymax, xmin, y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L123" class="LineNr"> 123 </span>    <span class="PreProc">var</span> x2/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy x
-<span id="L124" class="LineNr"> 124 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L117'>draw-stream-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, value, x2, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L124" class="LineNr"> 124 </span>    <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L124'>draw-stream-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, value, x2, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L125" class="LineNr"> 125 </span>  <span class="Delimiter">}</span>
 <span id="L126" class="LineNr"> 126 </span>  y <span class="Special">&lt;-</span> add <span class="Constant">2</span>  <span class="muComment"># padding</span>
 <span id="L127" class="LineNr"> 127 </span>  <a href='sandbox.mu.html#L198'>maybe-render-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self, xmin, y
@@ -228,9 +228,9 @@ if ('onhashchange' in window) {
 <span id="L163" class="LineNr"> 163 </span>  y <span class="Special">&lt;-</span> <a href='sandbox.mu.html#L171'>maybe-render-empty-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self, xmin, y
 <span id="L164" class="LineNr"> 164 </span>  y <span class="Special">&lt;-</span> <a href='sandbox.mu.html#L336'>maybe-render-keyboard</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self, xmin, y
 <span id="L165" class="LineNr"> 165 </span>  <span class="PreProc">var</span> cursor-in-sandbox?/<span class="muRegEbx">ebx</span>: (addr boolean) <span class="Special">&lt;-</span> get self, cursor-in-data?
-<span id="L166" class="LineNr"> 166 </span>  x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, *cursor-in-sandbox?, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L166" class="LineNr"> 166 </span>  x, y <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, *cursor-in-sandbox?, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L167" class="LineNr"> 167 </span>  y <span class="Special">&lt;-</span> increment
-<span id="L168" class="LineNr"> 168 </span>  <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L168" class="LineNr"> 168 </span>  <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L169" class="LineNr"> 169 </span><span class="Delimiter">}</span>
 <span id="L170" class="LineNr"> 170 </span>
 <span id="L171" class="LineNr"> 171 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L171'>maybe-render-empty-screen</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>), xmin: int, ymin: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span>
@@ -252,7 +252,7 @@ if ('onhashchange' in window) {
 <span id="L187" class="LineNr"> 187 </span>  <span class="PreProc">var</span> screen-obj-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> get screen-obj-cell, screen-data
 <span id="L188" class="LineNr"> 188 </span>  <span class="PreProc">var</span> _screen-obj/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-obj-ah
 <span id="L189" class="LineNr"> 189 </span>  <span class="PreProc">var</span> screen-obj/<span class="muRegEdx">edx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen-obj
-<span id="L190" class="LineNr"> 190 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;screen:   &quot;</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L190" class="LineNr"> 190 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;screen:   &quot;</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L191" class="LineNr"> 191 </span>  x <span class="Special">&lt;-</span> copy xmin
 <span id="L192" class="LineNr"> 192 </span>  x <span class="Special">&lt;-</span> add <span class="Constant">2</span>
 <span id="L193" class="LineNr"> 193 </span>  y <span class="Special">&lt;-</span> increment
@@ -279,12 +279,12 @@ if ('onhashchange' in window) {
 <span id="L214" class="LineNr"> 214 </span>  <span class="PreProc">var</span> _screen-obj/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-obj-ah
 <span id="L215" class="LineNr"> 215 </span>  <span class="PreProc">var</span> screen-obj/<span class="muRegEdx">edx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen-obj
 <span id="L216" class="LineNr"> 216 </span>  <span class="Delimiter">{</span>
-<span id="L217" class="LineNr"> 217 </span>    <span class="PreProc">var</span> screen-empty?/eax: boolean <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L350'>fake-screen-empty?</a> screen-obj
+<span id="L217" class="LineNr"> 217 </span>    <span class="PreProc">var</span> screen-empty?/eax: boolean <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L371'>fake-screen-empty?</a> screen-obj
 <span id="L218" class="LineNr"> 218 </span>    compare screen-empty?, <span class="Constant">0</span>/false
 <span id="L219" class="LineNr"> 219 </span>    <span class="PreProc">break-if-=</span>
 <span id="L220" class="LineNr"> 220 </span>    <span class="PreProc">return</span>
 <span id="L221" class="LineNr"> 221 </span>  <span class="Delimiter">}</span>
-<span id="L222" class="LineNr"> 222 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;screen:   &quot;</span>, xmin, <span class="Constant">0x99</span>/xmax, ymin, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L222" class="LineNr"> 222 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;screen:   &quot;</span>, xmin, <span class="Constant">0x99</span>/xmax, ymin, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L223" class="LineNr"> 223 </span>  x <span class="Special">&lt;-</span> copy xmin
 <span id="L224" class="LineNr"> 224 </span>  x <span class="Special">&lt;-</span> add <span class="Constant">2</span>
 <span id="L225" class="LineNr"> 225 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymin
@@ -301,13 +301,13 @@ if ('onhashchange' in window) {
 <span id="L236" class="LineNr"> 236 </span>  <span class="Delimiter">{</span>
 <span id="L237" class="LineNr"> 237 </span>    compare y, *height
 <span id="L238" class="LineNr"> 238 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L239" class="LineNr"> 239 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, screen-y
+<span id="L239" class="LineNr"> 239 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, screen-y
 <span id="L240" class="LineNr"> 240 </span>    <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get target-screen, width
 <span id="L241" class="LineNr"> 241 </span>    <span class="PreProc">var</span> x/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L242" class="LineNr"> 242 </span>    <span class="Delimiter">{</span>
 <span id="L243" class="LineNr"> 243 </span>      compare x, *width
 <span id="L244" class="LineNr"> 244 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L245" class="LineNr"> 245 </span>      <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, <span class="Constant">0x18</span>/fg, <span class="Constant">0</span>/bg
+<span id="L245" class="LineNr"> 245 </span>      <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, <span class="Constant">0x18</span>/fg, <span class="Constant">0</span>/bg
 <span id="L246" class="LineNr"> 246 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L247" class="LineNr"> 247 </span>      <span class="PreProc">loop</span>
 <span id="L248" class="LineNr"> 248 </span>    <span class="Delimiter">}</span>
@@ -320,7 +320,7 @@ if ('onhashchange' in window) {
 <span id="L255" class="LineNr"> 255 </span>
 <span id="L256" class="LineNr"> 256 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L256'>render-screen</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _target-screen: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), xmin: int, ymin: int <span class="Delimiter">{</span>
 <span id="L257" class="LineNr"> 257 </span>  <span class="PreProc">var</span> target-screen/<span class="muRegEsi">esi</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _target-screen
-<span id="L258" class="LineNr"> 258 </span>  <a href='../500fake-screen.mu.html#L660'>convert-screen-cells-to-pixels</a> target-screen  <span class="muComment"># might overwrite existing pixel data with screen cells</span>
+<span id="L258" class="LineNr"> 258 </span>  <a href='../500fake-screen.mu.html#L681'>convert-screen-cells-to-pixels</a> target-screen  <span class="muComment"># might overwrite existing pixel data with screen cells</span>
 <span id="L259" class="LineNr"> 259 </span>                                                <span class="muComment"># overlapping the two is not supported</span>
 <span id="L260" class="LineNr"> 260 </span>  <span class="muComment"># pixel data</span>
 <span id="L261" class="LineNr"> 261 </span>  <span class="Delimiter">{</span>
@@ -353,7 +353,7 @@ if ('onhashchange' in window) {
 <span id="L288" class="LineNr"> 288 </span>        compare x, width
 <span id="L289" class="LineNr"> 289 </span>        <span class="PreProc">break-if-&gt;=</span>
 <span id="L290" class="LineNr"> 290 </span>        <span class="Delimiter">{</span>
-<span id="L291" class="LineNr"> 291 </span>          <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L607'>pixel-index</a> target-screen, x, y
+<span id="L291" class="LineNr"> 291 </span>          <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L628'>pixel-index</a> target-screen, x, y
 <span id="L292" class="LineNr"> 292 </span>          <span class="PreProc">var</span> color-addr/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special">&lt;-</span> index pixels, idx
 <span id="L293" class="LineNr"> 293 </span>          <span class="PreProc">var</span> color/<span class="muRegEcx">ecx</span>: byte <span class="Special">&lt;-</span> copy-byte *color-addr
 <span id="L294" class="LineNr"> 294 </span>          <span class="PreProc">var</span> color2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy color
@@ -361,7 +361,7 @@ if ('onhashchange' in window) {
 <span id="L296" class="LineNr"> 296 </span>          x2 <span class="Special">&lt;-</span> add left
 <span id="L297" class="LineNr"> 297 </span>          <span class="PreProc">var</span> y2/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L298" class="LineNr"> 298 </span>          y2 <span class="Special">&lt;-</span> add top
-<span id="L299" class="LineNr"> 299 </span>          <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x2, y2, color2
+<span id="L299" class="LineNr"> 299 </span>          <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x2, y2, color2
 <span id="L300" class="LineNr"> 300 </span>        <span class="Delimiter">}</span>
 <span id="L301" class="LineNr"> 301 </span>        x <span class="Special">&lt;-</span> increment
 <span id="L302" class="LineNr"> 302 </span>        <span class="PreProc">loop</span>
@@ -418,7 +418,7 @@ if ('onhashchange' in window) {
 <span id="L353" class="LineNr"> 353 </span>  <span class="PreProc">var</span> keyboard-obj/<span class="muRegEdx">edx</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> copy _keyboard-obj
 <span id="L354" class="LineNr"> 354 </span>  <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy ymin
 <span id="L355" class="LineNr"> 355 </span>  y <span class="Special">&lt;-</span> increment  <span class="muComment"># padding</span>
-<span id="L356" class="LineNr"> 356 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;keyboard: &quot;</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L356" class="LineNr"> 356 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;keyboard: &quot;</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L357" class="LineNr"> 357 </span>  <span class="PreProc">var</span> cursor-in-keyboard?/<span class="muRegEsi">esi</span>: (addr boolean) <span class="Special">&lt;-</span> get self, cursor-in-keyboard?
 <span id="L358" class="LineNr"> 358 </span>  y <span class="Special">&lt;-</span> <a href='sandbox.mu.html#L363'>render-keyboard</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, keyboard-obj, x, y, *cursor-in-keyboard?
 <span id="L359" class="LineNr"> 359 </span>  y <span class="Special">&lt;-</span> increment  <span class="muComment"># padding</span>
@@ -435,8 +435,8 @@ if ('onhashchange' in window) {
 <span id="L370" class="LineNr"> 370 </span>  xmax <span class="Special">&lt;-</span> add <span class="Constant">0x10</span>
 <span id="L371" class="LineNr"> 371 </span>  <span class="PreProc">var</span> ymax/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy ymin
 <span id="L372" class="LineNr"> 372 </span>  ymax <span class="Special">&lt;-</span> add <span class="Constant">1</span>
-<span id="L373" class="LineNr"> 373 </span>  <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, xmax, ymax, <span class="Constant">0</span>/bg
-<span id="L374" class="LineNr"> 374 </span>  x <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, keyboard, x, y, render-cursor?, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
+<span id="L373" class="LineNr"> 373 </span>  <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, xmax, ymax, <span class="Constant">0</span>/bg
+<span id="L374" class="LineNr"> 374 </span>  x <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, keyboard, x, y, render-cursor?, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg
 <span id="L375" class="LineNr"> 375 </span>  y <span class="Special">&lt;-</span> increment
 <span id="L376" class="LineNr"> 376 </span>  <span class="PreProc">return</span> y
 <span id="L377" class="LineNr"> 377 </span><span class="Delimiter">}</span>
@@ -445,13 +445,13 @@ if ('onhashchange' in window) {
 <span id="L380" class="LineNr"> 380 </span>  <span class="PreProc">var</span> target/<span class="muRegEcx">ecx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _target
 <span id="L381" class="LineNr"> 381 </span>  <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> get target, data
 <span id="L382" class="LineNr"> 382 </span>  <span class="PreProc">var</span> data/eax: (addr array <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L383" class="LineNr"> 383 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L221'>screen-cell-index</a> target, x, y
+<span id="L383" class="LineNr"> 383 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L242'>screen-cell-index</a> target, x, y
 <span id="L384" class="LineNr"> 384 </span>  <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> compute-offset data, index
 <span id="L385" class="LineNr"> 385 </span>  <span class="PreProc">var</span> src-cell/<span class="muRegEsi">esi</span>: (addr <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special">&lt;-</span> index data, offset
 <span id="L386" class="LineNr"> 386 </span>  <span class="PreProc">var</span> src-code-point/eax: (addr code-point) <span class="Special">&lt;-</span> get src-cell, data
 <span id="L387" class="LineNr"> 387 </span>  <span class="PreProc">var</span> src-color/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special">&lt;-</span> get src-cell, color
 <span id="L388" class="LineNr"> 388 </span>  <span class="PreProc">var</span> src-background-color/<span class="muRegEdx">edx</span>: (addr int) <span class="Special">&lt;-</span> get src-cell, background-color
-<span id="L389" class="LineNr"> 389 </span>  <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *src-code-point, *src-color, *src-background-color
+<span id="L389" class="LineNr"> 389 </span>  <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *src-code-point, *src-color, *src-background-color
 <span id="L390" class="LineNr"> 390 </span><span class="Delimiter">}</span>
 <span id="L391" class="LineNr"> 391 </span>
 <span id="L392" class="LineNr"> 392 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L392'>render-sandbox-edit-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Delimiter">{</span>
@@ -463,35 +463,35 @@ if ('onhashchange' in window) {
 <span id="L398" class="LineNr"> 398 </span>  y <span class="Special">&lt;-</span> decrement
 <span id="L399" class="LineNr"> 399 </span>  <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L400" class="LineNr"> 400 </span>  height <span class="Special">&lt;-</span> increment
-<span id="L401" class="LineNr"> 401 </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="L402" class="LineNr"> 402 </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="L403" class="LineNr"> 403 </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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L404" class="LineNr"> 404 </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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L405" class="LineNr"> 405 </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">&quot; ^s &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L406" class="LineNr"> 406 </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">&quot; run <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L407" class="LineNr"> 407 </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">&quot; ^g &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L408" class="LineNr"> 408 </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">&quot; go to  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L401" class="LineNr"> 401 </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="L402" class="LineNr"> 402 </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="L403" class="LineNr"> 403 </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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L404" class="LineNr"> 404 </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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L405" class="LineNr"> 405 </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">&quot; ^s &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L406" class="LineNr"> 406 </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">&quot; run <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L407" class="LineNr"> 407 </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">&quot; ^g &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L408" class="LineNr"> 408 </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">&quot; go to  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L409" class="LineNr"> 409 </span>  $render-sandbox-edit-menu:render-ctrl-m: <span class="Delimiter">{</span>
 <span id="L410" class="LineNr"> 410 </span>    <span class="PreProc">var</span> self/eax: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L411" class="LineNr"> 411 </span>    <span class="PreProc">var</span> <a href='sandbox.mu.html#L907'>has-trace?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='sandbox.mu.html#L907'>has-trace?</a> self
 <span id="L412" class="LineNr"> 412 </span>    compare <a href='sandbox.mu.html#L907'>has-trace?</a>, <span class="Constant">0</span>/false
 <span id="L413" class="LineNr"> 413 </span>    <span class="Delimiter">{</span>
 <span id="L414" class="LineNr"> 414 </span>      <span class="PreProc">break-if-=</span>
-<span id="L415" class="LineNr"> 415 </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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x38</span>/bg=trace
-<span id="L416" class="LineNr"> 416 </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">&quot; to trace  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L415" class="LineNr"> 415 </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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x38</span>/bg=trace
+<span id="L416" class="LineNr"> 416 </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">&quot; to trace  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L417" class="LineNr"> 417 </span>      <span class="PreProc">break</span> $render-sandbox-edit-menu:render-ctrl-m
 <span id="L418" class="LineNr"> 418 </span>    <span class="Delimiter">}</span>
-<span id="L419" class="LineNr"> 419 </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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard
-<span id="L420" class="LineNr"> 420 </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">&quot; to keyboard  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L419" class="LineNr"> 419 </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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard
+<span id="L420" class="LineNr"> 420 </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">&quot; to keyboard  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L421" class="LineNr"> 421 </span>  <span class="Delimiter">}</span>
-<span id="L422" class="LineNr"> 422 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L423" class="LineNr"> 423 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L424" class="LineNr"> 424 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L425" class="LineNr"> 425 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L426" class="LineNr"> 426 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L427" class="LineNr"> 427 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L428" class="LineNr"> 428 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L429" class="LineNr"> 429 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L422" class="LineNr"> 422 </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">&quot; ^a &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L423" class="LineNr"> 423 </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">&quot; &lt;&lt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L424" class="LineNr"> 424 </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">&quot; ^b &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L425" class="LineNr"> 425 </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">&quot; &lt;word  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L426" class="LineNr"> 426 </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">&quot; ^f &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L427" class="LineNr"> 427 </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">&quot; word&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L428" class="LineNr"> 428 </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">&quot; ^e &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L429" class="LineNr"> 429 </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">&quot; &gt;&gt;  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L430" class="LineNr"> 430 </span><span class="Delimiter">}</span>
 <span id="L431" class="LineNr"> 431 </span>
 <span id="L432" class="LineNr"> 432 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L432'>render-keyboard-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span>
@@ -502,16 +502,16 @@ if ('onhashchange' in window) {
 <span id="L437" class="LineNr"> 437 </span>  y <span class="Special">&lt;-</span> decrement
 <span id="L438" class="LineNr"> 438 </span>  <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L439" class="LineNr"> 439 </span>  height <span class="Special">&lt;-</span> increment
-<span id="L440" class="LineNr"> 440 </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="L441" class="LineNr"> 441 </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="L442" class="LineNr"> 442 </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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L443" class="LineNr"> 443 </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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L444" class="LineNr"> 444 </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">&quot; ^s &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L445" class="LineNr"> 445 </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">&quot; run <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L446" class="LineNr"> 446 </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">&quot; ^g &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
-<span id="L447" class="LineNr"> 447 </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">&quot; go to  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
-<span id="L448" class="LineNr"> 448 </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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg
-<span id="L449" class="LineNr"> 449 </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">&quot; to <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L440" class="LineNr"> 440 </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="L441" class="LineNr"> 441 </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="L442" class="LineNr"> 442 </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">&quot; ^r &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L443" class="LineNr"> 443 </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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L444" class="LineNr"> 444 </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">&quot; ^s &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L445" class="LineNr"> 445 </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">&quot; run <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L446" class="LineNr"> 446 </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">&quot; ^g &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight
+<span id="L447" class="LineNr"> 447 </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">&quot; go to  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
+<span id="L448" class="LineNr"> 448 </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">&quot; ^m &quot;</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg
+<span id="L449" class="LineNr"> 449 </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">&quot; to <a href='sandbox.mu.html#L1'>sandbox</a>  &quot;</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg
 <span id="L450" class="LineNr"> 450 </span><span class="Delimiter">}</span>
 <span id="L451" class="LineNr"> 451 </span>
 <span id="L452" class="LineNr"> 452 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L452'>edit-sandbox</a></span> _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>), key: grapheme, globals: (addr <a href='global.mu.html#L1'>global-table</a>), data-disk: (addr disk) <span class="Delimiter">{</span>
@@ -598,7 +598,7 @@ if ('onhashchange' in window) {
 <span id="L533" class="LineNr"> 533 </span>    <span class="PreProc">break-if-=</span>
 <span id="L534" class="LineNr"> 534 </span>    <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get self, data
 <span id="L535" class="LineNr"> 535 </span>    <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah
-<span id="L536" class="LineNr"> 536 </span>    <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> data, key
+<span id="L536" class="LineNr"> 536 </span>    <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> data, key
 <span id="L537" class="LineNr"> 537 </span>    <span class="PreProc">return</span>
 <span id="L538" class="LineNr"> 538 </span>  <span class="Delimiter">}</span>
 <span id="L539" class="LineNr"> 539 </span>  <span class="muComment"># if cursor in keyboard, send key to keyboard</span>
@@ -621,7 +621,7 @@ if ('onhashchange' in window) {
 <span id="L556" class="LineNr"> 556 </span>    <span class="Delimiter">}</span>
 <span id="L557" class="LineNr"> 557 </span>    <span class="PreProc">var</span> keyboard-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> get inner-keyboard-var, keyboard-data
 <span id="L558" class="LineNr"> 558 </span>    <span class="PreProc">var</span> keyboard/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *keyboard-ah
-<span id="L559" class="LineNr"> 559 </span>    <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> keyboard, key
+<span id="L559" class="LineNr"> 559 </span>    <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> keyboard, key
 <span id="L560" class="LineNr"> 560 </span>    <span class="PreProc">return</span>
 <span id="L561" class="LineNr"> 561 </span>  <span class="Delimiter">}</span>
 <span id="L562" class="LineNr"> 562 </span>  <span class="muComment"># if cursor in trace, send key to trace</span>
@@ -1021,7 +1021,7 @@ if ('onhashchange' in window) {
 <span id="L956" class="LineNr"> 956 </span>  <span class="muComment"># expand</span>
 <span id="L957" class="LineNr"> 957 </span>  <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk
 <span id="L958" class="LineNr"> 958 </span>  <span class="muComment">#</span>
-<span id="L959" class="LineNr"> 959 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L959" class="LineNr"> 959 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L960" class="LineNr"> 960 </span>  <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor
 <span id="L961" class="LineNr"> 961 </span>  <span class="muComment"># skip one line of padding</span>
 <span id="L962" class="LineNr"> 962 </span>  <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,                                  <span class="Constant">1</span>/y, <span class="Constant">&quot; 12    &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L926'>test-run-expand-trace</a>/expand-0&quot;</span>
@@ -1068,7 +1068,7 @@ if ('onhashchange' in window) {
 <span id="L1003" class="LineNr">1003 </span>  <span class="muComment"># expand</span>
 <span id="L1004" class="LineNr">1004 </span>  <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk
 <span id="L1005" class="LineNr">1005 </span>  <span class="muComment">#</span>
-<span id="L1006" class="LineNr">1006 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L1006" class="LineNr">1006 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L1007" class="LineNr">1007 </span>  <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor
 <span id="L1008" class="LineNr">1008 </span>  <span class="muComment"># skip one line of padding</span>
 <span id="L1009" class="LineNr">1009 </span>  <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,                                  <span class="Constant">1</span>/y, <span class="Constant">&quot; 12    &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L972'>test-run-can-rerun-when-expanding-trace</a>/pre2-0&quot;</span>
@@ -1084,7 +1084,7 @@ if ('onhashchange' in window) {
 <span id="L1019" class="LineNr">1019 </span>  <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor
 <span id="L1020" class="LineNr">1020 </span>  <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk
 <span id="L1021" class="LineNr">1021 </span>  <span class="muComment">#</span>
-<span id="L1022" class="LineNr">1022 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L1022" class="LineNr">1022 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L1023" class="LineNr">1023 </span>  <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor
 <span id="L1024" class="LineNr">1024 </span>  <span class="muComment"># screen looks same as if trace max-depth was really high</span>
 <span id="L1025" class="LineNr">1025 </span>  <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,                                  <span class="Constant">1</span>/y, <span class="Constant">&quot; 12    &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L972'>test-run-can-rerun-when-expanding-trace</a>/expand-0&quot;</span>
@@ -1135,7 +1135,7 @@ if ('onhashchange' in window) {
 <span id="L1070" class="LineNr">1070 </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">&quot;                       &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/pre1-2/cursor&quot;</span>
 <span id="L1071" class="LineNr">1071 </span>  <span class="muComment"># expand</span>
 <span id="L1072" class="LineNr">1072 </span>  <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk
-<span id="L1073" class="LineNr">1073 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L1073" class="LineNr">1073 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L1074" class="LineNr">1074 </span>  <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor
 <span id="L1075" class="LineNr">1075 </span>  <span class="muComment">#</span>
 <span id="L1076" class="LineNr">1076 </span>  <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,                                    <span class="Constant">1</span>/y, <span class="Constant">&quot; 7                     &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/pre2-0&quot;</span>
@@ -1202,7 +1202,7 @@ if ('onhashchange' in window) {
 <span id="L1137" class="LineNr">1137 </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">0xb</span>/y, <span class="Constant">&quot;                       &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/pre3-10/cursor&quot;</span>
 <span id="L1138" class="LineNr">1138 </span>  <span class="muComment"># expand</span>
 <span id="L1139" class="LineNr">1139 </span>  <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk
-<span id="L1140" class="LineNr">1140 </span>  <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L1140" class="LineNr">1140 </span>  <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
 <span id="L1141" class="LineNr">1141 </span>  <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor
 <span id="L1142" class="LineNr">1142 </span>  <span class="muComment"># cursor line is expanded</span>
 <span id="L1143" class="LineNr">1143 </span>  <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>,                                    <span class="Constant">1</span>/y, <span class="Constant">&quot; 7                     &quot;</span>, <span class="Constant">&quot;F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/expand-0&quot;</span>
diff --git a/html/shell/tokenize.mu.html b/html/shell/tokenize.mu.html
index 4aea8936..69d0391d 100644
--- a/html/shell/tokenize.mu.html
+++ b/html/shell/tokenize.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/tokenize.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; }
@@ -30,7 +30,7 @@ a { color:inherit; }
 -->
 </style>
 
-<script type='text/javascript'>
+<script>
 <!--
 
 /* function to open any folds containing a jumped-to line before jumping to it */
@@ -77,10 +77,10 @@ if ('onhashchange' in window) {
 <span id="L13" class="LineNr">  13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='tokenize.mu.html#L13'>tokenize</a></span> in: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream <a href='tokenize.mu.html#L3'>token</a>), trace: (addr trace) <span class="Delimiter">{</span>
 <span id="L14" class="LineNr">  14 </span>  <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">&quot;tokenize&quot;</span>, <span class="Constant">&quot;tokenize&quot;</span>
 <span id="L15" class="LineNr">  15 </span>  <a href='trace.mu.html#L239'>trace-lower</a> trace
-<span id="L16" class="LineNr">  16 </span>  <a href='../514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> in
+<span id="L16" class="LineNr">  16 </span>  <a href='../514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> in
 <span id="L17" class="LineNr">  17 </span>  <span class="PreProc">var</span> at-start-of-line?/<span class="muRegEdi">edi</span>: boolean <span class="Special">&lt;-</span> copy <span class="Constant">1</span>/true
 <span id="L18" class="LineNr">  18 </span>  <span class="Delimiter">{</span>
-<span id="L19" class="LineNr">  19 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L19" class="LineNr">  19 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L20" class="LineNr">  20 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L21" class="LineNr">  21 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L22" class="LineNr">  22 </span>    <span class="muComment">#</span>
@@ -105,7 +105,7 @@ if ('onhashchange' in window) {
 <span id="L41" class="LineNr">  41 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L41'>test-tokenize-number</a></span> <span class="Delimiter">{</span>
 <span id="L42" class="LineNr">  42 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L43" class="LineNr">  43 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L44" class="LineNr">  44 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;123 a&quot;</span>
+<span id="L44" class="LineNr">  44 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;123 a&quot;</span>
 <span id="L45" class="LineNr">  45 </span>  <span class="muComment">#</span>
 <span id="L46" class="LineNr">  46 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L47" class="LineNr">  47 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -133,7 +133,7 @@ if ('onhashchange' in window) {
 <span id="L69" class="LineNr">  69 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L69'>test-tokenize-negative-number</a></span> <span class="Delimiter">{</span>
 <span id="L70" class="LineNr">  70 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L71" class="LineNr">  71 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L72" class="LineNr">  72 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;-123 a&quot;</span>
+<span id="L72" class="LineNr">  72 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;-123 a&quot;</span>
 <span id="L73" class="LineNr">  73 </span>  <span class="muComment">#</span>
 <span id="L74" class="LineNr">  74 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L75" class="LineNr">  75 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -161,7 +161,7 @@ if ('onhashchange' in window) {
 <span id="L97" class="LineNr">  97 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L97'>test-tokenize-quote</a></span> <span class="Delimiter">{</span>
 <span id="L98" class="LineNr">  98 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L99" class="LineNr">  99 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L100" class="LineNr"> 100 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;'(a)&quot;</span>
+<span id="L100" class="LineNr"> 100 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;'(a)&quot;</span>
 <span id="L101" class="LineNr"> 101 </span>  <span class="muComment">#</span>
 <span id="L102" class="LineNr"> 102 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L103" class="LineNr"> 103 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -193,7 +193,7 @@ if ('onhashchange' in window) {
 <span id="L129" class="LineNr"> 129 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L129'>test-tokenize-backquote</a></span> <span class="Delimiter">{</span>
 <span id="L130" class="LineNr"> 130 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L131" class="LineNr"> 131 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L132" class="LineNr"> 132 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;`(a)&quot;</span>
+<span id="L132" class="LineNr"> 132 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;`(a)&quot;</span>
 <span id="L133" class="LineNr"> 133 </span>  <span class="muComment">#</span>
 <span id="L134" class="LineNr"> 134 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L135" class="LineNr"> 135 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -225,7 +225,7 @@ if ('onhashchange' in window) {
 <span id="L161" class="LineNr"> 161 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L161'>test-tokenize-unquote</a></span> <span class="Delimiter">{</span>
 <span id="L162" class="LineNr"> 162 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L163" class="LineNr"> 163 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L164" class="LineNr"> 164 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;,(a)&quot;</span>
+<span id="L164" class="LineNr"> 164 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;,(a)&quot;</span>
 <span id="L165" class="LineNr"> 165 </span>  <span class="muComment">#</span>
 <span id="L166" class="LineNr"> 166 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L167" class="LineNr"> 167 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -257,7 +257,7 @@ if ('onhashchange' in window) {
 <span id="L193" class="LineNr"> 193 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L193'>test-tokenize-unquote-splice</a></span> <span class="Delimiter">{</span>
 <span id="L194" class="LineNr"> 194 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L195" class="LineNr"> 195 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L196" class="LineNr"> 196 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;,@a&quot;</span>
+<span id="L196" class="LineNr"> 196 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;,@a&quot;</span>
 <span id="L197" class="LineNr"> 197 </span>  <span class="muComment">#</span>
 <span id="L198" class="LineNr"> 198 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L199" class="LineNr"> 199 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -282,7 +282,7 @@ if ('onhashchange' in window) {
 <span id="L218" class="LineNr"> 218 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L218'>test-tokenize-dotted-list</a></span> <span class="Delimiter">{</span>
 <span id="L219" class="LineNr"> 219 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L220" class="LineNr"> 220 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L221" class="LineNr"> 221 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;(a . b)&quot;</span>
+<span id="L221" class="LineNr"> 221 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;(a . b)&quot;</span>
 <span id="L222" class="LineNr"> 222 </span>  <span class="muComment">#</span>
 <span id="L223" class="LineNr"> 223 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L224" class="LineNr"> 224 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -316,7 +316,7 @@ if ('onhashchange' in window) {
 <span id="L252" class="LineNr"> 252 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L252'>test-tokenize-stream-literal</a></span> <span class="Delimiter">{</span>
 <span id="L253" class="LineNr"> 253 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L254" class="LineNr"> 254 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L255" class="LineNr"> 255 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;\&quot;</span>abc def\<span class="Constant">&quot;&quot;</span>
+<span id="L255" class="LineNr"> 255 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;\&quot;</span>abc def\<span class="Constant">&quot;&quot;</span>
 <span id="L256" class="LineNr"> 256 </span>  <span class="muComment">#</span>
 <span id="L257" class="LineNr"> 257 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L258" class="LineNr"> 258 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -348,7 +348,7 @@ if ('onhashchange' in window) {
 <span id="L284" class="LineNr"> 284 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L284'>test-tokenize-balanced-stream-literal</a></span> <span class="Delimiter">{</span>
 <span id="L285" class="LineNr"> 285 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L286" class="LineNr"> 286 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L287" class="LineNr"> 287 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;[abc def]&quot;</span>
+<span id="L287" class="LineNr"> 287 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;[abc def]&quot;</span>
 <span id="L288" class="LineNr"> 288 </span>  <span class="muComment">#</span>
 <span id="L289" class="LineNr"> 289 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L290" class="LineNr"> 290 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -379,7 +379,7 @@ if ('onhashchange' in window) {
 <span id="L315" class="LineNr"> 315 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L315'>test-tokenize-nested-stream-literal</a></span> <span class="Delimiter">{</span>
 <span id="L316" class="LineNr"> 316 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L317" class="LineNr"> 317 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L318" class="LineNr"> 318 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;[abc [def]]&quot;</span>
+<span id="L318" class="LineNr"> 318 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;[abc [def]]&quot;</span>
 <span id="L319" class="LineNr"> 319 </span>  <span class="muComment">#</span>
 <span id="L320" class="LineNr"> 320 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L321" class="LineNr"> 321 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -410,7 +410,7 @@ if ('onhashchange' in window) {
 <span id="L346" class="LineNr"> 346 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L346'>test-tokenize-stream-literal-in-tree</a></span> <span class="Delimiter">{</span>
 <span id="L347" class="LineNr"> 347 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L348" class="LineNr"> 348 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L349" class="LineNr"> 349 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;([abc def])&quot;</span>
+<span id="L349" class="LineNr"> 349 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;([abc def])&quot;</span>
 <span id="L350" class="LineNr"> 350 </span>  <span class="muComment">#</span>
 <span id="L351" class="LineNr"> 351 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L352" class="LineNr"> 352 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -447,7 +447,7 @@ if ('onhashchange' in window) {
 <span id="L383" class="LineNr"> 383 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L383'>test-tokenize-indent</a></span> <span class="Delimiter">{</span>
 <span id="L384" class="LineNr"> 384 </span>  <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>
 <span id="L385" class="LineNr"> 385 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special">&lt;-</span> address in-storage
-<span id="L386" class="LineNr"> 386 </span>  <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;abc\n  def&quot;</span>
+<span id="L386" class="LineNr"> 386 </span>  <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">&quot;abc\n  def&quot;</span>
 <span id="L387" class="LineNr"> 387 </span>  <span class="muComment">#</span>
 <span id="L388" class="LineNr"> 388 </span>  <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>)
 <span id="L389" class="LineNr"> 389 </span>  <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> address stream-storage
@@ -492,19 +492,19 @@ if ('onhashchange' in window) {
 <span id="L428" class="LineNr"> 428 </span>    <span class="PreProc">break-if-=</span>
 <span id="L429" class="LineNr"> 429 </span>    <a href='tokenize.mu.html#L801'>next-indent-token</a> in, out, trace  <span class="muComment"># might not be returned</span>
 <span id="L430" class="LineNr"> 430 </span>  <span class="Delimiter">}</span>
-<span id="L431" class="LineNr"> 431 </span>  <a href='../514gap-buffer.mu.html#L1190'>skip-spaces-from-gap-buffer</a> in
-<span id="L432" class="LineNr"> 432 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L431" class="LineNr"> 431 </span>  <a href='../514gap-buffer.mu.html#L1189'>skip-spaces-from-gap-buffer</a> in
+<span id="L432" class="LineNr"> 432 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L433" class="LineNr"> 433 </span>  <span class="Delimiter">{</span>
 <span id="L434" class="LineNr"> 434 </span>    compare g, <span class="Constant">0x23</span>/comment
 <span id="L435" class="LineNr"> 435 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L436" class="LineNr"> 436 </span>    <a href='tokenize.mu.html#L788'>skip-rest-of-line</a> in
 <span id="L437" class="LineNr"> 437 </span>  <span class="Delimiter">}</span>
-<span id="L438" class="LineNr"> 438 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L438" class="LineNr"> 438 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L439" class="LineNr"> 439 </span>  <span class="Delimiter">{</span>
 <span id="L440" class="LineNr"> 440 </span>    compare g, <span class="Constant">0xa</span>/newline
 <span id="L441" class="LineNr"> 441 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L442" class="LineNr"> 442 </span>    <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">&quot;tokenize&quot;</span>, <span class="Constant">&quot;newline&quot;</span>
-<span id="L443" class="LineNr"> 443 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L443" class="LineNr"> 443 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L444" class="LineNr"> 444 </span>    <a href='tokenize.mu.html#L1159'>initialize-skip-token</a> out  <span class="muComment"># might drop indent if that's all there was in this line</span>
 <span id="L445" class="LineNr"> 445 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
 <span id="L446" class="LineNr"> 446 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/at-start-of-line
@@ -517,7 +517,7 @@ if ('onhashchange' in window) {
 <span id="L453" class="LineNr"> 453 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>/not-at-start-of-line
 <span id="L454" class="LineNr"> 454 </span>  <span class="Delimiter">}</span>
 <span id="L455" class="LineNr"> 455 </span>  <span class="Delimiter">{</span>
-<span id="L456" class="LineNr"> 456 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L456" class="LineNr"> 456 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L457" class="LineNr"> 457 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L458" class="LineNr"> 458 </span>    <span class="PreProc">break-if-=</span>
 <span id="L459" class="LineNr"> 459 </span>    <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">&quot;tokenize&quot;</span>, <span class="Constant">&quot;end&quot;</span>
@@ -525,7 +525,7 @@ if ('onhashchange' in window) {
 <span id="L461" class="LineNr"> 461 </span>    <a href='trace.mu.html#L250'>trace-higher</a> trace
 <span id="L462" class="LineNr"> 462 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>/at-start-of-line
 <span id="L463" class="LineNr"> 463 </span>  <span class="Delimiter">}</span>
-<span id="L464" class="LineNr"> 464 </span>  <span class="PreProc">var</span> _g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L464" class="LineNr"> 464 </span>  <span class="PreProc">var</span> _g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L465" class="LineNr"> 465 </span>  <span class="PreProc">var</span> g/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy _g
 <span id="L466" class="LineNr"> 466 </span>  <span class="Delimiter">{</span>
 <span id="L467" class="LineNr"> 467 </span>    <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace
@@ -543,7 +543,7 @@ if ('onhashchange' in window) {
 <span id="L479" class="LineNr"> 479 </span>    <span class="Delimiter">{</span>
 <span id="L480" class="LineNr"> 480 </span>      compare g, <span class="Constant">0x22</span>/double-quote
 <span id="L481" class="LineNr"> 481 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L482" class="LineNr"> 482 </span>      <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># skip</span>
+<span id="L482" class="LineNr"> 482 </span>      <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># skip</span>
 <span id="L483" class="LineNr"> 483 </span>      <a href='tokenize.mu.html#L680'>next-stream-token</a> in, out, trace
 <span id="L484" class="LineNr"> 484 </span>      <span class="PreProc">break</span> $next-token:case
 <span id="L485" class="LineNr"> 485 </span>    <span class="Delimiter">}</span>
@@ -551,7 +551,7 @@ if ('onhashchange' in window) {
 <span id="L487" class="LineNr"> 487 </span>    <span class="Delimiter">{</span>
 <span id="L488" class="LineNr"> 488 </span>      compare g, <span class="Constant">0x5b</span>/open-square-bracket
 <span id="L489" class="LineNr"> 489 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L490" class="LineNr"> 490 </span>      <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># skip open bracket</span>
+<span id="L490" class="LineNr"> 490 </span>      <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># skip open bracket</span>
 <span id="L491" class="LineNr"> 491 </span>      <a href='tokenize.mu.html#L718'>next-balanced-stream-token</a> in, out, trace
 <span id="L492" class="LineNr"> 492 </span>      <span class="PreProc">break</span> $next-token:case
 <span id="L493" class="LineNr"> 493 </span>    <span class="Delimiter">}</span>
@@ -575,7 +575,7 @@ if ('onhashchange' in window) {
 <span id="L511" class="LineNr"> 511 </span>      <span class="PreProc">var</span> bracket?/eax: boolean <span class="Special">&lt;-</span> <a href='tokenize.mu.html#L934'>bracket-grapheme?</a> g
 <span id="L512" class="LineNr"> 512 </span>      compare bracket?, <span class="Constant">0</span>/false
 <span id="L513" class="LineNr"> 513 </span>      <span class="PreProc">break-if-=</span>
-<span id="L514" class="LineNr"> 514 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L514" class="LineNr"> 514 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L515" class="LineNr"> 515 </span>      <a href='tokenize.mu.html#L767'>next-bracket-token</a> g, out, trace
 <span id="L516" class="LineNr"> 516 </span>      <span class="PreProc">break</span> $next-token:case
 <span id="L517" class="LineNr"> 517 </span>    <span class="Delimiter">}</span>
@@ -583,7 +583,7 @@ if ('onhashchange' in window) {
 <span id="L519" class="LineNr"> 519 </span>    <span class="Delimiter">{</span>
 <span id="L520" class="LineNr"> 520 </span>      compare g, <span class="Constant">0x27</span>/single-quote
 <span id="L521" class="LineNr"> 521 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L522" class="LineNr"> 522 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
+<span id="L522" class="LineNr"> 522 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
 <span id="L523" class="LineNr"> 523 </span>      <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">&quot;'&quot;</span>
 <span id="L524" class="LineNr"> 524 </span>      <span class="PreProc">break</span> $next-token:case
 <span id="L525" class="LineNr"> 525 </span>    <span class="Delimiter">}</span>
@@ -591,7 +591,7 @@ if ('onhashchange' in window) {
 <span id="L527" class="LineNr"> 527 </span>    <span class="Delimiter">{</span>
 <span id="L528" class="LineNr"> 528 </span>      compare g, <span class="Constant">0x60</span>/backquote
 <span id="L529" class="LineNr"> 529 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L530" class="LineNr"> 530 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
+<span id="L530" class="LineNr"> 530 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
 <span id="L531" class="LineNr"> 531 </span>      <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">&quot;`&quot;</span>
 <span id="L532" class="LineNr"> 532 </span>      <span class="PreProc">break</span> $next-token:case
 <span id="L533" class="LineNr"> 533 </span>    <span class="Delimiter">}</span>
@@ -599,23 +599,23 @@ if ('onhashchange' in window) {
 <span id="L535" class="LineNr"> 535 </span>    <span class="Delimiter">{</span>
 <span id="L536" class="LineNr"> 536 </span>      compare g, <span class="Constant">0x2c</span>/comma
 <span id="L537" class="LineNr"> 537 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L538" class="LineNr"> 538 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
+<span id="L538" class="LineNr"> 538 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
 <span id="L539" class="LineNr"> 539 </span>      <span class="muComment"># check for unquote-splice</span>
 <span id="L540" class="LineNr"> 540 </span>      <span class="Delimiter">{</span>
-<span id="L541" class="LineNr"> 541 </span>        g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L541" class="LineNr"> 541 </span>        g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L542" class="LineNr"> 542 </span>        compare g, <span class="Constant">0x40</span>/at-sign
 <span id="L543" class="LineNr"> 543 </span>        <span class="PreProc">break-if-!=</span>
-<span id="L544" class="LineNr"> 544 </span>        g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L544" class="LineNr"> 544 </span>        g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L545" class="LineNr"> 545 </span>        <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">&quot;,@&quot;</span>
 <span id="L546" class="LineNr"> 546 </span>        <span class="PreProc">break</span> $next-token:case
 <span id="L547" class="LineNr"> 547 </span>      <span class="Delimiter">}</span>
 <span id="L548" class="LineNr"> 548 </span>      <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">&quot;,&quot;</span>
 <span id="L549" class="LineNr"> 549 </span>      <span class="PreProc">break</span> $next-token:case
 <span id="L550" class="LineNr"> 550 </span>    <span class="Delimiter">}</span>
-<span id="L551" class="LineNr"> 551 </span>    <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x40</span> <span class="Constant">0x20</span>
+<span id="L551" class="LineNr"> 551 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x40</span> <span class="Constant">0x20</span>
 <span id="L552" class="LineNr"> 552 </span>    <span class="Delimiter">{</span>
 <span id="L553" class="LineNr"> 553 </span>      <span class="PreProc">var</span> foo/eax: int <span class="Special">&lt;-</span> copy g
-<span id="L554" class="LineNr"> 554 </span>      <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, foo, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L554" class="LineNr"> 554 </span>      <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, foo, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
 <span id="L555" class="LineNr"> 555 </span>    <span class="Delimiter">}</span>
 <span id="L556" class="LineNr"> 556 </span>    <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;unknown <a href='tokenize.mu.html#L3'>token</a> type&quot;</span>
 <span id="L557" class="LineNr"> 557 </span>  <span class="Delimiter">}</span>
@@ -642,10 +642,10 @@ if ('onhashchange' in window) {
 <span id="L578" class="LineNr"> 578 </span>  <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah
 <span id="L579" class="LineNr"> 579 </span>  <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> copy _out-data
 <span id="L580" class="LineNr"> 580 </span>  $next-symbol-token:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
-<span id="L581" class="LineNr"> 581 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L581" class="LineNr"> 581 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L582" class="LineNr"> 582 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L583" class="LineNr"> 583 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L584" class="LineNr"> 584 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L584" class="LineNr"> 584 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L585" class="LineNr"> 585 </span>    <span class="Delimiter">{</span>
 <span id="L586" class="LineNr"> 586 </span>      <span class="Delimiter">{</span>
 <span id="L587" class="LineNr"> 587 </span>        <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace
@@ -667,7 +667,7 @@ if ('onhashchange' in window) {
 <span id="L603" class="LineNr"> 603 </span>      <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">&quot;tokenize&quot;</span>, <span class="Constant">&quot;stop&quot;</span>
 <span id="L604" class="LineNr"> 604 </span>      <span class="PreProc">break</span> $next-symbol-token:<span class="PreProc">loop</span>
 <span id="L605" class="LineNr"> 605 </span>    <span class="Delimiter">}</span>
-<span id="L606" class="LineNr"> 606 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L606" class="LineNr"> 606 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L607" class="LineNr"> 607 </span>    <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g
 <span id="L608" class="LineNr"> 608 </span>    <span class="PreProc">loop</span>
 <span id="L609" class="LineNr"> 609 </span>  <span class="Delimiter">}</span>
@@ -694,16 +694,16 @@ if ('onhashchange' in window) {
 <span id="L630" class="LineNr"> 630 </span>  <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah
 <span id="L631" class="LineNr"> 631 </span>  <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> copy _out-data
 <span id="L632" class="LineNr"> 632 </span>  $next-number-token:check-minus: <span class="Delimiter">{</span>
-<span id="L633" class="LineNr"> 633 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L633" class="LineNr"> 633 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L634" class="LineNr"> 634 </span>    compare g, <span class="Constant">0x2d</span>/minus
-<span id="L635" class="LineNr"> 635 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
+<span id="L635" class="LineNr"> 635 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
 <span id="L636" class="LineNr"> 636 </span>    <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g
 <span id="L637" class="LineNr"> 637 </span>  <span class="Delimiter">}</span>
 <span id="L638" class="LineNr"> 638 </span>  $next-number-token:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
-<span id="L639" class="LineNr"> 639 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L639" class="LineNr"> 639 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L640" class="LineNr"> 640 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L641" class="LineNr"> 641 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L642" class="LineNr"> 642 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L642" class="LineNr"> 642 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L643" class="LineNr"> 643 </span>    <span class="Delimiter">{</span>
 <span id="L644" class="LineNr"> 644 </span>      <span class="Delimiter">{</span>
 <span id="L645" class="LineNr"> 645 </span>        <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace
@@ -734,7 +734,7 @@ if ('onhashchange' in window) {
 <span id="L670" class="LineNr"> 670 </span>      <span class="PreProc">return</span>
 <span id="L671" class="LineNr"> 671 </span>    <span class="Delimiter">}</span>
 <span id="L672" class="LineNr"> 672 </span>    <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">&quot;tokenize&quot;</span>, <span class="Constant">&quot;append&quot;</span>
-<span id="L673" class="LineNr"> 673 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L673" class="LineNr"> 673 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L674" class="LineNr"> 674 </span>    <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g
 <span id="L675" class="LineNr"> 675 </span>    <span class="PreProc">loop</span>
 <span id="L676" class="LineNr"> 676 </span>  <span class="Delimiter">}</span>
@@ -753,14 +753,14 @@ if ('onhashchange' in window) {
 <span id="L689" class="LineNr"> 689 </span>  <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah
 <span id="L690" class="LineNr"> 690 </span>  <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> copy _out-data
 <span id="L691" class="LineNr"> 691 </span>  <span class="Delimiter">{</span>
-<span id="L692" class="LineNr"> 692 </span>    <span class="PreProc">var</span> empty?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L692" class="LineNr"> 692 </span>    <span class="PreProc">var</span> empty?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L693" class="LineNr"> 693 </span>    compare empty?, <span class="Constant">0</span>/false
 <span id="L694" class="LineNr"> 694 </span>    <span class="Delimiter">{</span>
 <span id="L695" class="LineNr"> 695 </span>      <span class="PreProc">break-if-=</span>
 <span id="L696" class="LineNr"> 696 </span>      <span class="Special"><a href='trace.mu.html#L197'>error</a></span> trace, <span class="Constant">&quot;unbalanced '\&quot;</span>'&quot;
 <span id="L697" class="LineNr"> 697 </span>      <span class="PreProc">return</span>
 <span id="L698" class="LineNr"> 698 </span>    <span class="Delimiter">}</span>
-<span id="L699" class="LineNr"> 699 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L699" class="LineNr"> 699 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L700" class="LineNr"> 700 </span>    compare g, <span class="Constant">0x22</span>/double-quote
 <span id="L701" class="LineNr"> 701 </span>    <span class="PreProc">break-if-=</span>
 <span id="L702" class="LineNr"> 702 </span>    <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g
@@ -792,14 +792,14 @@ if ('onhashchange' in window) {
 <span id="L728" class="LineNr"> 728 </span>  <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah
 <span id="L729" class="LineNr"> 729 </span>  <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> copy _out-data
 <span id="L730" class="LineNr"> 730 </span>  $next-balanced-stream-token:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
-<span id="L731" class="LineNr"> 731 </span>    <span class="PreProc">var</span> empty?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L731" class="LineNr"> 731 </span>    <span class="PreProc">var</span> empty?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L732" class="LineNr"> 732 </span>    compare empty?, <span class="Constant">0</span>/false
 <span id="L733" class="LineNr"> 733 </span>    <span class="Delimiter">{</span>
 <span id="L734" class="LineNr"> 734 </span>      <span class="PreProc">break-if-=</span>
 <span id="L735" class="LineNr"> 735 </span>      <span class="Special"><a href='trace.mu.html#L197'>error</a></span> trace, <span class="Constant">&quot;unbalanced '['&quot;</span>
 <span id="L736" class="LineNr"> 736 </span>      <span class="PreProc">return</span>
 <span id="L737" class="LineNr"> 737 </span>    <span class="Delimiter">}</span>
-<span id="L738" class="LineNr"> 738 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L738" class="LineNr"> 738 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L739" class="LineNr"> 739 </span>    <span class="Delimiter">{</span>
 <span id="L740" class="LineNr"> 740 </span>      compare g, <span class="Constant">0x5b</span>/open-square-bracket
 <span id="L741" class="LineNr"> 741 </span>      <span class="PreProc">break-if-!=</span>
@@ -851,13 +851,13 @@ if ('onhashchange' in window) {
 <span id="L787" class="LineNr"> 787 </span>
 <span id="L788" class="LineNr"> 788 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='tokenize.mu.html#L788'>skip-rest-of-line</a></span> in: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span>
 <span id="L789" class="LineNr"> 789 </span>  <span class="Delimiter">{</span>
-<span id="L790" class="LineNr"> 790 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L790" class="LineNr"> 790 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L791" class="LineNr"> 791 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L792" class="LineNr"> 792 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L793" class="LineNr"> 793 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L793" class="LineNr"> 793 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L794" class="LineNr"> 794 </span>    compare g, <span class="Constant">0xa</span>/newline
 <span id="L795" class="LineNr"> 795 </span>    <span class="PreProc">break-if-=</span>
-<span id="L796" class="LineNr"> 796 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
+<span id="L796" class="LineNr"> 796 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in  <span class="muComment"># consume</span>
 <span id="L797" class="LineNr"> 797 </span>    <span class="PreProc">loop</span>
 <span id="L798" class="LineNr"> 798 </span>  <span class="Delimiter">}</span>
 <span id="L799" class="LineNr"> 799 </span><span class="Delimiter">}</span>
@@ -871,10 +871,10 @@ if ('onhashchange' in window) {
 <span id="L807" class="LineNr"> 807 </span>  <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special">&lt;-</span> get out, number-data
 <span id="L808" class="LineNr"> 808 </span>  copy-to *dest, <span class="Constant">0</span>
 <span id="L809" class="LineNr"> 809 </span>  <span class="Delimiter">{</span>
-<span id="L810" class="LineNr"> 810 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in
+<span id="L810" class="LineNr"> 810 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in
 <span id="L811" class="LineNr"> 811 </span>    compare done?, <span class="Constant">0</span>/false
 <span id="L812" class="LineNr"> 812 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L813" class="LineNr"> 813 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in
+<span id="L813" class="LineNr"> 813 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in
 <span id="L814" class="LineNr"> 814 </span>    <span class="Delimiter">{</span>
 <span id="L815" class="LineNr"> 815 </span>      <span class="Delimiter">{</span>
 <span id="L816" class="LineNr"> 816 </span>        <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special">&lt;-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace
@@ -891,7 +891,7 @@ if ('onhashchange' in window) {
 <span id="L827" class="LineNr"> 827 </span>    <span class="muComment"># if non-space, break</span>
 <span id="L828" class="LineNr"> 828 </span>    compare g, <span class="Constant">0x20</span>/space
 <span id="L829" class="LineNr"> 829 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L830" class="LineNr"> 830 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in
+<span id="L830" class="LineNr"> 830 </span>    g <span class="Special">&lt;-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in
 <span id="L831" class="LineNr"> 831 </span>    increment *dest
 <span id="L832" class="LineNr"> 832 </span>    <span class="PreProc">loop</span>
 <span id="L833" class="LineNr"> 833 </span>  <span class="Delimiter">}</span>
@@ -1277,16 +1277,16 @@ if ('onhashchange' in window) {
 <span id="L1213" class="LineNr">1213 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='tokenize.mu.html#L1213'>dump-token-from-cursor</a></span> _t: (addr <a href='tokenize.mu.html#L3'>token</a>) <span class="Delimiter">{</span>
 <span id="L1214" class="LineNr">1214 </span>  <span class="PreProc">var</span> t/<span class="muRegEsi">esi</span>: (addr <a href='tokenize.mu.html#L3'>token</a>) <span class="Special">&lt;-</span> copy _t
 <span id="L1215" class="LineNr">1215 </span>  <span class="PreProc">var</span> <span class="PreProc">type</span>/eax: (addr int) <span class="Special">&lt;-</span> get t, <span class="PreProc">type</span>
-<span id="L1216" class="LineNr">1216 </span>  <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *<span class="PreProc">type</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L1217" class="LineNr">1217 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L1216" class="LineNr">1216 </span>  <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *<span class="PreProc">type</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L1217" class="LineNr">1217 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
 <span id="L1218" class="LineNr">1218 </span>  <span class="PreProc">var</span> text-ah/eax: (addr handle stream byte) <span class="Special">&lt;-</span> get t, text-data
 <span id="L1219" class="LineNr">1219 </span>  <span class="PreProc">var</span> text/eax: (addr stream byte) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *text-ah
 <span id="L1220" class="LineNr">1220 </span>  <a href='../106stream.subx.html#L59'>rewind-stream</a> text
-<span id="L1221" class="LineNr">1221 </span>  <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, text, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L1222" class="LineNr">1222 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L1221" class="LineNr">1221 </span>  <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, text, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L1222" class="LineNr">1222 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
 <span id="L1223" class="LineNr">1223 </span>  <span class="PreProc">var</span> num/eax: (addr int) <span class="Special">&lt;-</span> get t, number-data
-<span id="L1224" class="LineNr">1224 </span>  <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *num, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
-<span id="L1225" class="LineNr">1225 </span>  <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;\n&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L1224" class="LineNr">1224 </span>  <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *num, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L1225" class="LineNr">1225 </span>  <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;\n&quot;</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
 <span id="L1226" class="LineNr">1226 </span><span class="Delimiter">}</span>
 </pre>
 </body>
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-&lt;</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">&quot;trace depth: &quot;</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">&quot;trace depth: &quot;</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">&lt;-</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">&lt;-</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">&lt;-</span> copy xmin
-<span id="L550" class="LineNr"> 550 </span>        x, y <span class="Special">&lt;-</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">&quot;...&quot;</span>, xmin, ymin, xmax, ymax, x, y, fg, bg
+<span id="L550" class="LineNr"> 550 </span>        x, y <span class="Special">&lt;-</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">&quot;...&quot;</span>, xmin, ymin, xmax, ymax, x, y, fg, bg
 <span id="L551" class="LineNr"> 551 </span>        y <span class="Special">&lt;-</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">&lt;-</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">&lt;-</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">&lt;-</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">&quot; &quot;</span>, xmin, ymin, xmax, ymax, x, y, fg, bg
+<span id="L593" class="LineNr"> 593 </span>      x, y <span class="Special">&lt;-</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">&lt;-</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">&quot; &quot;</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">&lt;-</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">&lt;-</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">&lt;-</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">&lt;-</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">&lt;-</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">&lt;-</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">&lt;-</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">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L718" class="LineNr"> 718 </span>  dummy1, dummy2 <span class="Special">&lt;-</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">&quot;...&quot;</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">&lt;-</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">&quot;...&quot;</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">&lt;-</span> decrement
 <span id="L891" class="LineNr"> 891 </span>  <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y
 <span id="L892" class="LineNr"> 892 </span>  height <span class="Special">&lt;-</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">&quot; ^r &quot;</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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</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">&quot; ^g &quot;</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">&quot; go to  &quot;</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">&quot; ^m &quot;</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">&quot; to keyboard  &quot;</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">&quot; enter/bksp &quot;</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">&quot; <a href='trace.mu.html#L985'>expand</a>/collapse  &quot;</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">&quot; ^s &quot;</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">&quot; show whole line  &quot;</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">&quot; ^r &quot;</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">&quot; run <a href='main.mu.html#L4'>main</a>  &quot;</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">&quot; ^g &quot;</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">&quot; go to  &quot;</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">&quot; ^m &quot;</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">&quot; to keyboard  &quot;</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">&quot; enter/bksp &quot;</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">&quot; <a href='trace.mu.html#L985'>expand</a>/collapse  &quot;</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">&quot; ^s &quot;</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">&quot; show whole line  &quot;</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">&quot;l&quot;</span>, <span class="Constant">&quot;line 5&quot;</span>
 <span id="L1594" class="LineNr">1594 </span>  <a href='trace.mu.html#L185'>trace-text</a> t, <span class="Constant">&quot;l&quot;</span>, <span class="Constant">&quot;line 6&quot;</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">&lt;-</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">&quot;...        &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1550'>test-trace-keep-cursor-visible-on-refresh</a>/refresh-0&quot;</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">&lt;-</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">&quot;F - <a href='trace.mu.html#L1607'>test-trace-collapse-at-top</a>/post-0/y&quot;</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">&lt;-</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">&lt;-</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">&quot;F - <a href='trace.mu.html#L1651'>test-trace-collapse</a>/post-0/y&quot;</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">&lt;-</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">&lt;-</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">&quot;F - <a href='trace.mu.html#L1692'>test-trace-collapse-skips-invisible-lines</a>/post-0/y&quot;</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">&lt;-</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">&lt;-</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">&quot;F - <a href='trace.mu.html#L1742'>test-trace-collapse-two-levels</a>/post-0/y&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1803'>test-trace-collapse-nested-level</a>/expand2-4/cursor&quot;</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">&lt;-</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">&quot;F - <a href='trace.mu.html#L1803'>test-trace-collapse-nested-level</a>/post-0/y&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/pre-3/cursor&quot;</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">&lt;-</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">&quot;1 line 0   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/expand-0&quot;</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">&lt;-</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">&quot;1 line 0   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up0-0&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up0-3/cursor&quot;</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">&lt;-</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">&quot;1 line 4   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-0&quot;</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">&quot;||||||||   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-0/cursor&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-3/cursor&quot;</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">&lt;-</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">&quot;1 line 8   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-0&quot;</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">&quot;||||||||   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-0/cursor&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-3/cursor&quot;</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">&lt;-</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">&quot;1 line 8   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down3-0&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down3-3/cursor&quot;</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">&lt;-</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">&quot;1 line 4   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-0&quot;</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">&quot;||||||||   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-0/cursor&quot;</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">&quot;           &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-3/cursor&quot;</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">&lt;-</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">&quot;1 line 0   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up2-0&quot;</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">&quot;||||||||   &quot;</span>, <span class="Constant">&quot;F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up2-0/cursor&quot;</span>