diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-10-11 21:35:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-10-11 21:35:16 -0700 |
commit | 132d72d28a63e58ec7f5e6fc955be140ee5844b0 (patch) | |
tree | a169eda8e804e45aaca32bf23df4dcb27b25e255 /html/browse-slack | |
parent | a54b2cb7af733ae053b0aa78eca2bd4a3419d23d (diff) | |
download | mu-132d72d28a63e58ec7f5e6fc955be140ee5844b0.tar.gz |
.
Diffstat (limited to 'html/browse-slack')
-rw-r--r-- | html/browse-slack/environment.mu.html | 282 | ||||
-rw-r--r-- | html/browse-slack/main.mu.html | 18 |
2 files changed, 150 insertions, 150 deletions
diff --git a/html/browse-slack/environment.mu.html b/html/browse-slack/environment.mu.html index 131badd0..7aa80b46 100644 --- a/html/browse-slack/environment.mu.html +++ b/html/browse-slack/environment.mu.html @@ -130,7 +130,7 @@ if ('onhashchange' in window) { <span id="L66" class="LineNr"> 66 </span> <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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</span> get env, dirty? @@ -141,9 +141,9 @@ if ('onhashchange' in window) { <span id="L77" class="LineNr"> 77 </span> <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special"><-</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="L80" class="LineNr"> 80 </span> <a href='environment.mu.html#L377'>render-search-input</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, env +<span id="L81" class="LineNr"> 81 </span> <a href='../500fake-screen.mu.html#L432'>clear-rect</a> <a href='../500fake-screen.mu.html#L16'>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#L16'>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> @@ -151,23 +151,23 @@ if ('onhashchange' in window) { <span id="L87" class="LineNr"> 87 </span> <span class="PreProc">var</span> cursor-in-channels?/eax: (addr boolean) <span class="Special"><-</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="L90" class="LineNr"> 90 </span> <a href='environment.mu.html#L106'>render-channels</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, env, channels +<span id="L91" class="LineNr"> 91 </span> <a href='../500fake-screen.mu.html#L432'>clear-rect</a> <a href='../500fake-screen.mu.html#L16'>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#L16'>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="L97" class="LineNr"> 97 </span> <a href='../500fake-screen.mu.html#L330'>clear-screen</a> <a href='../500fake-screen.mu.html#L16'>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#L16'>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#L16'>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#L16'>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#L16'>screen</a>, env <span id="L102" class="LineNr"> 102 </span> <span class="PreProc">var</span> dirty?/eax: (addr boolean) <span class="Special"><-</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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</span> copy <span class="Constant">-1</span> <span id="L109" class="LineNr"> 109 </span> <span class="Delimiter">{</span> @@ -194,19 +194,19 @@ if ('onhashchange' in window) { <span id="L130" class="LineNr"> 130 </span> <span class="PreProc">var</span> name/eax: (addr array byte) <span class="Special"><-</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="L133" class="LineNr"> 133 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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">"#"</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="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#L16'>screen</a>, <span class="Constant">"#"</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#L16'>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">"#"</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="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#L16'>screen</a>, <span class="Constant">"#"</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#L16'>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"><-</span> add <span class="Constant">2</span>/channel-padding <span id="L148" class="LineNr"> 148 </span> i <span class="Special"><-</span> increment @@ -214,11 +214,11 @@ if ('onhashchange' in window) { <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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</span> copy _env <span id="L155" class="LineNr"> 155 </span> <span class="PreProc">var</span> tmp-width/eax: int <span class="Special"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L157" class="LineNr"> 157 </span> tmp-width, tmp-height <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L157" class="LineNr"> 157 </span> tmp-width, tmp-height <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L75'>screen-size</a> <a href='../500fake-screen.mu.html#L16'>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 @@ -241,48 +241,48 @@ if ('onhashchange' in window) { <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="L180" class="LineNr"> 180 </span> <a href='environment.mu.html#L186'>render-tab</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> copy screen-height <span id="L182" class="LineNr"> 182 </span> top <span class="Special"><-</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="L183" class="LineNr"> 183 </span> <a href='../500fake-screen.mu.html#L432'>clear-rect</a> <a href='../500fake-screen.mu.html#L16'>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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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="L192" class="LineNr"> 192 </span> <a href='environment.mu.html#L215'>render-all-items</a> <a href='../500fake-screen.mu.html#L16'>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="L198" class="LineNr"> 198 </span> <a href='environment.mu.html#L249'>render-channel-tab</a> <a href='../500fake-screen.mu.html#L16'>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="L204" class="LineNr"> 204 </span> <a href='environment.mu.html#L288'>render-search-tab</a> <a href='../500fake-screen.mu.html#L16'>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="L210" class="LineNr"> 210 </span> <a href='environment.mu.html#L328'>render-thread-tab</a> <a href='../500fake-screen.mu.html#L16'>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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</span> copy _items <span id="L218" class="LineNr"> 218 </span> <span class="PreProc">var</span> newest-item/eax: (addr int) <span class="Special"><-</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"><-</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"><-</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="L221" class="LineNr"> 221 </span> <a href='environment.mu.html#L368'>render-progress</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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"><-</span> copy _items-data @@ -302,7 +302,7 @@ if ('onhashchange' in window) { <span id="L238" class="LineNr"> 238 </span> <span class="PreProc">break-if->=</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"><-</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"><-</span> index items-data, offset -<span id="L241" class="LineNr"> 241 </span> y <span class="Special"><-</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="L241" class="LineNr"> 241 </span> y <span class="Special"><-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> decrement @@ -310,7 +310,7 @@ if ('onhashchange' in window) { <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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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"><-</span> copy _channels @@ -324,9 +324,9 @@ if ('onhashchange' in window) { <span id="L260" class="LineNr"> 260 </span> <span class="PreProc">var</span> current-channel-first-channel-item-addr/eax: (addr int) <span class="Special"><-</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"><-</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"><-</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">"channel"</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="L263" class="LineNr"> 263 </span> <a href='../500fake-screen.mu.html#L269'>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#L16'>screen</a>, <span class="Constant">"channel"</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#L16'>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"><-</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"><-</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"><-</span> copy _items-data @@ -341,7 +341,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</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"><-</span> index items-data, item-offset -<span id="L280" class="LineNr"> 280 </span> y <span class="Special"><-</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="L280" class="LineNr"> 280 </span> y <span class="Special"><-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> decrement @@ -349,7 +349,7 @@ if ('onhashchange' in window) { <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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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"><-</span> get current-tab, <a href='environment.mu.html#L1329'>search-items</a> @@ -358,14 +358,14 @@ if ('onhashchange' in window) { <span id="L294" class="LineNr"> 294 </span> <span class="PreProc">var</span> current-tab-top-item-addr/eax: (addr int) <span class="Special"><-</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"><-</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"><-</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">"search"</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="L297" class="LineNr"> 297 </span> <a href='../500fake-screen.mu.html#L269'>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#L16'>screen</a>, <span class="Constant">"search"</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#L16'>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-<</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">"too many results"</span>, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg +<span id="L303" class="LineNr"> 303 </span> <a href='../500fake-screen.mu.html#L269'>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#L16'>screen</a>, <span class="Constant">"too many results"</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"><-</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"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *items-data-ah @@ -381,7 +381,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</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"><-</span> index items-data, item-offset -<span id="L320" class="LineNr"> 320 </span> y <span class="Special"><-</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="L320" class="LineNr"> 320 </span> y <span class="Special"><-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> decrement @@ -389,7 +389,7 @@ if ('onhashchange' in window) { <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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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"><-</span> get items, data @@ -402,9 +402,9 @@ if ('onhashchange' in window) { <span id="L338" class="LineNr"> 338 </span> <span class="PreProc">var</span> current-tab-top-item-addr/eax: (addr int) <span class="Special"><-</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"><-</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"><-</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">"thread"</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="L341" class="LineNr"> 341 </span> <a href='../500fake-screen.mu.html#L269'>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#L16'>screen</a>, <span class="Constant">"thread"</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#L16'>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"><-</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"><-</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"><-</span> copy <span class="Constant">2</span>/search-space-ver @@ -418,146 +418,146 @@ if ('onhashchange' in window) { <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"><-</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"><-</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"><-</span> index items-data, item-offset -<span id="L357" class="LineNr"> 357 </span> y <span class="Special"><-</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="L357" class="LineNr"> 357 </span> y <span class="Special"><-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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="L364" class="LineNr"> 364 </span> y <span class="Special"><-</span> <a href='environment.mu.html#L496'>render-item</a> <a href='../500fake-screen.mu.html#L16'>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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), curr: int, max: int <span class="Delimiter">{</span> +<span id="L369" class="LineNr"> 369 </span> <a href='../500fake-screen.mu.html#L269'>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"><-</span> copy max <span id="L371" class="LineNr"> 371 </span> top-index <span class="Special"><-</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">"/"</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="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#L16'>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#L16'>screen</a>, <span class="Constant">"/"</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#L16'>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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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">"search "</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L380" class="LineNr"> 380 </span> <a href='../500fake-screen.mu.html#L269'>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#L16'>screen</a>, <span class="Constant">"search "</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"><-</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"><-</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"><-</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="L385" class="LineNr"> 385 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L16'>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-></span> <span id="L389" class="LineNr"> 389 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L390" class="LineNr"> 390 </span> x, y <span class="Special"><-</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="L390" class="LineNr"> 390 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</span> copy _env <span id="L398" class="LineNr"> 398 </span> <span class="Delimiter">{</span> <span id="L399" class="LineNr"> 399 </span> <span class="PreProc">var</span> cursor-in-search?/eax: (addr boolean) <span class="Special"><-</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="L402" class="LineNr"> 402 </span> <a href='environment.mu.html#L474'>render-search-menu</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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="L409" class="LineNr"> 409 </span> <a href='environment.mu.html#L452'>render-channels-menu</a> <a href='../500fake-screen.mu.html#L16'>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="L412" class="LineNr"> 412 </span> <a href='environment.mu.html#L415'>render-main-menu</a> <a href='../500fake-screen.mu.html#L16'>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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L418" class="LineNr"> 418 </span> width, y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L418" class="LineNr"> 418 </span> width, y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L75'>screen-size</a> <a href='../500fake-screen.mu.html#L16'>screen</a> <span id="L419" class="LineNr"> 419 </span> y <span class="Special"><-</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="L420" class="LineNr"> 420 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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-<=</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">" Esc "</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">" go back "</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#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" Esc "</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#L16'>screen</a>, <span class="Constant">" go back "</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">" / "</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">" search "</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">" Tab "</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">" go to channels "</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">" Enter "</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">" go to thread "</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg +<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#L16'>screen</a>, <span class="Constant">" / "</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#L16'>screen</a>, <span class="Constant">" search "</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#L16'>screen</a>, <span class="Constant">" Tab "</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#L16'>screen</a>, <span class="Constant">" go to channels "</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#L16'>screen</a>, <span class="Constant">" Enter "</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#L16'>screen</a>, <span class="Constant">" go to thread "</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"><-</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">" ^h "</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">" hide thread "</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">" ^u "</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">" unhide all "</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg +<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#L16'>screen</a>, <span class="Constant">" ^h "</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#L16'>screen</a>, <span class="Constant">" hide thread "</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#L16'>screen</a>, <span class="Constant">" ^u "</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#L16'>screen</a>, <span class="Constant">" unhide all "</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#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</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">" << page "</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">" ^f "</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">" page >> "</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/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#L16'>screen</a>, <span class="Constant">" ^b "</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#L16'>screen</a>, <span class="Constant">" << page "</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#L16'>screen</a>, <span class="Constant">" ^f "</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#L16'>screen</a>, <span class="Constant">" page >> "</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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L455" class="LineNr"> 455 </span> width, y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L455" class="LineNr"> 455 </span> width, y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L75'>screen-size</a> <a href='../500fake-screen.mu.html#L16'>screen</a> <span id="L456" class="LineNr"> 456 </span> y <span class="Special"><-</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="L457" class="LineNr"> 457 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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-<=</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">" Esc "</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">" go back "</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg +<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#L16'>screen</a>, <span class="Constant">" Esc "</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#L16'>screen</a>, <span class="Constant">" go back "</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">" / "</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">" search "</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">" Tab "</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">" go to items "</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">" Enter "</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">" select "</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#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" / "</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#L16'>screen</a>, <span class="Constant">" search "</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#L16'>screen</a>, <span class="Constant">" Tab "</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#L16'>screen</a>, <span class="Constant">" go to items "</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#L16'>screen</a>, <span class="Constant">" Enter "</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#L16'>screen</a>, <span class="Constant">" select "</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="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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L477" class="LineNr"> 477 </span> width, y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L477" class="LineNr"> 477 </span> width, y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L75'>screen-size</a> <a href='../500fake-screen.mu.html#L16'>screen</a> <span id="L478" class="LineNr"> 478 </span> y <span class="Special"><-</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">" Esc "</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">" cancel "</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">" Enter "</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">" select "</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">" ^a "</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">" << "</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">" ^b "</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">" <word "</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">" ^f "</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">" word> "</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">" ^e "</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">" >> "</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">" ^u "</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">" clear "</span>, width, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg +<span id="L479" class="LineNr"> 479 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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#L16'>screen</a>, <span class="Constant">" Esc "</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#L16'>screen</a>, <span class="Constant">" cancel "</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#L16'>screen</a>, <span class="Constant">" Enter "</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#L16'>screen</a>, <span class="Constant">" select "</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#L16'>screen</a>, <span class="Constant">" ^a "</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#L16'>screen</a>, <span class="Constant">" << "</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#L16'>screen</a>, <span class="Constant">" ^b "</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#L16'>screen</a>, <span class="Constant">" <word "</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#L16'>screen</a>, <span class="Constant">" ^f "</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#L16'>screen</a>, <span class="Constant">" word> "</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#L16'>screen</a>, <span class="Constant">" ^e "</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#L16'>screen</a>, <span class="Constant">" >> "</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#L16'>screen</a>, <span class="Constant">" ^u "</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#L16'>screen</a>, <span class="Constant">" clear "</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"> -> </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"> -> </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"><-</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"><-</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"><-</span> get <a href='main.mu.html#L14'>item</a>, by @@ -576,7 +576,7 @@ if ('onhashchange' in window) { <span id="L512" class="LineNr"> 512 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy <span class="Constant">0x20</span>/main-panel-hor <span id="L513" class="LineNr"> 513 </span> x <span class="Special"><-</span> shift-left <span class="Constant">3</span>/log2font-width <span id="L514" class="LineNr"> 514 </span> x <span class="Special"><-</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="L515" class="LineNr"> 515 </span> <a href='../511image.mu.html#L55'>render-image</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> get <a href='main.mu.html#L14'>item</a>, <a href='main.mu.html#L1'>channel</a> @@ -584,25 +584,25 @@ if ('onhashchange' in window) { <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"><-</span> copy <span class="Constant">0x20</span>/main-panel-hor <span id="L522" class="LineNr"> 522 </span> x <span class="Special"><-</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="L523" class="LineNr"> 523 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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">"#"</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="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#L16'>screen</a>, <span class="Constant">"#"</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#L16'>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"><-</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"><-</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"><-</span> copy <span class="Constant">0x20</span>/main-panel-hor <span id="L532" class="LineNr"> 532 </span> x <span class="Special"><-</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="L533" class="LineNr"> 533 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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#L16'>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"><-</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"><-</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"><-</span> copy _text -<span id="L541" class="LineNr"> 541 </span> <span class="PreProc">var</span> text-y/eax: int <span class="Special"><-</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="L541" class="LineNr"> 541 </span> <span class="PreProc">var</span> text-y/eax: int <span class="Special"><-</span> <a href='environment.mu.html#L552'>render-slack-message</a> <a href='../500fake-screen.mu.html#L16'>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 @@ -613,7 +613,7 @@ if ('onhashchange' in window) { <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"> -> </span>_/eax: int <span class="Delimiter">{</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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), text: (addr array byte), highlight?: boolean, ymin: int, ymax: int<span class="PreProc"> -> </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"><-</span> copy <span class="Constant">0x20</span>/main-panel-hor <span id="L554" class="LineNr"> 554 </span> x <span class="Special"><-</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"><-</span> copy ymin @@ -622,10 +622,10 @@ if ('onhashchange' in window) { <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"><-</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="L561" class="LineNr"> 561 </span> x, y <span class="Special"><-</span> <a href='environment.mu.html#L574'>draw-json-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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="L564" class="LineNr"> 564 </span> x, y <span class="Special"><-</span> <a href='environment.mu.html#L574'>draw-json-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> add <span class="Constant">2</span>/item-padding-ver <span id="L567" class="LineNr"> 567 </span> <span class="PreProc">return</span> y @@ -635,7 +635,7 @@ if ('onhashchange' in window) { <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"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"> -> </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"><-</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"><-</span> copy _text @@ -652,7 +652,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy _y -<span id="L591" class="LineNr"> 591 </span> x, y <span class="Special"><-</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="L591" class="LineNr"> 591 </span> x, y <span class="Special"><-</span> <a href='environment.mu.html#L599'>draw-json-stream-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L16'>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> @@ -660,7 +660,7 @@ if ('onhashchange' in window) { <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"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"> -> </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"><-</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"><-</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"><-</span> copy <span class="Constant">0</span> @@ -683,19 +683,19 @@ if ('onhashchange' in window) { <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"><-</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="L622" class="LineNr"> 622 </span> xcurr, ycurr <span class="Special"><-</span> <a href='environment.mu.html#L682'>render-json-escaped-code-point</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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="L629" class="LineNr"> 629 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L94'>draw-code-point</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x20</span>/space, xcurr, ycurr, color, background-color <span id="L630" class="LineNr"> 630 </span> xcurr <span class="Special"><-</span> copy xmin <span id="L631" class="LineNr"> 631 </span> ycurr <span class="Special"><-</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"><-</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="L634" class="LineNr"> 634 </span> <span class="PreProc">var</span> offset/eax: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L94'>draw-code-point</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> stream @@ -718,7 +718,7 @@ if ('onhashchange' in window) { <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"><-</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="L657" class="LineNr"> 657 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L114'>overlay-code-point</a> <a href='../500fake-screen.mu.html#L16'>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"><-</span> add offset <span id="L660" class="LineNr"> 660 </span> compare xcurr, xmax @@ -730,7 +730,7 @@ if ('onhashchange' in window) { <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="L669" class="LineNr"> 669 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>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> @@ -743,7 +743,7 @@ if ('onhashchange' in window) { <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"> -> </span>_/<span class="muRegEcx">ecx</span>: int, _/<span class="muRegEdx">edx</span>: int <span class="Delimiter">{</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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"> -> </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"><-</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> @@ -784,19 +784,19 @@ if ('onhashchange' in window) { <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"><-</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="L723" class="LineNr"> 723 </span> x, y <span class="Special"><-</span> <a href='environment.mu.html#L735'>render-json-escaped-unicode-code-point</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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"><-</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="L729" class="LineNr"> 729 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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"><-</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"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</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#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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"> -> </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"><-</span> address hex-digits-storage <span id="L738" class="LineNr"> 738 </span> <span class="muComment"># slurp 4 bytes exactly</span> @@ -819,7 +819,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L758" class="LineNr"> 758 </span> x, y <span class="Special"><-</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="L758" class="LineNr"> 758 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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> @@ -829,7 +829,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L768" class="LineNr"> 768 </span> x, y <span class="Special"><-</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="L768" class="LineNr"> 768 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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> @@ -839,7 +839,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L778" class="LineNr"> 778 </span> x, y <span class="Special"><-</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="L778" class="LineNr"> 778 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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> @@ -849,7 +849,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L788" class="LineNr"> 788 </span> x, y <span class="Special"><-</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="L788" class="LineNr"> 788 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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 = "</span> @@ -859,7 +859,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L798" class="LineNr"> 798 </span> x, y <span class="Special"><-</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="L798" class="LineNr"> 798 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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 = "</span> @@ -869,7 +869,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L808" class="LineNr"> 808 </span> x, y <span class="Special"><-</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="L808" class="LineNr"> 808 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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="muComment"># \u2022 = *</span> @@ -879,7 +879,7 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L818" class="LineNr"> 818 </span> x, y <span class="Special"><-</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="L818" class="LineNr"> 818 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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> @@ -889,14 +889,14 @@ if ('onhashchange' in window) { <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"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L828" class="LineNr"> 828 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, xcurr, ycurr, color, background-color +<span id="L828" class="LineNr"> 828 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">"..."</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"><-</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"><-</span> copy n <span id="L833" class="LineNr"> 833 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</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"><-</span> copy <span class="Constant">0</span> -<span id="L835" class="LineNr"> 835 </span> x, y <span class="Special"><-</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="L835" class="LineNr"> 835 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L162'>render-code-point</a> <a href='../500fake-screen.mu.html#L16'>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> diff --git a/html/browse-slack/main.mu.html b/html/browse-slack/main.mu.html index 410ee14d..649d0f1f 100644 --- a/html/browse-slack/main.mu.html +++ b/html/browse-slack/main.mu.html @@ -112,7 +112,7 @@ if ('onhashchange' in window) { <span id="L48" class="LineNr"> 48 </span><span class="muComment"># message-text-limit</span> <span id="L49" class="LineNr"> 49 </span><span class="muComment"># channel-capacity</span> <span id="L50" class="LineNr"> 50 </span> -<span id="L51" class="LineNr"> 51 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L51'>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="L51" class="LineNr"> 51 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L51'>main</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span> <span id="L52" class="LineNr"> 52 </span> <span class="muComment"># load entire disk contents to a single enormous stream</span> <span id="L53" class="LineNr"> 53 </span> <span class="PreProc">var</span> s-h: (handle stream byte) <span class="muComment"># the stream is too large to put on the stack</span> <span id="L54" class="LineNr"> 54 </span> <span class="PreProc">var</span> s-ah/eax: (addr handle stream byte) <span class="Special"><-</span> address s-h @@ -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"><-</span> copy _s <span id="L58" class="LineNr"> 58 </span> <span class="PreProc">var</span> sector-count/eax: int <span class="Special"><-</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 <- copy 0x20000 # largest size tested; slow</span> -<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">"loading "</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">" sectors from data disk.."</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#L269'>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#L16'>screen</a>, <span class="Constant">"loading "</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#L16'>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#L16'>screen</a>, <span class="Constant">" sectors from data disk.."</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#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">"done"</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#L16'>screen</a>, <span class="Constant">"done"</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"><-</span> address users-h @@ -148,7 +148,7 @@ if ('onhashchange' in window) { <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"><-</span> address env-storage <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#L69'>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#L16'>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"><-</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> @@ -176,7 +176,7 @@ if ('onhashchange' in window) { <span id="L112" class="LineNr">112 </span> <span class="PreProc">var</span> c/eax: byte <span class="Special"><-</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#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="L115" class="LineNr">115 </span> <a href='../500fake-screen.mu.html#L269'>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">"parsed "</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">" users, "</span> <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg @@ -208,7 +208,7 @@ 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#L267'>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#L269'>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"><-</span> copy paren <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">"parse-record: ("</span> |