diff --git a/progress.cpp b/progress.cpp index 302aff0..bb800d2 100644 --- a/progress.cpp +++ b/progress.cpp @@ -122,13 +122,13 @@ void show_truecolor(const sc::term& t) { // check for true color support char* support = getenv("COLORTERM"); if (!support || support[0] == '\0') { - std::cerr << "no true color support\n"; + std::cerr << "this terminal has no true color support\n"; return; } const char* lhb = u8"\u2584"; // lower half block const double sat = 1.0; for (double bri = 0; bri < 1; bri += 0.2) { - for (double hue = 0; hue < 360; hue += 360.0 / t.cols()) { + for (double hue = 0; hue < 359; hue += 360.0 / t.cols()) { HSB hsbb = {hue, sat, bri}; Color bg {hsbb}; RGB rgbb = RGB(bg);