about summary refs log tree commit diff stats
path: root/html/shell/sandbox.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/shell/sandbox.mu.html')
-rw-r--r--html/shell/sandbox.mu.html132
1 files changed, 66 insertions, 66 deletions
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>