mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Updated countdown progress bar sample
This commit is contained in:
@@ -5,8 +5,6 @@ using namespace indicators;
|
||||
|
||||
int main() {
|
||||
|
||||
std::cout << "\n\n";
|
||||
|
||||
ProgressBar bar{option::BarWidth{50},
|
||||
option::ProgressType{ProgressType::decremental},
|
||||
option::Start{"["},
|
||||
@@ -26,10 +24,8 @@ int main() {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
}
|
||||
|
||||
std::cout << termcolor::bold << termcolor::white
|
||||
<< " Task Failed Successfully\n" << termcolor::reset;
|
||||
|
||||
std::cout << "\n\n";
|
||||
std::cout << termcolor::bold << termcolor::white << "Task Failed Successfully\n"
|
||||
<< termcolor::reset;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user