commands: don't leave color on after printing error
E.g. `jj log` outside a repo would print the message with red color
and then not turn off the color after the message.
@@ -81,6 +81,7 @@ impl<'a> Ui<'a> {
let mut styler = self.styler();
styler.add_label(String::from("error"));
styler.write_str(text);
+ styler.remove_label();
}
pub fn write_commit_summary<'r>(&mut self, repo: &'r dyn Repo, commit: &Commit) {
