diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-20 01:41:08 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-20 01:41:08 -0700 |
commit | 7f5600570a24fadb07015ad1b78b1989a8d364f2 (patch) | |
tree | f7ef68acf34f2215464580a83d618f1f18e5b2ac /html/edit/009-sandbox-test.mu.html | |
parent | 53251357c969c3ae7bb3a17b5e55114e69f0e85d (diff) | |
download | mu-7f5600570a24fadb07015ad1b78b1989a8d364f2.tar.gz |
3871
Strange race condition: if I repeatedly press <enter> and <backspace> so the screen is constantly playing catch up, it will sometimes fail these assertions when it does eventually catch up. Somehow the cursor ends up misplaced. Let's just take them out. It's likely some low-level implementation detail of the terminal.
Diffstat (limited to 'html/edit/009-sandbox-test.mu.html')
-rw-r--r-- | html/edit/009-sandbox-test.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/edit/009-sandbox-test.mu.html b/html/edit/009-sandbox-test.mu.html index b813f0f0..76c915d4 100644 --- a/html/edit/009-sandbox-test.mu.html +++ b/html/edit/009-sandbox-test.mu.html @@ -164,7 +164,7 @@ if ('onhashchange' in window) { <span id="L101" class="LineNr">101 </span> <span class="Delimiter">}</span> <span id="L102" class="LineNr">102 </span>] <span id="L103" class="LineNr">103 </span> -<span id="L104" class="LineNr">104 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L455'><end-restore-sandbox></a></span> [ +<span id="L104" class="LineNr">104 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L449'><end-restore-sandbox></a></span> [ <span id="L105" class="LineNr">105 </span> <span class="Delimiter">{</span> <span id="L106" class="LineNr">106 </span> <span class="Conceal">¦</span> filename <span class="Special"><-</span> append filename, <span class="Constant">[.out]</span> <span id="L107" class="LineNr">107 </span> <span class="Conceal">¦</span> contents <span class="Special"><-</span> <a href='../088file.mu.html#L38'>slurp</a> <a href='../088file.mu.html#L11'>resources</a>, filename @@ -252,11 +252,11 @@ if ('onhashchange' in window) { <span id="L189" class="LineNr">189 </span> <span class="Conceal">¦</span> response-is-expected?:bool <span class="Special"><-</span> equal expected-response, sandbox-response <span id="L190" class="LineNr">190 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> <span id="L191" class="LineNr">191 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> response-is-expected?:bool -<span id="L192" class="LineNr">192 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='005-sandbox.mu.html#L362'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">1/red</span>, row +<span id="L192" class="LineNr">192 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='005-sandbox.mu.html#L356'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">1/red</span>, row <span id="L193" class="LineNr">193 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L194" class="LineNr">194 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> <span id="L195" class="LineNr">195 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> response-is-expected?:bool -<span id="L196" class="LineNr">196 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='005-sandbox.mu.html#L362'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">2/green</span>, row +<span id="L196" class="LineNr">196 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='005-sandbox.mu.html#L356'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-response, left, right, <span class="Constant">2/green</span>, row <span id="L197" class="LineNr">197 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L198" class="LineNr">198 </span> <span class="Conceal">¦</span> <span class="muControl">jump</span> <span class="Constant">+render-sandbox-end</span> <span id="L199" class="LineNr">199 </span> <span class="Delimiter">}</span> |