mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-21 21:42:23 -05:00
Mark the last exercise as done
This commit is contained in:
parent
9b5b652c71
commit
01b8432d58
1 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,9 @@ impl AppState {
|
||||||
writeln!(writer, "{}", "ok".green())?;
|
writeln!(writer, "{}", "ok".green())?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Write that the last exercise is done.
|
||||||
|
self.write()?;
|
||||||
|
|
||||||
clear_terminal(writer)?;
|
clear_terminal(writer)?;
|
||||||
writer.write_all(FENISH_LINE.as_bytes())?;
|
writer.write_all(FENISH_LINE.as_bytes())?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue