about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-24 16:52:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-24 16:54:34 -0700
commit67b0a7fccf2bca90ab24ae430bf9cc2790171dbf (patch)
tree0dba6aa1a37048b987f97c5578f789203ac27fe3
parentbf8ba68c5815cb5721ea971c1e63a7aced308a07 (diff)
downloadmu-67b0a7fccf2bca90ab24ae430bf9cc2790171dbf.tar.gz
1639
Bug in manually running editor. Why wasn't it uncovered in the test?
Because I'm not yet rendering again from the event loop.
-rw-r--r--edit.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.mu b/edit.mu
index 5488cef4..214925ea 100644
--- a/edit.mu
+++ b/edit.mu
@@ -198,8 +198,8 @@ recipe render [
     column:number <- add column:number, 1:literal
     loop
   }
-  cursor-row:number <- get result:address:editor-data/deref, cursor-row:offset
-  cursor-column:number <- get result:address:editor-data/deref, cursor-column:offset
+  cursor-row:number <- get editor:address:editor-data/deref, cursor-row:offset
+  cursor-column:number <- get editor:address:editor-data/deref, cursor-column:offset
   move-cursor screen:address, cursor-row:number, cursor-column:number
   reply row:number, screen:address/same-as-ingredient:1
 ]