about summary refs log tree commit diff stats
path: root/edit
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-18 21:36:36 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-18 22:03:43 -0800
commit104854ca941be75b187ed49f94e96e06113d0fb5 (patch)
tree3c4467de218486db6dc123110d3575151977aafa /edit
parent59b6a42aac60a8be4b637a6a1cffa2bf371e7302 (diff)
downloadmu-104854ca941be75b187ed49f94e96e06113d0fb5.tar.gz
2460 - headers for remaining recipes
Diffstat (limited to 'edit')
-rw-r--r--edit/001-editor.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu
index c74e6ac4..ae9e5219 100644
--- a/edit/001-editor.mu
+++ b/edit/001-editor.mu
@@ -47,7 +47,7 @@ container editor-data [
 # creates a new editor widget and renders its initial appearance to screen
 #   top/left/right constrain the screen area available to the new editor
 #   right is exclusive
-recipe new-editor s:address:array:character, screen:address:screen, left:number, right:number -> result:address:editor-data [
+recipe new-editor s:address:array:character, screen:address:screen, left:number, right:number -> result:address:editor-data, screen:address:screen [
   local-scope
   load-ingredients
   # no clipping of bounds
@@ -224,13 +224,13 @@ recipe render screen:address:screen, editor:address:editor-data -> last-row:numb
   reply row, column, screen/same-as-ingredient:0, editor/same-as-ingredient:1
 ]
 
-recipe clear-line-delimited screen:address:screen, column:number, right:number [
+recipe clear-line-delimited screen:address:screen, column:number, right:number -> screen:address:screen [
   local-scope
   load-ingredients
   {
     done?:boolean <- greater-than column, right
     break-if done?
-    print-character screen, 32/space
+    screen <- print-character screen, 32/space
     column <- add column, 1
     loop
   }