https://github.com/nsf/termbox/blob/bbb64e9da7c5590dc7657eb1bece562089656dc1/src/termbox.c#L653-L655 `select` returns -1 on error, which is never checked. This makes the function unresponsive to OS signals (EINTR), among other things.
termbox/src/termbox.c
Lines 653 to 655 in bbb64e9
selectreturns -1 on error, which is never checked. This makes the function unresponsive to OS signals (EINTR), among other things.