about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-01-11 08:45:54 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-01-11 08:45:54 -0800
commit12712a40ed7441c7238da5e87438bc7e8b01f91a (patch)
treedc6aa980d72e62d90977ee0ba7656417ddefa702
parent61fb1da0b624ce20960c5e8b2229ca3d7f0e4fcd (diff)
downloadmu-12712a40ed7441c7238da5e87438bc7e8b01f91a.tar.gz
3731
Bitrot in main when loading just layer 1 of the edit/ and sandbox/ apps.
-rw-r--r--edit/001-editor.mu3
-rw-r--r--sandbox/001-editor.mu3
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