From 6c6b240961cd3212fd216b8403c86e34853c9696 Mon Sep 17 00:00:00 2001 From: Alex Yankov Date: Tue, 8 May 2018 23:44:29 -0400 Subject: [PATCH] Reset style in color example before exit (#138) --- examples/color.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/color.rs b/examples/color.rs index 16071be..72c521d 100644 --- a/examples/color.rs +++ b/examples/color.rs @@ -6,5 +6,5 @@ fn main() { println!("{}Red", color::Fg(color::Red)); println!("{}Blue", color::Fg(color::Blue)); println!("{}Blue'n'Bold{}", style::Bold, style::Reset); - println!("{}Just plain italic", style::Italic); + println!("{}Just plain italic{}", style::Italic, style::Reset); }