mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
[select] period_redraw_all_terminals also for non-libevent
This commit is contained in:
parent
af7bed47e6
commit
d08bd08171
@ -523,8 +523,9 @@ select_loop(void (*init)(void))
|
|||||||
restrict_fds();
|
restrict_fds();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
periodic_redraw_all_terminals(NULL);
|
||||||
|
|
||||||
if (event_enabled) {
|
if (event_enabled) {
|
||||||
periodic_redraw_all_terminals(NULL);
|
|
||||||
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));
|
||||||
|
Loading…
Reference in New Issue
Block a user