diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-09-05 13:09:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-09-05 13:29:32 -0700 |
commit | fd469c02dc0ca7485c93e8f00c06888138adeca1 (patch) | |
tree | 9464efdbc35f2b28ce9cf69051635a5c801f4c32 /edit | |
parent | bdcfcc2e8e2f44189b0f5d7a3ce1044889ab6eb4 (diff) | |
download | mu-fd469c02dc0ca7485c93e8f00c06888138adeca1.tar.gz |
2162
Diffstat (limited to 'edit')
-rw-r--r-- | edit/004-programming-environment.mu | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/edit/004-programming-environment.mu b/edit/004-programming-environment.mu index 7f624fcf..4718ca82 100644 --- a/edit/004-programming-environment.mu +++ b/edit/004-programming-environment.mu @@ -545,14 +545,7 @@ recipe render-string [ column <- add column, 1 loop } - { - # clear rest of current line - line-done?:boolean <- greater-than column, right - break-if line-done? - print-character screen, 32/space - column <- add column, 1 - loop - } + clear-line-delimited screen, column, right reply row/same-as-ingredient:5, screen/same-as-ingredient:0 ] @@ -614,14 +607,7 @@ recipe render-code-string [ column <- add column, 1 loop } - { - # clear rest of current line - line-done?:boolean <- greater-than column, right - break-if line-done? - print-character screen, 32/space - column <- add column, 1 - loop - } + clear-line-delimited screen, column, right reply row/same-as-ingredient:4, screen/same-as-ingredient:0 ] |