Skip to content

Commit

Permalink
clarify comment for MultiState::orphan_lines member
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-laplante committed Aug 12, 2022
1 parent 610ceb9 commit 9f095f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/multi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ pub(crate) struct MultiState {
move_cursor: bool,
/// Controls how the multi progress is aligned if some of its progress bars get removed, default is `Top`
alignment: MultiProgressAlignment,
/// Orphaned lines are carried over across draw operations
/// Lines to be drawn above everything else in the MultiProgress. These specifically come from
/// calling `ProgressBar::println` on a pb that is connected to a `MultiProgress`.
orphan_lines: Vec<String>,
}

Expand Down

0 comments on commit 9f095f2

Please sign in to comment.