diff options
Diffstat (limited to 'edit/001-editor.mu')
-rw-r--r-- | edit/001-editor.mu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu index 74f0ab20..e1404fc8 100644 --- a/edit/001-editor.mu +++ b/edit/001-editor.mu @@ -201,7 +201,9 @@ def render screen:&:screen, editor:&:editor -> last-row:num, last-column:num, sc *editor <- put *editor, cursor-row:offset, cursor-row *editor <- put *editor, cursor-column:offset, cursor-column *editor <- put *editor, before-cursor:offset, before-cursor - return row, column + clear-line-until screen, right + row <- add row, 1 + return row, left/column ] def clear-screen-from screen:&:screen, row:num, column:num, left:num, right:num -> screen:&:screen [ |