From b6fa632e2f46467c76c7fb39c731cb17e8558ee0 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 18 May 2017 10:09:17 -0700 Subject: 3861 - screen untouched when entering console mode --- sandbox/001-editor.mu | 1 + sandbox/002-typing.mu | 1 + sandbox/004-programming-environment.mu | 1 + sandbox/005-sandbox.mu | 1 + 4 files changed, 4 insertions(+) (limited to 'sandbox') diff --git a/sandbox/001-editor.mu b/sandbox/001-editor.mu index a6dde85b..50ba09f5 100644 --- a/sandbox/001-editor.mu +++ b/sandbox/001-editor.mu @@ -6,6 +6,7 @@ def main text:text [ local-scope load-ingredients open-console + clear-screen 0/screen # non-scrolling app e:&:editor <- new-editor text, 0/left, 5/right render 0/screen, e wait-for-event 0/console diff --git a/sandbox/002-typing.mu b/sandbox/002-typing.mu index 16693429..7c385b6f 100644 --- a/sandbox/002-typing.mu +++ b/sandbox/002-typing.mu @@ -6,6 +6,7 @@ def! main text:text [ local-scope load-ingredients open-console + clear-screen 0/screen # non-scrolling app editor:&:editor <- new-editor text, 5/left, 45/right editor-render 0/screen, editor editor-event-loop 0/screen, 0/console, editor diff --git a/sandbox/004-programming-environment.mu b/sandbox/004-programming-environment.mu index 53f9f846..4b57f5ae 100644 --- a/sandbox/004-programming-environment.mu +++ b/sandbox/004-programming-environment.mu @@ -3,6 +3,7 @@ def! main [ local-scope open-console + clear-screen 0/screen # non-scrolling app env:&:environment <- new-programming-environment 0/filesystem, 0/screen render-all 0/screen, env, render event-loop 0/screen, 0/console, env, 0/filesystem diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index a7df7a54..2d1e4c2d 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -10,6 +10,7 @@ def! main [ local-scope open-console + clear-screen 0/screen # non-scrolling app env:&:environment <- new-programming-environment 0/filesystem, 0/screen env <- restore-sandboxes env render-all 0/screen, env, render -- cgit 1.4.1-2-gfad0