output-vt100-rs/examples/red-hello.rs
Phuntsok Drak-pa cb9aa04812 Added example
2019-02-14 14:09:18 +01:00

7 lines
118 B
Rust

extern crate output_vt100;
fn main() {
output_vt100::init();
println!("\x1b[31mThis text is red!\x1b[0m");
}