about summary refs log tree commit diff stats
path: root/085scenario_console.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-23 15:50:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-23 15:50:57 -0700
commitd803b68769947a419ef176d5c80446fcba5e9ee3 (patch)
tree37e48143eadbd6297d835819e01176e46c7fd939 /085scenario_console.cc
parent300a1d6e8033f1766d5203b15ff3ea8570e4b79b (diff)
downloadmu-d803b68769947a419ef176d5c80446fcba5e9ee3.tar.gz
3565
Cleaning up the console interfaces before we start changing the socket
interfaces to look like them. Reading from sockets need to be
non-blocking just like reading from the console.
Diffstat (limited to '085scenario_console.cc')
-rw-r--r--085scenario_console.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/085scenario_console.cc b/085scenario_console.cc
index 18ca6607..f781a8ca 100644
--- a/085scenario_console.cc
+++ b/085scenario_console.cc
@@ -15,10 +15,10 @@ scenario keyboard-in-scenario [
     type [abc]
   ]
   run [
-    1:char, console, 2:bool <- read-key console
-    3:char, console, 4:bool <- read-key console
-    5:char, console, 6:bool <- read-key console
-    7:char, console, 8:bool, 9:bool <- read-key console
+    1:char, 2:bool <- read-key console
+    3:char, 4:bool <- read-key console
+    5:char, 6:bool <- read-key console
+    7:char, 8:bool, 9:bool <- read-key console
   ]
   memory-should-contain [
     1 <- 97  # 'a'