Skip to content

Commit

Permalink
documented behaviour of MultiProgress::add (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
djugei authored Sep 25, 2023
1 parent 0c037ed commit ff7daf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/multi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ impl MultiProgress {
/// remote draw target that is intercepted by the multi progress
/// object overriding custom `ProgressDrawTarget` settings.
///
/// The progress bar will be positioned below all other bars currently
/// in the `MultiProgress`.
///
/// Adding a progress bar that is already a member of the `MultiProgress`
/// will have no effect.
pub fn add(&self, pb: ProgressBar) -> ProgressBar {
Expand Down

0 comments on commit ff7daf0

Please sign in to comment.