Skip to content

Commit

Permalink
Explicit output control with Renderer
Browse files Browse the repository at this point in the history
Gets rid of ad-hoc `println!` and `eprintln!` in favour of plumbing an
explicit `Renderer` that wraps a `Term`. This fixes some glitchy output
where progress bars were interfering with normal text (most noticeable
in `purge` since it's all progress bars).
  • Loading branch information
rraval committed Dec 3, 2023
1 parent ce690d8 commit d91a9a9
Show file tree
Hide file tree
Showing 10 changed files with 525 additions and 246 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ However, the output of the application is designed for humans, not machines, and

## [Unreleased]

### Fixed

- Glitchy output where progress bars would sometimes overwrite normal text.

## [0.7.1] - 2023-10-22

### Security
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ license = "MIT"

[dependencies]
anyhow = "^1.0.75"
console = "^0.15.5"
git-version = "^0.3.8"
indicatif = "^0.17.7"
tempfile = "^3.8.1"
Expand Down

0 comments on commit d91a9a9

Please sign in to comment.