summaryrefslogtreecommitdiff
path: root/src/watch.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-10-10 19:43:35 +0200
committermo8it <mo8it@proton.me>2024-10-10 19:43:35 +0200
commit685e069c58ef02dae65381974722315ee8c84e8b (patch)
treec2a319c398fb7226b4109b81bdb00f419c689435 /src/watch.rs
parentd3f819f86f0fd7e67e9b995034947a65961cab34 (diff)
First PR review changes
Diffstat (limited to 'src/watch.rs')
-rw-r--r--src/watch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch.rs b/src/watch.rs
index b984675..6259c9d 100644
--- a/src/watch.rs
+++ b/src/watch.rs
@@ -108,7 +108,7 @@ fn run_watch(
{
ExercisesProgress::AllDone => break,
ExercisesProgress::NewPending => watch_state.run_current_exercise(&mut stdout)?,
- ExercisesProgress::CurrentPending => (),
+ ExercisesProgress::CurrentPending => watch_state.render(&mut stdout)?,
},
WatchEvent::Input(InputEvent::Reset) => watch_state.reset_exercise(&mut stdout)?,
WatchEvent::Input(InputEvent::Quit) => {