mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Updated README
This commit is contained in:
@@ -219,16 +219,12 @@ int main() {
|
||||
|
||||
# Smooth Block Progress Bar
|
||||
|
||||
Are you in need of a smooth block progress bar using [unicode block elements](https://en.wikipedia.org/wiki/Block_Elements)? Use `BlockProgressBar` instead of `ProgressBar`.
|
||||
|
||||
`BlockProgressBar` uses unicode block elements that achieve a smooth progress bar experience
|
||||
Are you in need of a smooth block progress bar using [unicode block elements](https://en.wikipedia.org/wiki/Block_Elements)? Use `BlockProgressBar` instead of `ProgressBar`. Thanks to [this blog post](https://mike42.me/blog/2018-06-make-better-cli-progress-bars-with-unicode-block-characters) for making this an easy addition to the library.
|
||||
|
||||
<p align="center">
|
||||
<img height="70" src="img/block_progress_bar.gif"/>
|
||||
</p>
|
||||
|
||||
`BlockProgressBar` is slighly less configurable compared to `ProgressBar` but you can still set the prefix text, postfix text, color etc.
|
||||
|
||||
```cpp
|
||||
indicators::BlockProgressBar bar;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user