Reset style in color example before exit (#138)
This commit is contained in:
parent
a29929ee34
commit
6c6b240961
|
@ -6,5 +6,5 @@ fn main() {
|
||||||
println!("{}Red", color::Fg(color::Red));
|
println!("{}Red", color::Fg(color::Red));
|
||||||
println!("{}Blue", color::Fg(color::Blue));
|
println!("{}Blue", color::Fg(color::Blue));
|
||||||
println!("{}Blue'n'Bold{}", style::Bold, style::Reset);
|
println!("{}Blue'n'Bold{}", style::Bold, style::Reset);
|
||||||
println!("{}Just plain italic", style::Italic);
|
println!("{}Just plain italic{}", style::Italic, style::Reset);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue