summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app_state.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app_state.rs b/src/app_state.rs
index e9a5b10..e08f94c 100644
--- a/src/app_state.rs
+++ b/src/app_state.rs
@@ -403,6 +403,9 @@ impl AppState {
writeln!(writer, "{}", "ok".green())?;
}
+ // Write that the last exercise is done.
+ self.write()?;
+
clear_terminal(writer)?;
writer.write_all(FENISH_LINE.as_bytes())?;