aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-08 21:56:10 -0500
committerJesse Luehrs <doy@tozt.net>2013-04-08 21:56:10 -0500
commitad2578a7ad98de9171400aea20c38f3ca237d88e (patch)
treecc1068a80a9d7bf47e5a8b7ded0af53d3fe98c02 /test
parent50fe57cbcba4a35665e0c622852bfa33b024aea8 (diff)
downloadrust-term-ad2578a7ad98de9171400aea20c38f3ca237d88e.tar.gz
rust-term-ad2578a7ad98de9171400aea20c38f3ca237d88e.zip
move size back to term::ios
Diffstat (limited to 'test')
-rw-r--r--test/rl.rs2
-rw-r--r--test/termios3.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/rl.rs b/test/rl.rs
index e7c0643..8771056 100644
--- a/test/rl.rs
+++ b/test/rl.rs
@@ -37,7 +37,7 @@ fn draw_ground (term: &mut Term, color: Option<Color>,
}
fn main () {
- let (cols, rows) = term::size();
+ let (cols, rows) = term::ios::size();
{
let mut term = Term();
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 => {