don't delay window resizing

This commit is contained in:
unK
2008-09-06 13:25:31 +02:00
parent 6ab5a1961f
commit 7e5b023d2a

View File

@@ -695,19 +695,8 @@ int main(int argc, char *argv[])
} }
else if (input == KEY_RESIZE) else if (input == KEY_RESIZE)
{ {
int in;
redraw_me = 1; redraw_me = 1;
while (1)
{
wCurrent->ReadKey(in);
if (in == KEY_RESIZE)
continue;
else
break;
}
if (COLS < 20 || LINES < 5) if (COLS < 20 || LINES < 5)
{ {
endwin(); endwin();