mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Minor update
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
#include <iostream>
|
|
||||||
#include <progress/bar.hpp>
|
#include <progress/bar.hpp>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
@@ -10,11 +9,11 @@ int main() {
|
|||||||
bar.fill_progress_with("■");
|
bar.fill_progress_with("■");
|
||||||
bar.lead_progress_with("■");
|
bar.lead_progress_with("■");
|
||||||
bar.fill_remainder_with("-");
|
bar.fill_remainder_with("-");
|
||||||
bar.end_with(" ]");
|
bar.end_with("]");
|
||||||
|
|
||||||
// As configured, the bar will look like this:
|
// As configured, the bar will look like this:
|
||||||
//
|
//
|
||||||
// [■■■■■■■■■■■■■■■■■■■■ --------] 70%
|
// [■■■■■■■■■■■■■■■■■■■■--------] 70%
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user