aboutsummaryrefslogtreecommitdiffstats
path: root/test/rl.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-09 03:07:48 -0500
committerJesse Luehrs <doy@tozt.net>2013-04-09 03:07:48 -0500
commitc881c744b38932d3d96a0fcec9deb81ca4d25fcb (patch)
tree7216b9ea0ab8eef96900e0b8fa788f5f6d931def /test/rl.rs
parent9289b18119a0b8636a014a396bd0b2174ee49e3a (diff)
downloadrust-term-c881c744b38932d3d96a0fcec9deb81ca4d25fcb.tar.gz
rust-term-c881c744b38932d3d96a0fcec9deb81ca4d25fcb.zip
apparently ::new is the convention these days
Diffstat (limited to 'test/rl.rs')
-rw-r--r--test/rl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rl.rs b/test/rl.rs
index 8771056..7ba3cd0 100644
--- a/test/rl.rs
+++ b/test/rl.rs
@@ -40,7 +40,7 @@ fn main () {
let (cols, rows) = term::ios::size();
{
- let mut term = Term();
+ let mut term = Term::new();
let mut (x, y) = (0u, 0u);
let mut cursor = true;