summaryrefslogtreecommitdiff
path: root/src/watch/state.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-08-08 22:41:41 +0200
committermo8it <mo8it@proton.me>2024-08-08 22:41:41 +0200
commit0785b2419277bc1cbc7f55c123f8e248759f4766 (patch)
treef408ee4a079836af592c347f1565614b964d9c52 /src/watch/state.rs
parent34f02cf83d155fc5efee9970994d3a83ab58c284 (diff)
Show a message before running the exercise
Diffstat (limited to 'src/watch/state.rs')
-rw-r--r--src/watch/state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs
index 46f48d9..45fbd9e 100644
--- a/src/watch/state.rs
+++ b/src/watch/state.rs
@@ -51,6 +51,8 @@ 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...")?;
let success = self
.app_state
.current_exercise()