diff --git a/examples/red-hello.rs b/examples/red-hello.rs new file mode 100644 index 0000000..058cc48 --- /dev/null +++ b/examples/red-hello.rs @@ -0,0 +1,6 @@ +extern crate output_vt100; + +fn main() { + output_vt100::init(); + println!("\x1b[31mThis text is red!\x1b[0m"); +}