ncurses: fix first ~ line drawing
This commit is contained in:
parent
03d8efc249
commit
6e072d1a61
|
@ -127,7 +127,7 @@ void NCursesClient::draw_window(Window& window)
|
||||||
set_attribute(A_BLINK, 0);
|
set_attribute(A_BLINK, 0);
|
||||||
set_attribute(A_BOLD, 0);
|
set_attribute(A_BOLD, 0);
|
||||||
set_color(Color::Blue, Color::Black);
|
set_color(Color::Blue, Color::Black);
|
||||||
while (++line_index < max_y)
|
for (;line_index < max_y; ++line_index)
|
||||||
{
|
{
|
||||||
move(line_index, 0);
|
move(line_index, 0);
|
||||||
clrtoeol();
|
clrtoeol();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user