diff options
| author | mo8it <mo8it@proton.me> | 2024-07-07 13:55:39 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-07 13:55:39 +0200 |
| commit | 01b8432d58d8c568adfa7dcc0634bd2f24e77fbc (patch) | |
| tree | 6a35eecf0249a35ed540812a38491fa55f632699 /src/app_state.rs | |
| parent | 9b5b652c71bf5f921657b610435b785520857bf3 (diff) | |
Mark the last exercise as done
Diffstat (limited to 'src/app_state.rs')
| -rw-r--r-- | src/app_state.rs | 3 |
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())?; |
