about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-16 17:33:31 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-16 17:33:31 -0700
commit22a257088a6fd2539060badb6a368bad905085a1 (patch)
tree187c4078f651853b27d92e36f0dcdfe4af29eb3a
parent65b55dbc870ef54e71b84a6bed1d2ec2ce48cca2 (diff)
downloadmu-22a257088a6fd2539060badb6a368bad905085a1.tar.gz
1579
-rw-r--r--edit.mu11
1 files changed, 11 insertions, 0 deletions
diff --git a/edit.mu b/edit.mu
index 75da0b47..18283b9a 100644
--- a/edit.mu
+++ b/edit.mu
@@ -42,6 +42,17 @@ recipe edit [
   right:number <- next-ingredient
   right:number <- subtract right:number, 1:literal
   keyboard:address <- next-ingredient
+  render s:address:array:character, screen:address, top:number, left:number, bottom:number, right:number
+]
+
+recipe render [
+  default-space:address:array:location <- new location:type, 30:literal
+  s:address:array:character <- next-ingredient
+  screen:address <- next-ingredient
+  top:number <- next-ingredient
+  left:number <- next-ingredient
+  bottom:number <- next-ingredient
+  right:number <- next-ingredient
   # traversing inside s
   len:number <- length s:address:array:character/deref
   i:number <- copy 0:literal