aboutsummaryrefslogtreecommitdiffstats
path: root/test/rl.rs
diff options
context:
space:
mode:
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 86f6655..9b096b4 100644
--- a/test/rl.rs
+++ b/test/rl.rs
@@ -1,11 +1,11 @@
extern mod term;
use core::io::ReaderUtil;
-fn term_app (body: &fn (w: &mut term::Writer)) {
- let mut writer = term::Writer(true);
+fn term_app (body: &fn (w: &term::Writer)) {
+ let writer = term::Writer(true);
do term::ios::preserve {
writer.alternate_screen(true);
- body(&mut writer);
+ body(&writer);
}
}