Skip to content

Commit

Permalink
[select] Start redrawing terminal also without libevent. Refs rkd77#201
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Dec 26, 2022
1 parent d7dacd2 commit 201e6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -537,7 +538,6 @@ select_loop(void (*init)(void))
}
} else
#endif

while (!program.terminate) {
struct timeval *timeout = NULL;
int n, i, has_timer;
Expand Down

0 comments on commit 201e6c0

Please sign in to comment.