Added example
This commit is contained in:
parent
f60e3b43b4
commit
cb9aa04812
6
examples/red-hello.rs
Normal file
6
examples/red-hello.rs
Normal file
@ -0,0 +1,6 @@
|
||||
extern crate output_vt100;
|
||||
|
||||
fn main() {
|
||||
output_vt100::init();
|
||||
println!("\x1b[31mThis text is red!\x1b[0m");
|
||||
}
|
Loading…
Reference in New Issue
Block a user