about summary refs log tree commit diff stats
path: root/screen.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-05-18 10:09:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-05-18 10:14:49 -0700
commitb6fa632e2f46467c76c7fb39c731cb17e8558ee0 (patch)
treef821a84d0143eec4c1c8f53cdad1807800b90365 /screen.mu
parentee1a18f050a5458ade460720091e20ce6b335011 (diff)
downloadmu-b6fa632e2f46467c76c7fb39c731cb17e8558ee0.tar.gz
3861 - screen untouched when entering console mode
Diffstat (limited to 'screen.mu')
-rw-r--r--screen.mu1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen.mu b/screen.mu
index c8e16f85..1c7a31a1 100644
--- a/screen.mu
+++ b/screen.mu
@@ -4,6 +4,7 @@
 # screens.
 def main [
   open-console
+  clear-screen 0/screen  # non-scrolling app
   10:char <- copy 97/a
   print 0/screen, 10:char/a, 1/red, 2/green
   1:num/raw, 2:num/raw <- cursor-position 0/screen