diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-09 00:20:43 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-09 00:20:43 -0700 |
commit | ceeb92d470c29613f6a036f9c2077126ecc09b47 (patch) | |
tree | b7f5606a008adbf7731fc457af26d025604f72a0 | |
parent | 71056d6150d2b09241a86cbdf37086265291a358 (diff) | |
download | mu-ceeb92d470c29613f6a036f9c2077126ecc09b47.tar.gz |
3490
Redo commit 3457. Basically there were 3 unicode characters we changed back then: solid horizontal line: 9473 -> 9472 fuzzy horizontal line: 9480 -> 9548 fuzzy vertical line: 9482 -> 9550 The solid horizontal line has no issues, so we just redo it here. For the other two, we'll perform the substitution only when rendering html. That gives us the best of both worlds: the scenario screens render right in html, and alt-tabbing continues to be snappy when running the edit/ app.
-rw-r--r-- | edit/004-programming-environment.mu | 16 | ||||
-rw-r--r-- | edit/005-sandbox.mu | 90 | ||||
-rw-r--r-- | edit/006-sandbox-copy.mu | 36 | ||||
-rw-r--r-- | edit/007-sandbox-delete.mu | 44 | ||||
-rw-r--r-- | edit/008-sandbox-edit.mu | 42 | ||||
-rw-r--r-- | edit/009-sandbox-test.mu | 8 | ||||
-rw-r--r-- | edit/010-sandbox-trace.mu | 24 | ||||
-rw-r--r-- | edit/011-errors.mu | 50 | ||||
-rw-r--r-- | sandbox/004-programming-environment.mu | 2 | ||||
-rw-r--r-- | sandbox/005-sandbox.mu | 96 | ||||
-rw-r--r-- | sandbox/006-sandbox-copy.mu | 36 | ||||
-rw-r--r-- | sandbox/007-sandbox-delete.mu | 48 | ||||
-rw-r--r-- | sandbox/008-sandbox-edit.mu | 34 | ||||
-rw-r--r-- | sandbox/009-sandbox-test.mu | 8 | ||||
-rw-r--r-- | sandbox/010-sandbox-trace.mu | 24 | ||||
-rw-r--r-- | sandbox/011-errors.mu | 48 | ||||
-rwxr-xr-x | update_html | 7 |
17 files changed, 310 insertions, 303 deletions
diff --git a/edit/004-programming-environment.mu b/edit/004-programming-environment.mu index 22b8e404..4355aaef 100644 --- a/edit/004-programming-environment.mu +++ b/edit/004-programming-environment.mu @@ -341,7 +341,7 @@ scenario edit-multiple-editors [ screen-should-contain [ . run (F4) . # this line has a different background, but we don't test that yet .a0bc ┊d1ef . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊──────────────. . ┊ . ] memory-should-contain [ @@ -356,7 +356,7 @@ scenario edit-multiple-editors [ screen-should-contain [ . run (F4) . .a0bc ┊d1␣f . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊──────────────. . ┊ . ] ] @@ -373,7 +373,7 @@ scenario multiple-editors-cover-only-their-own-areas [ screen-should-contain [ . run (F4) . .abc ┊def . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────. . ┊ . . ┊ . ] @@ -396,7 +396,7 @@ scenario editor-in-focus-keeps-cursor [ screen-should-contain [ . run (F4) . .␣bc ┊def . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊──────────────. . ┊ . ] # now try typing a letter @@ -412,7 +412,7 @@ scenario editor-in-focus-keeps-cursor [ screen-should-contain [ . run (F4) . .z␣bc ┊def . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊──────────────. . ┊ . ] ] @@ -430,7 +430,7 @@ def] . run (F4) . . ┊abc . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊def . - . ┊━━━━━━━━━━━━━━. + . ┊──────────────. . ┊ . ] # position cursor at start of second line and hit backspace @@ -447,7 +447,7 @@ def] screen-should-contain [ . run (F4) . . ┊abc␣ef . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊──────────────. . ┊ . ] ] @@ -513,7 +513,7 @@ def render-sandbox-side screen:&:screen, env:&:environment, {render-editor: (rec clear-line-until screen, right row <- add row, 1 # draw solid line after code (you'll see why in later layers) - draw-horizontal screen, row, left, right, 9473/horizontal + draw-horizontal screen, row, left, right row <- add row, 1 clear-screen-from screen, row, left, left, right ] diff --git a/edit/005-sandbox.mu b/edit/005-sandbox.mu index 9c7f0ee7..1b9343a5 100644 --- a/edit/005-sandbox.mu +++ b/edit/005-sandbox.mu @@ -59,12 +59,12 @@ scenario run-and-show-results [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊divide-with-remainder 11, 3 . . ┊3 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] screen-should-contain-in-color 7/white, [ @@ -81,12 +81,12 @@ scenario run-and-show-results [ screen-should-contain-in-color 245/grey, [ . . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . . ┊ . . ┊3 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # sandbox menu in reverse video @@ -109,16 +109,16 @@ scenario run-and-show-results [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊divide-with-remainder 11, 3 . . ┊3 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -251,7 +251,7 @@ def! render-sandbox-side screen:&:screen, env:&:environment, {render-editor: (re row <- add row, 1 } # render sandboxes - draw-horizontal screen, row, left, right, 9473/horizontal-double + draw-horizontal screen, row, left, right sandbox:&:sandbox <- get *env, sandbox:offset row, screen <- render-sandboxes screen, sandbox, left, right, row, render-from clear-rest-of-screen screen, row, left, right @@ -297,7 +297,7 @@ def render-sandboxes screen:&:screen, sandbox:&:sandbox, left:num, right:num, ro at-bottom?:bool <- greater-or-equal row, screen-height return-if at-bottom? # draw solid line after sandbox - draw-horizontal screen, row, left, right, 9473/horizontal-double + draw-horizontal screen, row, left, right } # if hidden, reset row attributes { @@ -535,11 +535,11 @@ reply z screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. .local-scope ┊0 edit copy delete . .z:num <- add 2, 2 ┊foo . .reply z ┊4 . - .] ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .] ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -557,11 +557,11 @@ reply z screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. .local-scope ┊0 edit copy delete . .z:num <- add 2, 3 ┊foo . .reply z ┊5 . - .] ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .] ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -585,7 +585,7 @@ scenario run-instruction-manages-screen-per-sandbox [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊print-integer screen, 4 . . ┊screen: . @@ -594,7 +594,7 @@ scenario run-instruction-manages-screen-per-sandbox [ . ┊ . . . . ┊ . . . . ┊ . . . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -653,7 +653,7 @@ scenario scrolling-down-past-bottom-of-recipe-editor [ screen-should-contain [ . run (F4) . . ┊ . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -677,7 +677,7 @@ scenario cursor-down-in-recipe-editor [ screen-should-contain [ . run (F4) . . ┊ . - .␣ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .␣ ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -756,7 +756,7 @@ scenario scrolling-down-past-bottom-of-recipe-editor-2 [ screen-should-contain [ . run (F4) . . ┊ . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -785,7 +785,7 @@ cd] . run (F4) . . ┊ab . . ┊␣d . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -807,7 +807,7 @@ scenario scrolling-down-past-bottom-of-sandbox-editor [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . ] @@ -825,7 +825,7 @@ scenario scrolling-down-past-bottom-of-sandbox-editor [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊␣ edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -843,7 +843,7 @@ scenario scrolling-down-past-bottom-of-sandbox-editor [ screen-should-contain [ . run (F4) . . ┊␣ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . ] @@ -951,7 +951,7 @@ scenario scrolling-down-on-recipe-side [ screen-should-contain [ . run (F4) . .␣ ┊ . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 2, 2 . ] @@ -978,11 +978,11 @@ scenario scrolling-through-multiple-sandboxes [ screen-should-contain [ . run (F4) . . ┊␣ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -1000,11 +1000,11 @@ scenario scrolling-through-multiple-sandboxes [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊␣ edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -1019,11 +1019,11 @@ scenario scrolling-through-multiple-sandboxes [ # just second sandbox displayed screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # hit 'page-down' again @@ -1036,11 +1036,11 @@ scenario scrolling-through-multiple-sandboxes [ # no change screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # hit 'page-up' @@ -1053,11 +1053,11 @@ scenario scrolling-through-multiple-sandboxes [ # back to displaying both sandboxes without editor screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -1075,11 +1075,11 @@ scenario scrolling-through-multiple-sandboxes [ screen-should-contain [ . run (F4) . . ┊␣ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -1097,11 +1097,11 @@ scenario scrolling-through-multiple-sandboxes [ screen-should-contain [ . run (F4) . . ┊␣ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -1125,11 +1125,11 @@ scenario scrolling-manages-sandbox-index-correctly [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # hit 'page-down' and 'page-up' a couple of times. sandbox index should be stable @@ -1143,11 +1143,11 @@ scenario scrolling-manages-sandbox-index-correctly [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # hit 'page-up' again @@ -1161,11 +1161,11 @@ scenario scrolling-manages-sandbox-index-correctly [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # hit 'page-down' @@ -1179,11 +1179,11 @@ scenario scrolling-manages-sandbox-index-correctly [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] diff --git a/edit/006-sandbox-copy.mu b/edit/006-sandbox-copy.mu index 35360995..404601cd 100644 --- a/edit/006-sandbox-copy.mu +++ b/edit/006-sandbox-copy.mu @@ -19,11 +19,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # click at left edge of 'copy' button @@ -37,11 +37,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # cursor should be in the right place @@ -54,11 +54,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊0foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -81,11 +81,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # click at right edge of 'copy' button (just before 'delete') @@ -99,11 +99,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # cursor should be in the right place @@ -116,11 +116,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊0foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -238,11 +238,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # type something into the sandbox editor, then click on the 'copy' button @@ -258,11 +258,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊0 . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # cursor should be in the right place @@ -275,11 +275,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊01 . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] diff --git a/edit/007-sandbox-delete.mu b/edit/007-sandbox-delete.mu index 90d24be4..0458449e 100644 --- a/edit/007-sandbox-delete.mu +++ b/edit/007-sandbox-delete.mu @@ -17,16 +17,16 @@ scenario deleting-sandboxes [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊divide-with-remainder 11, 3 . . ┊3 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # delete second sandbox by clicking on left edge of 'delete' button @@ -39,11 +39,11 @@ scenario deleting-sandboxes [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . . ┊ . ] @@ -57,7 +57,7 @@ scenario deleting-sandboxes [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . . ┊ . ] @@ -165,11 +165,11 @@ scenario deleting-sandbox-after-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . ] # delete the second sandbox @@ -182,11 +182,11 @@ scenario deleting-sandbox-after-scroll [ # second sandbox shows in editor; scroll resets to display first sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -210,11 +210,11 @@ scenario deleting-top-sandbox-after-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . ] # delete the second sandbox @@ -227,11 +227,11 @@ scenario deleting-top-sandbox-after-scroll [ # second sandbox shows in editor; scroll resets to display first sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -256,11 +256,11 @@ scenario deleting-final-sandbox-after-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # delete the second sandbox @@ -274,11 +274,11 @@ scenario deleting-final-sandbox-after-scroll [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -302,11 +302,11 @@ scenario deleting-updates-sandbox-count [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -323,11 +323,11 @@ scenario deleting-updates-sandbox-count [ # shouldn't go past last sandbox screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] diff --git a/edit/008-sandbox-edit.mu b/edit/008-sandbox-edit.mu index 8f48a2e7..0bdc7db5 100644 --- a/edit/008-sandbox-edit.mu +++ b/edit/008-sandbox-edit.mu @@ -18,11 +18,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # click at left edge of 'edit' button @@ -36,7 +36,7 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊ . .] ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . @@ -52,7 +52,7 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊0foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊ . .] ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . @@ -78,11 +78,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # click at right edge of 'edit' button (just before 'copy') @@ -96,7 +96,7 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊ . .] ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . @@ -112,7 +112,7 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊0foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊ . .] ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . @@ -188,7 +188,7 @@ scenario sandbox-with-print-can-be-edited [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊print-integer screen, 4 . . ┊screen: . @@ -197,7 +197,7 @@ scenario sandbox-with-print-can-be-edited [ . ┊ . . . . ┊ . . . . ┊ . . . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # edit the sandbox @@ -210,7 +210,7 @@ scenario sandbox-with-print-can-be-edited [ screen-should-contain [ . run (F4) . . ┊print-integer screen, 4 . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . . ┊ . ] @@ -236,11 +236,11 @@ scenario editing-sandbox-after-scrolling-resets-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # edit the second sandbox @@ -254,11 +254,11 @@ scenario editing-sandbox-after-scrolling-resets-scroll [ screen-should-contain [ . run (F4) . . ┊add 2, 2 . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -282,11 +282,11 @@ scenario editing-sandbox-updates-sandbox-count [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -303,11 +303,11 @@ scenario editing-sandbox-updates-sandbox-count [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 1, 1 . . ┊2 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . @@ -324,11 +324,11 @@ scenario editing-sandbox-updates-sandbox-count [ # screen should show just final sandbox with the right index (1) screen-should-contain [ . run (F4) . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊1 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] diff --git a/edit/009-sandbox-test.mu b/edit/009-sandbox-test.mu index 460b90aa..564c6cf9 100644 --- a/edit/009-sandbox-test.mu +++ b/edit/009-sandbox-test.mu @@ -18,11 +18,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] # click on the '4' in the result @@ -51,11 +51,11 @@ recipe foo [ screen-should-contain [ . run (F4) . .␣ ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . reply 4 ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . . ┊ . . ┊ . diff --git a/edit/010-sandbox-trace.mu b/edit/010-sandbox-trace.mu index 3837a0b1..1de23a3b 100644 --- a/edit/010-sandbox-trace.mu +++ b/edit/010-sandbox-trace.mu @@ -18,10 +18,10 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . stash [abc] ┊0 edit copy delete . .] ┊foo . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] # click on the code in the sandbox @@ -37,7 +37,7 @@ recipe foo [ screen-should-contain [ . run (F4) . .␣ ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . stash [abc] ┊0 edit copy delete . .] ┊foo . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊abc . @@ -45,7 +45,7 @@ recipe foo [ screen-should-contain-in-color 245/grey, [ . . . ┊ . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . . ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊abc . @@ -62,10 +62,10 @@ recipe foo [ screen-should-contain [ . run (F4) . .␣ ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . stash [abc] ┊0 edit copy delete . .] ┊foo . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -89,11 +89,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . stash [abc] ┊0 edit copy delete . . reply 4 ┊foo . .] ┊4 . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] # click on the code in the sandbox @@ -107,13 +107,13 @@ recipe foo [ screen-should-contain [ . run (F4) . . ┊ . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . stash [abc] ┊0 edit copy delete . . reply 4 ┊foo . .] ┊abc . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊8 instructions run . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -132,7 +132,7 @@ scenario clicking-on-app-trace-does-nothing [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊stash 123456789 . . ┊123456789 . @@ -148,7 +148,7 @@ scenario clicking-on-app-trace-does-nothing [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊stash 123456789 . . ┊123456789 . diff --git a/edit/011-errors.mu b/edit/011-errors.mu index b1751bd8..d53fa80d 100644 --- a/edit/011-errors.mu +++ b/edit/011-errors.mu @@ -132,7 +132,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . get 123:num, foo:offset ┊ . .] ┊ . .foo: unknown element 'foo' in container 'number' ┊ . @@ -227,11 +227,11 @@ scenario run-hides-errors-from-past-sandboxes [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -255,12 +255,12 @@ z <- add x, y screen-should-contain [ . errors found (0) run (F4) . .recipe foo x:_elem -> z:_elem [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .load-ingredients ┊0 edit copy delete . .y:&:num <- copy 0 ┊foo 2 . .z <- add x, y ┊foo_2: 'add' requires number ingredients, but go↩. .] ┊t 'y' . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] # now rerun everything @@ -274,12 +274,12 @@ z <- add x, y screen-should-contain [ . errors found (0) run (F4) . .recipe foo x:_elem -> z:_elem [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .load-ingredients ┊0 edit copy delete . .y:&:num <- copy 0 ┊foo 2 . .z <- add x, y ┊foo_3: 'add' requires number ingredients, but go↩. .] ┊t 'y' . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -363,7 +363,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . x <- copy 0 ┊ . .] ┊ . .foo: missing type for 'x' in 'x <- copy 0' ┊ . @@ -389,7 +389,7 @@ recipe foo \\[ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo \\[ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo \\[ ┊─────────────────────────────────────────────────. . x <- copy 0 ┊ . . ┊ . .9: unbalanced '\\[' for recipe ┊ . @@ -418,7 +418,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:&:point <- new point:type ┊ . . get x:&:point, 1:offset ┊ . @@ -451,7 +451,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:num <- copy 0 ┊ . . y:&:point <- new point:type ┊ . @@ -482,7 +482,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:num <- copy y:num ┊ . .] ┊ . @@ -500,7 +500,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:num <- copy y:num ┊ . .] ┊ . @@ -528,13 +528,13 @@ scenario run-instruction-and-print-errors [ screen-should-contain [ . errors found (0) run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊get 1234:num, foo:offset . . ┊unknown element 'foo' in container 'number' . . ┊first ingredient of 'get' should be a container,↩. . ┊ but got '1234:num' . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] screen-should-contain-in-color 7/white, [ @@ -561,13 +561,13 @@ scenario run-instruction-and-print-errors [ screen-should-contain-in-color 245/grey, [ . . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . . ┊ . . ┊ . . ┊ ↩. . ┊ . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -591,13 +591,13 @@ scenario run-instruction-and-print-errors-only-once [ screen-should-contain [ . errors found (0) run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊get 1234:num, foo:offset . . ┊unknown element 'foo' in container 'number' . . ┊first ingredient of 'get' should be a container,↩. . ┊ but got '1234:num' . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -624,11 +624,11 @@ scenario sandbox-can-handle-infinite-loop [ screen-should-contain [ . errors found (0) run (F4) . .recipe foo [ ┊ . - . { ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . { ┊─────────────────────────────────────────────────. . loop ┊0 edit copy delete . . } ┊foo . .] ┊took too long! . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -656,12 +656,12 @@ reply b screen-should-contain [ . errors found (0) run (F4) . .recipe foo [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .a:num <- next-ingredient ┊0 edit copy delete . .b:num <- next-ingredient ┊foo 4, 0 . .stash [dividing by], b ┊foo: divide by zero in '_, c:num <- divide-with-↩. ._, c:num <- divide-with-remainder a, b ┊remainder a, b' . - .reply b ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .reply b ┊─────────────────────────────────────────────────. .] ┊ . ] # click on the call in the sandbox @@ -675,13 +675,13 @@ reply b screen-should-contain [ . errors found (0) run (F4) . .recipe foo [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .a:num <- next-ingredient ┊0 edit copy delete . .b:num <- next-ingredient ┊foo 4, 0 . .stash [dividing by], b ┊dividing by 0 . ._, c:num <- divide-with-remainder a, b ┊14 instructions run . .reply b ┊foo: divide by zero in '_, c:num <- divide-with-↩. .] ┊remainder a, b' . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. ] ] diff --git a/sandbox/004-programming-environment.mu b/sandbox/004-programming-environment.mu index f39f0b35..af136deb 100644 --- a/sandbox/004-programming-environment.mu +++ b/sandbox/004-programming-environment.mu @@ -269,7 +269,7 @@ def render-sandbox-side screen:&:screen, env:&:environment, {render-editor: (rec clear-line-until screen, right row <- add row, 1 # draw solid line after code (you'll see why in later layers) - draw-horizontal screen, row, left, right, 9473/horizontal + draw-horizontal screen, row, left, right row <- add row, 1 clear-screen-from screen, row, left, left, right ] diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index cd37e7a8..45dc259c 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -45,12 +45,12 @@ scenario run-and-show-results [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .divide-with-remainder 11, 3 . .3 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] screen-should-contain-in-color 7/white, [ @@ -67,12 +67,12 @@ scenario run-and-show-results [ screen-should-contain-in-color 245/grey, [ . . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . .3 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # run another command @@ -88,16 +88,16 @@ scenario run-and-show-results [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .divide-with-remainder 11, 3 . .3 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -236,7 +236,7 @@ def! render-sandbox-side screen:&:screen, env:&:environment, {render-editor: (re row <- add row, 1 } # render sandboxes - draw-horizontal screen, row, left, right, 9473/horizontal-double + draw-horizontal screen, row, left, right sandbox:&:sandbox <- get *env, sandbox:offset row, screen <- render-sandboxes screen, sandbox, left, right, row, render-from, 0, env clear-rest-of-screen screen, row, left, right @@ -283,7 +283,7 @@ def render-sandboxes screen:&:screen, sandbox:&:sandbox, left:num, right:num, ro at-bottom?:bool <- greater-or-equal row, screen-height return-if at-bottom? # draw solid line after sandbox - draw-horizontal screen, row, left, right, 9473/horizontal-double + draw-horizontal screen, row, left, right } # if hidden, reset row attributes { @@ -521,11 +521,11 @@ reply z screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # make a change (incrementing one of the args to 'add'), then rerun @@ -545,11 +545,11 @@ return z screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .5 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -571,7 +571,7 @@ scenario run-instruction-manages-screen-per-sandbox [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .print-integer screen, 4 . .screen: . @@ -580,7 +580,7 @@ scenario run-instruction-manages-screen-per-sandbox [ . . . . . . . . . . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -639,11 +639,11 @@ scenario scrolling-down-past-bottom-of-sandbox-editor [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-down' @@ -659,11 +659,11 @@ scenario scrolling-down-past-bottom-of-sandbox-editor [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .␣ edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-up' @@ -679,11 +679,11 @@ scenario scrolling-down-past-bottom-of-sandbox-editor [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -781,15 +781,15 @@ scenario scrolling-through-multiple-sandboxes [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-down' @@ -805,15 +805,15 @@ scenario scrolling-through-multiple-sandboxes [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .␣ edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-down' again @@ -826,11 +826,11 @@ scenario scrolling-through-multiple-sandboxes [ # just second sandbox displayed screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-down' again @@ -843,11 +843,11 @@ scenario scrolling-through-multiple-sandboxes [ # no change screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-up' @@ -860,15 +860,15 @@ scenario scrolling-through-multiple-sandboxes [ # back to displaying both sandboxes without editor screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-up' again @@ -884,15 +884,15 @@ scenario scrolling-through-multiple-sandboxes [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-up' again @@ -908,15 +908,15 @@ scenario scrolling-through-multiple-sandboxes [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -938,11 +938,11 @@ scenario scrolling-manages-sandbox-index-correctly [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-down' and 'page-up' a couple of times. sandbox index should be stable @@ -956,11 +956,11 @@ scenario scrolling-manages-sandbox-index-correctly [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-up' again @@ -974,11 +974,11 @@ scenario scrolling-manages-sandbox-index-correctly [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # hit 'page-down' @@ -992,11 +992,11 @@ scenario scrolling-manages-sandbox-index-correctly [ # cursor moves to first sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . # no change .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] diff --git a/sandbox/006-sandbox-copy.mu b/sandbox/006-sandbox-copy.mu index 784ae1eb..fdc1409a 100644 --- a/sandbox/006-sandbox-copy.mu +++ b/sandbox/006-sandbox-copy.mu @@ -13,11 +13,11 @@ scenario copy-a-sandbox-to-editor [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . . . @@ -33,11 +33,11 @@ scenario copy-a-sandbox-to-editor [ screen-should-contain [ . run (F4) . .add 1, 1 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . . . @@ -52,11 +52,11 @@ scenario copy-a-sandbox-to-editor [ screen-should-contain [ . run (F4) . .0add 1, 1 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . . . @@ -75,11 +75,11 @@ scenario copy-a-sandbox-to-editor-2 [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . . . @@ -95,11 +95,11 @@ scenario copy-a-sandbox-to-editor-2 [ screen-should-contain [ . run (F4) . .add 1, 1 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . . . @@ -114,11 +114,11 @@ scenario copy-a-sandbox-to-editor-2 [ screen-should-contain [ . run (F4) . .0add 1, 1 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . . . @@ -226,11 +226,11 @@ scenario copy-fails-if-sandbox-editor-not-empty [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # type something into the sandbox editor, then click on the 'copy' button @@ -246,11 +246,11 @@ scenario copy-fails-if-sandbox-editor-not-empty [ screen-should-contain [ . run (F4) . .0 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # cursor should be in the right place @@ -263,11 +263,11 @@ scenario copy-fails-if-sandbox-editor-not-empty [ screen-should-contain [ . run (F4) . .01 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] diff --git a/sandbox/007-sandbox-delete.mu b/sandbox/007-sandbox-delete.mu index ff04344f..dba40a8f 100644 --- a/sandbox/007-sandbox-delete.mu +++ b/sandbox/007-sandbox-delete.mu @@ -16,16 +16,16 @@ scenario deleting-sandboxes [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .divide-with-remainder 11, 3 . .3 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # delete second sandbox by clicking on left edge of 'delete' button @@ -38,11 +38,11 @@ scenario deleting-sandboxes [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # delete first sandbox by clicking at right edge of 'delete' button @@ -55,7 +55,7 @@ scenario deleting-sandboxes [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -162,15 +162,15 @@ scenario deleting-sandbox-after-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. ] # delete the second sandbox assume-console [ @@ -182,11 +182,11 @@ scenario deleting-sandbox-after-scroll [ # second sandbox shows in editor; scroll resets to display first sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -210,15 +210,15 @@ scenario deleting-top-sandbox-after-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. ] # delete the second sandbox assume-console [ @@ -230,11 +230,11 @@ scenario deleting-top-sandbox-after-scroll [ # second sandbox shows in editor; scroll resets to display first sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -259,11 +259,11 @@ scenario deleting-final-sandbox-after-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # delete the second sandbox @@ -277,11 +277,11 @@ scenario deleting-final-sandbox-after-scroll [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -305,11 +305,11 @@ scenario deleting-updates-sandbox-count [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . @@ -326,11 +326,11 @@ scenario deleting-updates-sandbox-count [ # shouldn't go past last sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] diff --git a/sandbox/008-sandbox-edit.mu b/sandbox/008-sandbox-edit.mu index 533e664c..42778faa 100644 --- a/sandbox/008-sandbox-edit.mu +++ b/sandbox/008-sandbox-edit.mu @@ -13,11 +13,11 @@ scenario clicking-on-a-sandbox-moves-it-to-editor [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # click somewhere on the sandbox @@ -31,7 +31,7 @@ scenario clicking-on-a-sandbox-moves-it-to-editor [ screen-should-contain [ . run (F4) . .add 2, 2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # cursor should be in the right place @@ -44,7 +44,7 @@ scenario clicking-on-a-sandbox-moves-it-to-editor [ screen-should-contain [ . run (F4) . .0add 2, 2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -114,7 +114,7 @@ scenario sandbox-with-print-can-be-edited [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .print-integer screen, 4 . .screen: . @@ -123,7 +123,7 @@ scenario sandbox-with-print-can-be-edited [ . . . . . . . . . . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # edit the sandbox @@ -136,7 +136,7 @@ scenario sandbox-with-print-can-be-edited [ screen-should-contain [ . run (F4) . .print-integer screen, 4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . ] @@ -162,11 +162,11 @@ scenario editing-sandbox-after-scrolling-resets-scroll [ event-loop screen, console, env screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # edit the second sandbox @@ -180,11 +180,11 @@ scenario editing-sandbox-after-scrolling-resets-scroll [ screen-should-contain [ . run (F4) . .add 2, 2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -208,11 +208,11 @@ scenario editing-sandbox-updates-sandbox-count [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . ] # edit the second sandbox, then resave @@ -227,11 +227,11 @@ scenario editing-sandbox-updates-sandbox-count [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 1, 1 . .2 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . ] # now try to scroll past end @@ -246,11 +246,11 @@ scenario editing-sandbox-updates-sandbox-count [ # screen should show just final sandbox screen-should-contain [ . run (F4) . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .1 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] diff --git a/sandbox/009-sandbox-test.mu b/sandbox/009-sandbox-test.mu index eb7fc274..f27b4a06 100644 --- a/sandbox/009-sandbox-test.mu +++ b/sandbox/009-sandbox-test.mu @@ -18,11 +18,11 @@ recipe foo [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # click on the '4' in the result @@ -50,11 +50,11 @@ recipe foo [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # now change the result diff --git a/sandbox/010-sandbox-trace.mu b/sandbox/010-sandbox-trace.mu index 5116b43b..15a4f931 100644 --- a/sandbox/010-sandbox-trace.mu +++ b/sandbox/010-sandbox-trace.mu @@ -13,10 +13,10 @@ scenario sandbox-click-on-code-toggles-app-trace [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash [abc] . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # click on the code in the sandbox @@ -32,7 +32,7 @@ scenario sandbox-click-on-code-toggles-app-trace [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash [abc] . .abc . @@ -40,7 +40,7 @@ scenario sandbox-click-on-code-toggles-app-trace [ screen-should-contain-in-color 245/grey, [ . . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . . . .abc . @@ -57,10 +57,10 @@ scenario sandbox-click-on-code-toggles-app-trace [ screen-should-contain [ . run (F4) . .␣ . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash [abc] . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -80,12 +80,12 @@ add 2, 2] screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash [abc] . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # click on the code in the sandbox @@ -99,14 +99,14 @@ add 2, 2] screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash [abc] . .add 2, 2 . .abc . .7 instructions run . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. ] ] @@ -124,7 +124,7 @@ scenario clicking-on-app-trace-does-nothing [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash 123456789 . .123456789 . @@ -140,7 +140,7 @@ scenario clicking-on-app-trace-does-nothing [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .stash 123456789 . .123456789 . diff --git a/sandbox/011-errors.mu b/sandbox/011-errors.mu index b420ed6b..bd6d4e7c 100644 --- a/sandbox/011-errors.mu +++ b/sandbox/011-errors.mu @@ -142,7 +142,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .foo: unknown element 'foo' in container 'number' . @@ -224,11 +224,11 @@ scenario run-hides-errors-from-past-sandboxes [ screen-should-contain [ . run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .add 2, 2 . .4 . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -252,12 +252,12 @@ z <- add x, y screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo 2 . .foo_2: 'add' requires number ingredients, but got↩. . 'y' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # now rerun everything @@ -271,12 +271,12 @@ z <- add x, y screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo 2 . .foo_3: 'add' requires number ingredients, but got↩. . 'y' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -348,7 +348,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .foo: missing type for 'x' in 'x <- copy 0' . @@ -374,12 +374,12 @@ recipe foo \\[ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .9: unbalanced '\\[' for recipe . .9: unbalanced '\\[' for recipe . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -404,7 +404,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .foo: first ingredient of 'get' should be a contai↩. @@ -433,7 +433,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .foo: second ingredient of 'get' should have type ↩. @@ -459,7 +459,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .foo: use before set: 'y' . @@ -474,7 +474,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo . .foo: use before set: 'y' . @@ -496,12 +496,12 @@ scenario run-instruction-and-print-errors [ screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .get 1:&:point, 1:offset . .first ingredient of 'get' should be a container, ↩. .but got '1:&:point' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] screen-should-contain-in-color 1/red, [ @@ -536,13 +536,13 @@ scenario run-instruction-and-print-errors-only-once [ screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .get 1234:num, foo:offset . .unknown element 'foo' in container 'number' . .first ingredient of 'get' should be a container, ↩. .but got '1234:num' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -566,13 +566,13 @@ loop screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .{ . .loop . .} . .took too long! . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] @@ -600,12 +600,12 @@ reply b screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo 4, 0 . .foo: divide by zero in '_, c:num <- divide-with-r↩. .emainder a, b' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] # click on the call in the sandbox @@ -619,14 +619,14 @@ reply b screen-should-contain [ . errors found (0) run (F4) . . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. .0 edit copy delete . .foo 4, 0 . .dividing by 0 . .14 instructions run . .foo: divide by zero in '_, c:num <- divide-with-r↩. .emainder a, b' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .──────────────────────────────────────────────────. . . ] ] diff --git a/update_html b/update_html index 58a69ab3..4f99fac9 100755 --- a/update_html +++ b/update_html @@ -26,3 +26,10 @@ for f in *.cc *.mu edit/*.mu do process $f done + +# switch the unicode characters around in the rendered html +# the ones we have in the source files render double-wide in html +# the ones we want in the html cause iTerm2 to slow down in alt-tabbing for some reason +# the following commands give us the best of both worlds +sed -i 's/┈/╌/g' html/edit/*.mu.html +sed -i 's/┊/╎/g' html/edit/*.mu.html |