fix: fix README.md badges
This commit is contained in:
parent
f381c2cc7a
commit
a88b8e785c
|
@ -1,7 +1,7 @@
|
|||
# spinoff
|
||||
`spinoff` is a simple to use library for displaying spinners in the terminal, with plenty of features and options.
|
||||
|
||||
[![Version](https://img.shields.io/crates/v/spinoff.svg)](https://crates.io/crates/spinoff) [![Downloads](https://img.shields.io/crates/d/spinoff)](https://crates.io/crates/spinoff) [![License](https://img.shields.io/crates/l/spinoff.svg)](https://crates.io/crates/spinoff)
|
||||
[![Version](https://img.shields.io/crates/v/spinoff.svg)](https://crates.io/crates/spinoff) [![Downloads](https://img.shields.io/crates/d/spinoff)](https://crates.io/crates/spinoff) [![Docs](https://img.shields.io/docsrs/spinoff)](https://docs.rs/latest/spinoff)
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ pub fn new(spinner_type: Spinners, msg: StringLiteral, color: Option<StringLiter
|
|||
thread::spawn(move || {
|
||||
let spinner_data = SPINNER_FRAMES.get(&spinner_type).unwrap();
|
||||
let mut stdout = stdout();
|
||||
// Iterate over all the frames of the spinner while the atomic bool is true.
|
||||
let iterator = spinner_data
|
||||
.frames
|
||||
.iter()
|
||||
|
|
Loading…
Reference in a new issue