summaryrefslogtreecommitdiff
path: root/src/watch/state.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-09 22:06:55 +0200
committermo8it <mo8it@proton.me>2024-04-09 22:06:55 +0200
commitaf85f2036cd545013225da04e67257fe4f6a4179 (patch)
treea4d571b9ef1cb84e829cf8a09a8779c791b1cb02 /src/watch/state.rs
parentff6c15f9c15ae80b48d3acd7091eb6328c931e7a (diff)
Print a newline before the progress bar
Diffstat (limited to 'src/watch/state.rs')
-rw-r--r--src/watch/state.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs
index d8fed5b..8fae7e8 100644
--- a/src/watch/state.rs
+++ b/src/watch/state.rs
@@ -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,