Update README.md

This commit is contained in:
Pranav
2020-05-23 17:23:46 -05:00
committed by GitHub
parent ac5e759794
commit b27888e523

View File

@@ -690,7 +690,11 @@ int main() {
## Unicode Support
`indicators` supports multi-byte unicode characters in progress bars. If the `option::BarWidth` is set, the library aims to respect this setting. See below an example of some progress bars, each with a bar width of 50, displaying different unicode characters:
`indicators` supports multi-byte unicode characters in progress bars.
If the `option::BarWidth` is set, the library aims to respect this setting. When filling the bar, if the next `Fill` string is has a display width that would exceed the bar width, then the library will fill the available portion with `' '` space characters instead.
See below an example of some progress bars, each with a bar width of 50, displaying different unicode characters:
<p align="center">
<img src="img/unicode.gif"/>