![ci-badge] ![docs-badge] ![crate-version]
A simple progress bar library inspired by Python's tqdm
.
```rust for _ in tqdmrs::Tqdm::new(0..10) { tqdmrs::write("Doing some work...\nOn multiple lines!"); std::thread::sleep(std::time::Duration::from_millis(100)); continue }
// It is possible to use print, but it looks more clumsy! for _ in tqdmrs::Tqdm::new(0..10) { println!("Doing some work...\nOn multiple lines!"); std::thread::sleep(std::time::Duration::frommillis(100)); continue }
let mut tq = tqdm_rs::Tqdm::manual(100); for _ in 0..10 { println!("I am updated manually!"); tq.update(10); } ```