From 883d24aa8fff2dce0972989153c561a098bc89f9 Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Sat, 4 Jul 2015 15:51:27 +0100 Subject: [PATCH] Fix the output overlapping between progress bar and error messages --- pb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pb.go b/pb.go index b16a54b2..352b589b 100644 --- a/pb.go +++ b/pb.go @@ -152,7 +152,7 @@ func newCpBar() barSend { bar.NotPrint = true bar.ShowSpeed = true bar.Callback = func(s string) { - console.Bar(s + "\r") + console.Bar("\r" + s) } cursorCh := cursorAnimate() // Feels like wget