about summary refs log tree commit diff stats
path: root/sandbox
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-26 10:32:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-26 10:32:17 -0700
commitde75312f693b2eff90b4da48ba47fa13ee5585b4 (patch)
tree43cbb0f05365758e1137a6e5587bba7aef90fee8 /sandbox
parent3e849f112bbbbd7d3b2e03d06aff935de04368c2 (diff)
downloadmu-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?
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/004-programming-environment.mu4
-rw-r--r--sandbox/005-sandbox.mu2
2 files changed, 3 insertions, 3 deletions
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