From 1ec2694acc11cb6e4be71b652c411bcd9b95516d Mon Sep 17 00:00:00 2001 From: Robert Masen Date: Thu, 1 Nov 2018 19:59:02 -0500 Subject: [PATCH] reset color in colorize --- src/console.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/console.rs b/src/console.rs index 66d59b4f..4d1ba191 100644 --- a/src/console.rs +++ b/src/console.rs @@ -42,6 +42,7 @@ fn colorize(message: &str, color: &ColorSpec) { let mut stdout = StandardStream::stdout(*COLOR_CHOICE); stdout.set_color(color).unwrap(); writeln!(&mut stdout, "{}", message).unwrap(); + stdout.set_color(&ColorSpec::new()).unwrap(); } /// Display in the console the number of pages/sections in the site