summaryrefslogtreecommitdiff
path: root/src/watch
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch')
-rw-r--r--src/watch/state.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs
index 45fbd9e..abfff7a 100644
--- a/src/watch/state.rs
+++ b/src/watch/state.rs
@@ -51,8 +51,11 @@ impl<'a> WatchState<'a> {
pub fn run_current_exercise(&mut self) -> Result<()> {
self.show_hint = false;
- self.writer
- .write_all(b"\nChecking the exercise, please wait...")?;
+ writeln!(
+ self.writer,
+ "\nChecking the exercise `{}`. Please wait…",
+ self.app_state.current_exercise().name,
+ )?;
let success = self
.app_state
.current_exercise()