Added example
This commit is contained in:
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");
|
||||
}
|
||||
Reference in New Issue
Block a user