]> git.proxmox.com Git - rustc.git/blob - src/vendor/termion/examples/color.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / vendor / termion / examples / color.rs
1 extern crate termion;
2
3 use termion::{color, style};
4
5 fn main() {
6 println!("{}Red", color::Fg(color::Red));
7 println!("{}Blue", color::Fg(color::Blue));
8 println!("{}Blue'n'Bold{}", style::Bold, style::Reset);
9 println!("{}Just plain italic", style::Italic);
10 }