aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index e454e103..dd16d277 100644
--- a/main.c
+++ b/main.c
@@ -495,7 +495,7 @@ main(int argc, char *const *argv)
break;
}
- if (ret == 0 || !(timeout_ms != -1 && fds[1].revents & POLLIN)) {
+ if (ret == 0 || (timeout_ms != -1 && !(fds[1].revents & POLLIN))) {
/* Delayed rendering */
if (term.frame_callback == NULL)
grid_render(&term);