about summary refs log tree commit diff
path: root/src/libstd/term.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/term.rs')
-rw-r--r--src/libstd/term.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/term.rs b/src/libstd/term.rs
index c76417bce08..24d0442dfe2 100644
--- a/src/libstd/term.rs
+++ b/src/libstd/term.rs
@@ -23,7 +23,7 @@ const color_bright_magenta: u8 = 13u8;
 const color_bright_cyan: u8 = 14u8;
 const color_bright_white: u8 = 15u8;
 
-fn esc(writer: io::writer) { writer.write([0x1bu8, '[' as u8]/~); }
+fn esc(writer: io::writer) { writer.write(~[0x1bu8, '[' as u8]); }
 
 /// Reset the foreground and background colors to default
 fn reset(writer: io::writer) {