1
0
Fork 0

[select] Start redrawing terminal also without libevent. Refs #201

This commit is contained in:
Witold Filipczyk 2022-12-26 19:02:36 +01:00
parent d7dacd2dbc
commit 201e6c055a
1 changed files with 2 additions and 2 deletions

View File

@ -522,9 +522,10 @@ select_loop(void (*init)(void))
if (!event_enabled) {
restrict_fds();
}
#endif
#endif
periodic_redraw_all_terminals(NULL);
#ifdef USE_LIBEVENT
if (event_enabled) {
while (!program.terminate) {
check_signals();
@ -537,7 +538,6 @@ select_loop(void (*init)(void))
}
} else
#endif
while (!program.terminate) {
struct timeval *timeout = NULL;
int n, i, has_timer;