diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-09-26 10:32:17 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-09-26 10:32:17 -0700 |
commit | de75312f693b2eff90b4da48ba47fa13ee5585b4 (patch) | |
tree | 43cbb0f05365758e1137a6e5587bba7aef90fee8 | |
parent | 3e849f112bbbbd7d3b2e03d06aff935de04368c2 (diff) | |
download | mu-de75312f693b2eff90b4da48ba47fa13ee5585b4.tar.gz |
2206 - fix missing ingredients
How the heck was this working until now? There must be redundant moves. And was I clobbering test data?
-rw-r--r-- | edit/004-programming-environment.mu | 4 | ||||
-rw-r--r-- | sandbox/004-programming-environment.mu | 4 | ||||
-rw-r--r-- | sandbox/005-sandbox.mu | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/edit/004-programming-environment.mu b/edit/004-programming-environment.mu index 0f576ea6..c825a503 100644 --- a/edit/004-programming-environment.mu +++ b/edit/004-programming-environment.mu @@ -532,7 +532,7 @@ recipe render-string [ break-if was-at-left? row <- add row, 1 } - move-cursor row, left + move-cursor screen, row, left reply row/same-as-ingredient:5, screen/same-as-ingredient:0 ] @@ -599,7 +599,7 @@ recipe render-code-string [ break-if was-at-left? row <- add row, 1 } - move-cursor row, left + move-cursor screen, row, left reply row/same-as-ingredient:4, screen/same-as-ingredient:0 ] diff --git a/sandbox/004-programming-environment.mu b/sandbox/004-programming-environment.mu index 864946aa..06bdbb36 100644 --- a/sandbox/004-programming-environment.mu +++ b/sandbox/004-programming-environment.mu @@ -276,7 +276,7 @@ recipe render-string [ break-if was-at-left? row <- add row, 1 } - move-cursor row, left + move-cursor screen, row, left reply row/same-as-ingredient:5, screen/same-as-ingredient:0 ] @@ -343,7 +343,7 @@ recipe render-code-string [ break-if was-at-left? row <- add row, 1 } - move-cursor row, left + move-cursor screen, row, left reply row/same-as-ingredient:4, screen/same-as-ingredient:0 ] diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index 9cbd1d08..b4a6b013 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -236,7 +236,7 @@ recipe render-sandboxes [ left:number <- next-ingredient right:number <- next-ingredient row:number <- next-ingredient - env:address:programming-environment-data <- next-ingredient + env:address:programming-environment-data, _/optional <- next-ingredient reply-unless sandbox, row/same-as-ingredient:4, screen/same-as-ingredient:0 screen-height:number <- screen-height screen at-bottom?:boolean <- greater-or-equal row, screen-height |