use kdam::{BarExt, tqdm};
use std::io::Result;
fn main() -> Result<()> {
let mut pb = tqdm!(total = 300, animation = "firacode", force_refresh = true);
for _ in 0..300 {
std::thread::sleep(std::time::Duration::from_secs_f32(0.02));
pb.update(1)?;
}
eprintln!();
Ok(())
}