about summary refs log tree commit diff stats
path: root/sandbox/001-editor.mu
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/001-editor.mu')
-rw-r--r--sandbox/001-editor.mu3
1 files changed, 2 insertions, 1 deletions
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