console-rs / indicatif

A command line progress reporting library for Rust
MIT License
4.23k stars 240 forks source link

Remove `write_all` from `ProgressBarIter`'s `Write` trait #478

Closed hexagonal-sun closed 1 year ago

hexagonal-sun commented 1 year ago

By implementing write_all we lose granularity of progress updates that are captured from write. Therefore, remove this function. This also brings the ProgressBarIter's Write trait into line with the Read trait since that doesn't provide an implementation of read_all.