Skip to content

Commit

Permalink
fix(pb): add newline prefix in finish_print
Browse files Browse the repository at this point in the history
  • Loading branch information
a8m committed Aug 19, 2016
1 parent 51f59db commit 5c28f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl<T: Write> ProgressBar<T> {
/// Call finish and write string 's'
pub fn finish_print(&mut self, s: &str) {
self.finish();
printfl!(self.handle, "{}", s)
printfl!(self.handle, "\n{}", s)
}
}

Expand Down

0 comments on commit 5c28f06

Please sign in to comment.