about summary refs log tree commit diff stats
path: root/display.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-21 23:53:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-21 23:53:17 -0700
commit290fe117c444399495a83266d602e2f4fc3fc099 (patch)
tree2fed3d6cd61048d2a3043be94cff7f9985719f3b /display.mu
parent6a0f71b9f89df0940a342cd2c91d246cecc18bdf (diff)
downloadmu-290fe117c444399495a83266d602e2f4fc3fc099.tar.gz
1618
Diffstat (limited to 'display.mu')
-rw-r--r--display.mu5
1 files changed, 3 insertions, 2 deletions
diff --git a/display.mu b/display.mu
index 821f4bd5..e2397382 100644
--- a/display.mu
+++ b/display.mu
@@ -1,7 +1,7 @@
 # example program: managing the display
 
 recipe main [
-  switch-to-display
+  open-console
   print-character-to-display 97:literal, 1:literal/red
   1:number/raw, 2:number/raw <- cursor-position-on-display
   wait-for-some-interaction
@@ -20,5 +20,6 @@ recipe main [
   wait-for-some-interaction
   move-cursor-up-on-display
   wait-for-some-interaction
-  return-to-console
+#?   $print [aaa] #? 1
+  close-console
 ]