1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-07 20:02:17 +02:00

Mark the last exercise as done

This commit is contained in:
mo8it 2024-07-07 13:55:39 +02:00
parent 9b5b652c71
commit 01b8432d58

View File

@ -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())?;