Clear terminal before final check in watch mode

This commit is contained in:
mo8it
2024-09-24 16:12:44 +02:00
parent a55e848359
commit 554301b8e9
3 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -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