diff --git a/progress.cpp b/progress.cpp index 5ca71d3..21ae029 100644 --- a/progress.cpp +++ b/progress.cpp @@ -69,14 +69,6 @@ void show_grayscale_bar() { } void show_words() { - std::cout << sc::io::redf << " red "; - std::cout << sc::io::greenf << " green "; - std::cout << sc::io::bluef << " blue "; - std::cout << sc::io::cyanf << " cyan "; - std::cout << sc::io::magentaf << " magenta "; - std::cout << sc::io::yellowf << " yellow "; - std::cout << sc::io::rgbf(5, 2, 0) << " orange "; - std::cout << sc::io::bold << std::endl; std::cout << sc::io::redf << " red "; std::cout << sc::io::greenf << " green "; std::cout << sc::io::bluef << " blue "; @@ -93,7 +85,17 @@ void show_words() { std::cout << sc::io::magentab << " magenta "; std::cout << sc::io::yellowb << " yellow "; std::cout << sc::io::rgbb(5, 2, 0) << " orange "; - std::cout << std::endl << sc::io::bold; + std::cout << sc::io::reset << std::endl; + std::cout << sc::io::bold; + std::cout << sc::io::redf << " red "; + std::cout << sc::io::greenf << " green "; + std::cout << sc::io::bluef << " blue "; + std::cout << sc::io::cyanf << " cyan "; + std::cout << sc::io::magentaf << " magenta "; + std::cout << sc::io::yellowf << " yellow "; + std::cout << sc::io::rgbf(5, 2, 0) << " orange "; + std::cout << sc::io::reset << std::endl; + std::cout << sc::io::blackf << sc::io::bold; std::cout << sc::io::redb << " red "; std::cout << sc::io::greenb << " green "; std::cout << sc::io::blueb << " blue "; @@ -108,8 +110,8 @@ void show_words() { std::cout << sc::io::strikethru << "strike thru" << sc::io::reset << ' '; std::cout << sc::io::overline << "overline" << sc::io::reset << ' '; std::cout << sc::io::reverse << "reverse" << sc::io::reset << ' '; - std::cout << sc::io::blinkslow << "blink slowly " << sc::io::reset; - std::cout << sc::io::blinkfast << "blink fast " << sc::io::reset; + std::cout << sc::io::blinkslow << "slow-blink" << sc::io::reset << ' '; + std::cout << sc::io::blinkfast << "fast-blink" << sc::io::reset; std::cout << std::endl; }