Enable Progress Bar
Open
- Dominant language
- Rust
- Stars
- 11
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, forcing the progress bar to display with `command.env("CARGO_TERM_PROGRESS_WHEN", "always")` doesn't look right due to https://github.com/rust-lang/cargo/issues/9155. This [merged PR](https://github.com/rust-lang/cargo/pull/9231) fixes it, but hasn't made it into a release.
Once it does, we should force the progress bar on with:
```rust
if let Some((width, _height)) = term_size::dimensions() {
command
.env("CARGO_TERM_PROGRESS_WHEN", "always")
.env("CARGO_TERM_PROGRESS_WIDTH", &width.to_string());
}
```
Contributor guide
Assessment
This issue has not been assessed yet.