output-vt100-rs/examples/red-hello.rs

7 lines
118 B
Rust
Raw Permalink Normal View History

2019-02-14 13:09:18 +00:00
extern crate output_vt100;
fn main() {
output_vt100::init();
println!("\x1b[31mThis text is red!\x1b[0m");
}