1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Print a newline before the progress bar

This commit is contained in:
mo8it 2024-04-09 22:06:55 +02:00
parent ff6c15f9c1
commit af85f2036c

@ -136,6 +136,7 @@ You can keep working on this exercise or jump into the next one by removing the
self.writer.write_all(message.as_bytes())?;
}
self.writer.write_all(b"\n")?;
let line_width = size()?.0;
let progress_bar = progress_bar(
self.current_exercise_ind as u16,