minor: godoc
Vladimir Bauer
3 years ago
| 92 | 92 | } |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | // PopCompletedMode will pop and stop rendering completed bars. | |
| 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. | |
| 96 | 98 | func PopCompletedMode() ContainerOption { |
| 97 | 99 | return func(s *pState) { |
| 98 | 100 | s.popCompleted = true |