When I run this script:
fn main() { // \\033[0;31m <- Red // \\033[0m <- No Color println!(\"\\033[0;31mSO\\033[0m\") }
I
Rust 1.3.0 does not seem to support octal escape strings such as \033. Instead, you can use hexadecimal escape strings like \x1b.
\033
\x1b
fn main(){ println!("\x1b[0;31mSO\x1b[0m") }