Added example

This commit is contained in:
Phuntsok Drak-pa 2019-02-14 14:09:18 +01:00
förälder f60e3b43b4
incheckning cb9aa04812
1 ändrade filer med 6 tillägg och 0 borttagningar

6
examples/red-hello.rs Normal file
Visa fil

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