From 5c28f0607a2a53c26f1047e53fce7e878d1bb55a Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Fri, 19 Aug 2016 07:38:43 +0100 Subject: [PATCH] fix(pb): add newline prefix in finish_print --- src/pb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pb.rs b/src/pb.rs index c290b415..1db2abd2 100644 --- a/src/pb.rs +++ b/src/pb.rs @@ -363,7 +363,7 @@ impl ProgressBar { /// 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) } }