diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-04-08 21:56:10 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-04-08 21:56:10 -0500 |
commit | ad2578a7ad98de9171400aea20c38f3ca237d88e (patch) | |
tree | cc1068a80a9d7bf47e5a8b7ded0af53d3fe98c02 /test | |
parent | 50fe57cbcba4a35665e0c622852bfa33b024aea8 (diff) | |
download | rust-term-ad2578a7ad98de9171400aea20c38f3ca237d88e.tar.gz rust-term-ad2578a7ad98de9171400aea20c38f3ca237d88e.zip |
move size back to term::ios
Diffstat (limited to 'test')
-rw-r--r-- | test/rl.rs | 2 | ||||
-rw-r--r-- | test/termios3.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 => { |