mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-11 17:08:52 +08:00
Minor viz updates
This commit is contained in:
@@ -164,7 +164,12 @@ int main() {
|
|||||||
if (p4.current() + 2 >= 100) {
|
if (p4.current() + 2 >= 100) {
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
p4.set_foreground_color(indica::Color::RED);
|
p4.set_foreground_color(indica::Color::RED);
|
||||||
p4.set_prefix_text("{ ERROR } ");
|
p4.set_prefix_text("{ ERROR }");
|
||||||
|
p4.start_bar_with("");
|
||||||
|
p4.fill_bar_progress_with("");
|
||||||
|
p4.lead_bar_progress_with("");
|
||||||
|
p4.fill_bar_remainder_with("");
|
||||||
|
p4.end_bar_with("");
|
||||||
p4.show_percentage();
|
p4.show_percentage();
|
||||||
p4.set_postfix_text("Failed to restore system");
|
p4.set_postfix_text("Failed to restore system");
|
||||||
p4.mark_as_completed();
|
p4.mark_as_completed();
|
||||||
|
|||||||
Reference in New Issue
Block a user