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/termios3.rs | |
parent | 50fe57cbcba4a35665e0c622852bfa33b024aea8 (diff) | |
download | rust-term-ad2578a7ad98de9171400aea20c38f3ca237d88e.tar.gz rust-term-ad2578a7ad98de9171400aea20c38f3ca237d88e.zip |
move size back to term::ios
Diffstat (limited to 'test/termios3.rs')
-rw-r--r-- | test/termios3.rs | 2 |
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 => { |