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

Enable Progress Bar #11

Open
casey opened this issue May 31, 2021 · 0 comments
Open

Enable Progress Bar #11

casey opened this issue May 31, 2021 · 0 comments

Comments

@casey
Copy link
Owner

casey commented May 31, 2021

Currently, forcing the progress bar to display with command.env("CARGO_TERM_PROGRESS_WHEN", "always") doesn't look right due to rust-lang/cargo#9155. This merged PR fixes it, but hasn't made it into a release.

Once it does, we should force the progress bar on with:

if let Some((width, _height)) = term_size::dimensions() {
  command
    .env("CARGO_TERM_PROGRESS_WHEN", "always")
    .env("CARGO_TERM_PROGRESS_WIDTH", &width.to_string());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant