]> _ Git - termbox2.git/commit
in keyboard demo, retry poll on `EINTR`
authorAdam Saponara <as@php.net>
Sat, 18 May 2024 00:02:22 +0000 (20:02 -0400)
committerAdam Saponara <as@php.net>
Sat, 18 May 2024 00:02:22 +0000 (20:02 -0400)
commit4d1c41e799684d02d4ea45f337bdee1a2d207cb6
tree5866c684fcec322227cd52e5900bf7d2e652408c
parent95a95065ec29fdfc6e7c44b9eb3c3dde8f2f9b49
in keyboard demo, retry poll on `EINTR`

SIGWINCH may interrupt the `select` call leading to `TB_ERR_POLL`
with `errno` of EINTR. retry in this case instead of exiting.
demo/keyboard.c