From 25cbec9695b290d0d17f942c5bafd4187dd1e25c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 1 Apr 2013 17:39:31 -0500 Subject: also, print and println are now in the prelude --- src/term.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/term.rs b/src/term.rs index 70d5e1c..575be96 100644 --- a/src/term.rs +++ b/src/term.rs @@ -105,7 +105,7 @@ impl Writer { } fn flush (&mut self) { - io::print(self.buf); + print(self.buf); io::stdout().flush(); self.buf = ~""; } @@ -114,9 +114,9 @@ impl Writer { impl Drop for Writer { fn finalize (&self) { if self.cleanup { - io::print(escape("rmcup")); - io::print(escape("sgr0")); - io::print(escape("cnorm")); + print(escape("rmcup")); + print(escape("sgr0")); + print(escape("cnorm")); } } } @@ -217,7 +217,7 @@ impl Reader { impl Drop for Reader { fn finalize (&self) { if self.cleanup { - io::print(escape("rmkx")); + print(escape("rmkx")); } } } -- cgit v1.2.3-54-g00ecf