Browse Source

Added example

master
Phuntsok Drak-pa 1 year ago
parent
commit
cb9aa04812
1 changed files with 6 additions and 0 deletions
  1. 6
      examples/red-hello.rs

6
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");
}

Loading…
Cancel
Save