about summary refs log tree commit diff stats
path: root/repl.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 /repl.mu
parent6a0f71b9f89df0940a342cd2c91d246cecc18bdf (diff)
downloadmu-290fe117c444399495a83266d602e2f4fc3fc099.tar.gz
1618
Diffstat (limited to 'repl.mu')
-rw-r--r--repl.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/repl.mu b/repl.mu
index 67eb434a..245e7dfd 100644
--- a/repl.mu
+++ b/repl.mu
@@ -2,13 +2,13 @@
 
 recipe main [
   default-space:address:array:location <- new location:type, 30:literal
-  switch-to-display
+  open-console
   msg:address:array:character <- new [ready! type in an instruction, then hit enter. ctrl-d exits.
 ]
   0:literal/real-screen <- print-string 0:literal/real-screen, msg:address:array:character, 245:literal/grey
   0:literal/real-keyboard, 0:literal/real-screen <- color-session 0:literal/real-keyboard, 0:literal/real-screen
 #?   wait-for-key-from-keyboard #? 1
-  return-to-console
+  close-console
 ]
 
 recipe color-session [