Fix the output overlapping between progress bar and error messages

This commit is contained in:
Anis Elleuch
2015-07-05 09:08:17 +01:00
parent 2ee60b494b
commit 883d24aa8f
+1 -1
View File
@@ -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