summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-09-24 16:12:44 +0200
committermo8it <mo8it@proton.me>2024-09-24 16:12:44 +0200
commit554301b8e9a1c3f8eda05d616fbdb909e2ebf640 (patch)
tree57d2d2300012448fc3854e906700cd8b9c60cf08 /src/run.rs
parenta55e84835995b87cdcdb7f746ac9d0fb477a5586 (diff)
Clear terminal before final check in watch mode
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index a969164..3fddcf2 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -44,7 +44,7 @@ pub fn run(app_state: &mut AppState) -> Result<()> {
stdout.write_all(b"\n")?;
}
- match app_state.done_current_exercise(&mut stdout)? {
+ match app_state.done_current_exercise::<false>(&mut stdout)? {
ExercisesProgress::NewPending | ExercisesProgress::CurrentPending => {
stdout.write_all(b"Next exercise: ")?;
app_state