Skip to content

Commit

Permalink
Update ProgressDrawTarget documentation
Browse files Browse the repository at this point in the history
Update ProgressDrawTarget documentation to reflect the actual defaults of 20 hz instead of 15 hz.
  • Loading branch information
AronParker authored and chris-laplante committed Aug 19, 2022
1 parent 9f424a4 commit 4afa008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/draw_target.rs
Expand Up @@ -20,14 +20,14 @@ pub struct ProgressDrawTarget {
}

impl ProgressDrawTarget {
/// Draw to a buffered stdout terminal at a max of 15 times a second.
/// Draw to a buffered stdout terminal at a max of 20 times a second.
///
/// For more information see `ProgressDrawTarget::to_term`.
pub fn stdout() -> ProgressDrawTarget {
ProgressDrawTarget::term(Term::buffered_stdout(), 20)
}

/// Draw to a buffered stderr terminal at a max of 15 times a second.
/// Draw to a buffered stderr terminal at a max of 20 times a second.
///
/// This is the default draw target for progress bars. For more
/// information see `ProgressDrawTarget::to_term`.
Expand Down

0 comments on commit 4afa008

Please sign in to comment.