about summary refs log tree commit diff stats
path: root/sandbox/004-programming-environment.mu
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/004-programming-environment.mu
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/004-programming-environment.mu')
-rw-r--r--sandbox/004-programming-environment.mu4
1 files changed, 2 insertions, 2 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
 ]