Codebase list golang-github-vbauerster-mpb / fd9d418
update godoc for PopCompletedMode Vladimir Bauer 2 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
9292 }
9393 }
9494
95 // PopCompletedMode will pop completed bars to the top.
96 // To stop rendering bar after it has been popped, use
97 // mpb.BarRemoveOnComplete() option on that bar.
95 // PopCompletedMode pop completed bars out of progress container.
96 // In this mode completed bars get moved to the top and stop
97 // participating in rendering cycle.
9898 func PopCompletedMode() ContainerOption {
9999 return func(s *pState) {
100100 s.popCompleted = true