Closed jparris closed 6 months ago
I think this might be the same as #606?
Hi @djc ,
I just ran a quick experiment using the branch for PR https://github.com/console-rs/indicatif/pull/608 which fixes issue #606 and was able to reproduce the issue.
name = "indicatif_issue"
version = "0.1.0"
edition = "2021"
[dependencies]
indicatif = {git = "https://github.com/tgolsson/indicatif", branch = "ts/real-len" }
Might be related to https://github.com/console-rs/console/issues/185?
Might be related to console-rs/console#185?
@tgolsson great suggestionm, when I used your PR branch it resolved the issue 🎉 . I'm going to close this issue.
Hi There,
I've encountered a case where if the progress bar length is over 80 characters and stdout is redirected the progress bar will move up the screen overwriting previous output. As can bee seen in the screen recording. Below is screen recording and code snippet.
Reproduction
https://github.com/console-rs/indicatif/assets/125183/cc523dc7-842c-4fc5-a5bf-b42c4b0163ea
Code
Note: The progress line only hit's 81 characters and displays the behavior when we 100 iterations.