diff -r afd63357a03d -r e83ec58cc458 sources/interface.cpp --- a/sources/interface.cpp Wed Jan 27 14:06:45 2021 +0200 +++ b/sources/interface.cpp Wed Jan 27 14:16:58 2021 +0200 @@ -179,8 +179,8 @@ int defaultBg = hasDefaultColors ? -1 : COLOR_BLACK; // Initialize color pairs - for (int i : range(NUM_COLORS)) - for (int j : range(NUM_COLORS)) + for (int i = 0; i < NUM_COLORS; i += 1) + for (int j = 0; j < NUM_COLORS; j += 1) { int pairnum = 1 + (i * NUM_COLORS + j); int fg =(i == DEFAULT) ? defaultFg : i; @@ -360,13 +360,13 @@ assert(start <= end and start - end <= height); // Clear the display - for (int i : range(height)) + for (int i = 0; i < height; i += 1) mvhline(y + i, 0, ' ', width); // Print the lines y += printOffset; - for (int i : range(start, end)) + for (int i = start; i < end; i += 1) y = renderColorline(y, 0, width, m_outputLines[i], true); m_needOutputRender = false; @@ -385,7 +385,7 @@ if (width > 0) return; - for (int i : range(height)) + for (int i = 0; i < height; i += 1) { mvhline(y, x, ' ', width);