aboutsummaryrefslogtreecommitdiffstats
path: root/test/rl.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-03-21 00:43:40 -0500
committerJesse Luehrs <doy@tozt.net>2013-03-21 00:43:40 -0500
commit0896e60afd21c9c6724fb06c6328bb890c4f911d (patch)
treedbf1794718852b032caeefb730a3f0feca6a2f96 /test/rl.rs
parent6c64bd6b3e916e71afdd70f34cfb36f502dd147b (diff)
downloadrust-term-0896e60afd21c9c6724fb06c6328bb890c4f911d.tar.gz
rust-term-0896e60afd21c9c6724fb06c6328bb890c4f911d.zip
a couple aliases
Diffstat (limited to 'test/rl.rs')
-rw-r--r--test/rl.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rl.rs b/test/rl.rs
index 355bf9c..eb5d7d6 100644
--- a/test/rl.rs
+++ b/test/rl.rs
@@ -29,11 +29,11 @@ fn draw_ground (x: uint, y: uint) {
}
fn main () {
- let (cols, rows) = term::ios::size();
+ let (cols, rows) = term::size();
do term_app {
- term::ios::cbreak();
- term::ios::echo(false);
+ term::cbreak();
+ term::echo(false);
term::info::clear();
draw_map(rows, cols);