mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-09 06:18:52 +08:00
Update README.md
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user