File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ func main() {
25
25
queue := make ([]* mpb.Bar , 2 )
26
26
queue [0 ] = p .AddBar (rand .Int63n (201 )+ 100 ,
27
27
mpb .PrependDecorators (
28
- decor .Name (task , decor.WC {W : len ( task ) + 1 , C : decor .DidentRight }),
28
+ decor .Name (task , decor.WC {C : decor . DindentRight | decor .DextraSpace }),
29
29
decor .Name ("downloading" , decor .WCSyncSpaceR ),
30
30
decor .CountersNoUnit ("%d / %d" , decor .WCSyncWidth ),
31
31
),
@@ -37,7 +37,7 @@ func main() {
37
37
mpb .BarQueueAfter (queue [0 ]), // this bar is queued
38
38
mpb .BarFillerClearOnComplete (),
39
39
mpb .PrependDecorators (
40
- decor .Name (task , decor.WC {W : len ( task ) + 1 , C : decor .DidentRight }),
40
+ decor .Name (task , decor.WC {C : decor . DindentRight | decor .DextraSpace }),
41
41
decor .OnCompleteMeta (
42
42
decor .OnComplete (
43
43
decor .Meta (decor .Name ("installing" , decor .WCSyncSpaceR ), toMetaFunc (red )),
You can’t perform that action at this time.
0 commit comments