aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-05 18:30:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-05 18:30:06 +0000
commitae84f0ee002e5546ea36e0326bcbc7083445a940 (patch)
treea88101961c55d88463b8ed6f55526d35257e18a1 /render.c
parentterm: cancel selection when scrolling wraps (diff)
main: make all polled FDs non-blocking
And handle read() returning EAGAIN. This fixes an issue with the keyboard repeat timer, which sometimes would return EAGAIN. Most likely because POLLIN was set on it, but then before we get to handle it, the timer was canceled (by a key up event).
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions