mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Synchronize comments with README
This commit is contained in:
@@ -54,7 +54,10 @@ int main() {
|
|||||||
|
|
||||||
std::cout << termcolor::bold << termcolor::white << "Pulling image foo:bar/baz\n";
|
std::cout << termcolor::bold << termcolor::white << "Pulling image foo:bar/baz\n";
|
||||||
|
|
||||||
|
// Construct with 3 progress bars. We'll add 3 more at a later point
|
||||||
DynamicProgress<ProgressBar> bars(bar1, bar2, bar3);
|
DynamicProgress<ProgressBar> bars(bar1, bar2, bar3);
|
||||||
|
|
||||||
|
// Do not hide bars when completed
|
||||||
bars.set_option(option::HideBarWhenComplete{false});
|
bars.set_option(option::HideBarWhenComplete{false});
|
||||||
|
|
||||||
std::thread fourth_job, fifth_job, sixth_job;
|
std::thread fourth_job, fifth_job, sixth_job;
|
||||||
|
|||||||
Reference in New Issue
Block a user