Updated bar example

This commit is contained in:
Pranav Srinivas KumaR
2019-12-03 20:40:34 -06:00
parent 4ee9e723b6
commit 2684cacd95
2 changed files with 22 additions and 15 deletions

View File

@@ -7,14 +7,14 @@ int main() {
// Configure progress bar
bar.bar_width(50);
bar.start_with("[");
bar.fill_progress_with("=");
bar.lead_progress_with(">");
bar.fill_remainder_with(" ");
bar.end_with("]");
bar.fill_progress_with("");
bar.lead_progress_with("");
bar.fill_remainder_with("-");
bar.end_with(" ]");
// As configured, the bar will look like this:
//
// [=================> ] 70%
// [■■■■■■■■■■■■■■■■■■■■ --------] 70%
//
//