Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to printing progress bar to sterr, rather than stdout. #47

Merged
merged 3 commits into from
Aug 12, 2021

Commits on Jul 26, 2021

  1. Default to printing progress bar to sterr, rather than stdout.

    As per cloud-oak#46, the
    correct default behavior of this package should be to print to
    stderr. This commit brings us in-line with other ProgressBar-style
    utilities, like `pv` and `tqdm`. It also allows ProgressBar.jl to
    be dropped into piped scripts.
    
    By default, ProgressBar will print to stderr. In a normal terminal,
    ProgressBar will look the same as it used to. To set ProgressBar to
    print to stdout and behave as it used to, ProgressBar now accepts a
    `output_stream` argument, which can be set to `stdout`. E.g.:
    `ProgressBar(1:5, output_stream=stdout)`
    InnovativeInventor committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    30d0c6c View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Configuration menu
    Copy the full SHA
    53f4bb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65ca254 View commit details
    Browse the repository at this point in the history