window: always refresh before reading a key

This commit is contained in:
Andrzej Rybczak
2014-09-12 08:28:35 +02:00
parent ac96ec45a4
commit f28f5ec0ba

View File

@@ -63,8 +63,8 @@ int read_key(FILE *)
return 0; return 0;
} }
w->goToXY(x, start_y); w->goToXY(x, start_y);
w->refresh();
} }
w->refresh();
result = w->readKey(); result = w->readKey();
if (!w->FDCallbacksListEmpty()) if (!w->FDCallbacksListEmpty())
{ {