From 22a257088a6fd2539060badb6a368bad905085a1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 16 Jun 2015 17:33:31 -0700 Subject: 1579 --- edit.mu | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit 1.4.1-2-gfad0