1 2 3 4 5 6 7 8 9 10 11
use std::{thread, time::Duration}; use termal::{Result, progress::ProgressExt}; fn main() -> Result<()> { for _ in (0..1270).progress_dots("something") { thread::sleep(Duration::from_millis(16)); } Ok(()) }