mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
[select] Start redrawing terminal also without libevent. Refs #201
This commit is contained in:
parent
d7dacd2dbc
commit
201e6c055a
@ -522,9 +522,10 @@ select_loop(void (*init)(void))
|
|||||||
if (!event_enabled) {
|
if (!event_enabled) {
|
||||||
restrict_fds();
|
restrict_fds();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
periodic_redraw_all_terminals(NULL);
|
periodic_redraw_all_terminals(NULL);
|
||||||
|
#ifdef USE_LIBEVENT
|
||||||
if (event_enabled) {
|
if (event_enabled) {
|
||||||
while (!program.terminate) {
|
while (!program.terminate) {
|
||||||
check_signals();
|
check_signals();
|
||||||
@ -537,7 +538,6 @@ select_loop(void (*init)(void))
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while (!program.terminate) {
|
while (!program.terminate) {
|
||||||
struct timeval *timeout = NULL;
|
struct timeval *timeout = NULL;
|
||||||
int n, i, has_timer;
|
int n, i, has_timer;
|
||||||
|
Loading…
Reference in New Issue
Block a user