Update README.md

This commit is contained in:
ad4m 2022-07-18 19:49:48 +02:00 committed by GitHub
parent c05af1b77a
commit 1c2e19ac8b

View file

@ -29,7 +29,7 @@ let mut spinner = Spinner::new(Spinners::Dots, "Loading...", Some(Color::Red));
sleep(Duration::from_secs(3));
spinner.update(Spinners::Dots2, "Loading...", None);
sleep(Duration::from_secs(3));
spinner.stop_and_persist("👨‍💻", "Done!");
spinner.stop()
```
### Stop a spinner and persist a symbol and message