Updated README

This commit is contained in:
Pranav Srinivas Kumar
2019-12-16 09:28:55 -06:00
parent b6d0ec0ee0
commit 1c2e7d5bd1

View File

@@ -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;