Skip to content

Commit

Permalink
update godoc for PopCompletedMode
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Oct 5, 2023
1 parent cee8bcd commit fd9d418
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions container_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ func WithAutoRefresh() ContainerOption {
}
}

// PopCompletedMode will pop completed bars to the top.
// To stop rendering bar after it has been popped, use
// mpb.BarRemoveOnComplete() option on that bar.
// PopCompletedMode pop completed bars out of progress container.
// In this mode completed bars get moved to the top and stop
// participating in rendering cycle.
func PopCompletedMode() ContainerOption {
return func(s *pState) {
s.popCompleted = true
Expand Down

0 comments on commit fd9d418

Please sign in to comment.