diff options
-rw-r--r-- | edit/001-editor.mu | 3 | ||||
-rw-r--r-- | sandbox/001-editor.mu | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu index c3e8e6da..cee50a80 100644 --- a/edit/001-editor.mu +++ b/edit/001-editor.mu @@ -7,7 +7,8 @@ def! main text:text [ load-ingredients open-console hide-screen 0/screen - new-editor text, 0/left, 5/right + e:&:editor <- new-editor text, 0/left, 5/right + render 0/screen, e show-screen 0/screen wait-for-event 0/console close-console diff --git a/sandbox/001-editor.mu b/sandbox/001-editor.mu index c3e8e6da..cee50a80 100644 --- a/sandbox/001-editor.mu +++ b/sandbox/001-editor.mu @@ -7,7 +7,8 @@ def! main text:text [ load-ingredients open-console hide-screen 0/screen - new-editor text, 0/left, 5/right + e:&:editor <- new-editor text, 0/left, 5/right + render 0/screen, e show-screen 0/screen wait-for-event 0/console close-console |