Compare commits

..

No commits in common. "main" and "v1.0.1" have entirely different histories.
main ... v1.0.1

View file

@ -50,7 +50,7 @@ func (p *ProgressBar) render(final bool) {
numBlank := 40 - numFilled numBlank := 40 - numFilled
donePercent := math.Round(float64(p.currentBytes) / float64(p.maxBytes) * 100) donePercent := math.Round(float64(p.currentBytes) / float64(p.maxBytes) * 100)
if int(donePercent) == p.currentPercent && !final { if int(donePercent) == p.currentPercent {
return return
} }
p.currentPercent = int(donePercent) p.currentPercent = int(donePercent)