1
0
Fork 0

[select] period_redraw_all_terminals also for non-libevent

This commit is contained in:
Witold Filipczyk 2022-12-16 22:19:16 +01:00
parent af7bed47e6
commit d08bd08171
1 changed files with 2 additions and 2 deletions

View File

@ -523,8 +523,9 @@ select_loop(void (*init)(void))
restrict_fds();
}
#endif
periodic_redraw_all_terminals(NULL);
if (event_enabled) {
periodic_redraw_all_terminals(NULL);
while (!program.terminate) {
check_signals();
if (1 /*(!F)*/) {
@ -544,7 +545,6 @@ select_loop(void (*init)(void))
check_signals();
check_timers(&last_time);
redraw_all_terminals();
memcpy(&x_read, &w_read, sizeof(fd_set));
memcpy(&x_write, &w_write, sizeof(fd_set));