balloon2/
balloon2.rs

1use std::{thread, time::Duration};
2use terminal_spinners::{SpinnerBuilder, BALLOON2};
3fn main() {
4    let text = "Loading unicorns";
5    let handle = SpinnerBuilder::new().spinner(&BALLOON2).text(text).start();
6    thread::sleep(Duration::from_secs(3));
7    handle.done();
8}