aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/termios.rs4
-rw-r--r--test/termios2.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/termios.rs b/test/termios.rs
index 7552373..3683cee 100644
--- a/test/termios.rs
+++ b/test/termios.rs
@@ -2,8 +2,8 @@ extern mod term;
fn main () {
match os::args()[1] {
- ~"echo" => term::echo(true),
- ~"noecho" => term::echo(false),
+ ~"echo" => term::ios::echo(true),
+ ~"noecho" => term::ios::echo(false),
_ => fail!(~"unknown argument"),
};
}
diff --git a/test/termios2.rs b/test/termios2.rs
index 35986b2..a7b3aa9 100644
--- a/test/termios2.rs
+++ b/test/termios2.rs
@@ -12,7 +12,7 @@ fn loop_chars () {
fn main () {
do term::ios::preserve {
- term::raw();
+ term::ios::raw();
loop_chars();
}