summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/run.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.rs b/src/run.rs
index 38f4e0e..2fd6f40 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -1,4 +1,5 @@
use anyhow::{bail, Result};
+use crossterm::style::Stylize;
use std::io::{stdout, Write};
use crate::exercise::Exercise;
@@ -21,8 +22,7 @@ pub fn run(exercise: &Exercise) -> Result<()> {
bail!("Ran {exercise} with errors");
}
- // TODO: Color
- println!("Successfully ran {exercise}");
+ println!("{}", "✓ Successfully ran {exercise}".green());
Ok(())
}