mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Minor updates
This commit is contained in:
@@ -28,10 +28,10 @@ int main() {
|
||||
option::ShowElapsedTime{true}, option::ShowRemainingTime{true},
|
||||
option::PrefixText{"5a17453338b4: Downloading "}};
|
||||
|
||||
std::cout << termcolor::bold << termcolor::white << "\n\n Pulling image foo:bar/baz\n";
|
||||
std::cout << termcolor::bold << termcolor::white << "Pulling image foo:bar/baz\n";
|
||||
|
||||
DynamicProgress<ProgressBar> bars(bar1, bar2, bar3);
|
||||
bars.set_option(option::HideBarWhenComplete{false});
|
||||
bars.set_option(option::HideBarWhenComplete{true});
|
||||
|
||||
std::thread fourth_job, fifth_job, sixth_job;
|
||||
|
||||
@@ -124,7 +124,7 @@ int main() {
|
||||
second_job.join();
|
||||
first_job.join();
|
||||
|
||||
std::cout << termcolor::bold << termcolor::green << " ✔ Downloaded image foo/bar:baz\n\n\n\n" << std::endl;
|
||||
std::cout << termcolor::bold << termcolor::green << "✔ Downloaded image foo/bar:baz" << std::endl;
|
||||
std::cout << termcolor::reset;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user