Added example

This commit is contained in:
Phuntsok Drak-pa 2019-02-14 14:09:18 +01:00
parent f60e3b43b4
commit cb9aa04812

6
examples/red-hello.rs Normal file
View File

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