about summary refs log tree commit diff stats
path: root/display.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 /display.mu
parentee1a18f050a5458ade460720091e20ce6b335011 (diff)
downloadmu-b6fa632e2f46467c76c7fb39c731cb17e8558ee0.tar.gz
3861 - screen untouched when entering console mode
Diffstat (limited to 'display.mu')
-rw-r--r--display.mu3
1 files changed, 2 insertions, 1 deletions
diff --git a/display.mu b/display.mu
index 864b74c3..efe7b842 100644
--- a/display.mu
+++ b/display.mu
@@ -2,10 +2,11 @@
 
 def main [
   open-console
+  clear-display
   print-character-to-display 97, 1/red, 2/green
   1:num/raw, 2:num/raw <- cursor-position-on-display
   wait-for-some-interaction
-  clear-display
+  clear-line
   move-cursor-on-display 0, 4
   print-character-to-display 98
   wait-for-some-interaction