Remove any completed bar so far

dev
Manuel Bua 2020-07-05 20:11:53 +02:00
parent e59ac01c65
commit 683de150bd
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func (p *Progress) NewBar(name string, total int64) *mpb.Bar {
total, total,
mpb.BarNoPop(), mpb.BarNoPop(),
//mpb.BarQueueAfter(p.Bar), //mpb.BarQueueAfter(p.Bar),
mpb.BarRemoveOnComplete(),
mpb.PrependDecorators( mpb.PrependDecorators(
decor.Name(barname), decor.Name(barname),
decor.CountersNoUnit(aurora.Blue(" %d/%d").String()), decor.CountersNoUnit(aurora.Blue(" %d/%d").String()),