Commit d323a96 1 parent 5295317 commit d323a96 Copy full SHA for d323a96
File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 176
176
//! * `bar`: renders a progress bar. By default 20 characters wide. The
177
177
//! style string is used to color the elapsed part, the alternative
178
178
//! style is used for the bar that is yet to render.
179
- //! * `wide_bar`: like `bar` but always fills the remaining space. It should not be used with
180
- //! `wide_msg`.
179
+ //! * `wide_bar`: like `bar` but always fills the remaining space. It should not be used with `wide_msg`.
181
180
//! * `spinner`: renders the spinner (current tick string). Note that spinners do not automatically tick by default. You either
182
- //! need to call `enable_steady_tick` or manually call `tick`.
181
+ //! need to call `enable_steady_tick` or manually call `tick`.
183
182
//! * `prefix`: renders the prefix set on the progress bar.
184
183
//! * `msg`: renders the currently set message on the progress bar.
185
184
//! * `wide_msg`: like `msg` but always fills the remaining space and truncates. It should not be used
186
- //! with `wide_bar`.
185
+ //! with `wide_bar`.
187
186
//! * `pos`: renders the current position of the bar as integer
188
187
//! * `human_pos`: renders the current position of the bar as an integer, with commas as the
189
- //! thousands separator.
188
+ //! thousands separator.
190
189
//! * `len`: renders the amount of work to be done as an integer
191
190
//! * `human_len`: renders the total length of the bar as an integer, with commas as the thousands
192
- //! separator.
191
+ //! separator.
193
192
//! * `percent`: renders the current position of the bar as a percentage of the total length (as an integer).
194
193
//! * `percent_precise`: renders the current position of the bar as a percentage of the total length (with 3 fraction digits).
195
194
//! * `bytes`: renders the current position of the bar as bytes (alias of `binary_bytes`).
You can’t perform that action at this time.
0 commit comments