about summary refs log tree commit diff stats
path: root/edit/004-programming-environment.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-09 00:20:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-09 00:20:43 -0700
commitceeb92d470c29613f6a036f9c2077126ecc09b47 (patch)
treeb7f5606a008adbf7731fc457af26d025604f72a0 /edit/004-programming-environment.mu
parent71056d6150d2b09241a86cbdf37086265291a358 (diff)
downloadmu-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.
Diffstat (limited to 'edit/004-programming-environment.mu')
-rw-r--r--edit/004-programming-environment.mu16
1 files changed, 8 insertions, 8 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
 ]