diff options
Diffstat (limited to 'edit/005-sandbox.mu')
-rw-r--r-- | edit/005-sandbox.mu | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/edit/005-sandbox.mu b/edit/005-sandbox.mu index a8a4c5a3..3929fb76 100644 --- a/edit/005-sandbox.mu +++ b/edit/005-sandbox.mu @@ -253,7 +253,8 @@ recipe render-sandboxes screen:address:screen, sandbox:address:sandbox-data, lef row <- add row, 1 screen <- move-cursor screen, row, left clear-line-delimited screen, left, right - print screen, 120/x, 245/grey + delete-icon:character <- copy 120/x + print screen, delete-icon, 245/grey # save menu row so we can detect clicks to it later starting-row:address:number <- get-address *sandbox, starting-row-on-screen:offset *starting-row <- copy row @@ -349,9 +350,11 @@ recipe render-screen screen:address:screen, sandbox-screen:address:screen, left: column <- copy left screen <- move-cursor screen, row, column # initial leader for each row: two spaces and a '.' - print screen, 32/space, 245/grey - print screen, 32/space, 245/grey - print screen, 46/full-stop, 245/grey + space:character <- copy 32/space + print screen, space, 245/grey + print screen, space, 245/grey + full-stop:character <- copy 46/period + print screen, full-stop, 245/grey column <- add left, 3 { # print row @@ -372,13 +375,13 @@ recipe render-screen screen:address:screen, sandbox-screen:address:screen, left: loop } # print final '.' - print screen, 46/full-stop, 245/grey + print screen, full-stop, 245/grey column <- add column, 1 { # clear rest of current line line-done?:boolean <- greater-than column, right break-if line-done? - print screen, 32/space + print screen, space column <- add column, 1 loop } |