1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00

[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

View File

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