fix: edited gif
This commit is contained in:
parent
0727857f4f
commit
952775af2e
BIN
assets/ezgif-1-33be89147b.gif
Normal file
BIN
assets/ezgif-1-33be89147b.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 925 KiB |
BIN
assets/index.gif
BIN
assets/index.gif
Binary file not shown.
Before Width: | Height: | Size: 6 MiB |
|
@ -5,7 +5,7 @@ use strum::IntoEnumIterator;
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut spin = Spinner::new(Spinners::Dots, "", None);
|
let mut spin = Spinner::new(Spinners::Dots, "", None);
|
||||||
for spinner in Spinners::iter() {
|
for spinner in Spinners::iter() {
|
||||||
spin.update(spinner, format!("Spinners::{}", spinner), None);
|
spin.update(spinner, format!("{}", spinner), None);
|
||||||
sleep(Duration::from_secs(2));
|
sleep(Duration::from_secs(2));
|
||||||
}
|
}
|
||||||
spin.stop_with_message("Done!");
|
spin.stop_with_message("Done!");
|
||||||
|
|
Loading…
Reference in a new issue