aboutsummaryrefslogtreecommitdiffstats
path: root/test/termios3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/termios3.rs')
-rw-r--r--test/termios3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/termios3.rs b/test/termios3.rs
index c387260..f02c324 100644
--- a/test/termios3.rs
+++ b/test/termios3.rs
@@ -3,7 +3,7 @@ extern mod term;
fn main () {
match io::stdout().get_type() {
io::Screen => {
- let (cols, rows) = term::size();
+ let (cols, rows) = term::ios::size();
println(fmt!("tty: %d %d", cols as int, rows as int));
}
io::File => {