macOS doesn't like polling /dev/tty
Solution for macOS not supporting kqueue or poll for the /dev/tty file and using select instead
Hasnain says:
“Coincidentally, there was an issue created just today on the Zig repository to add a select(2) wrapper to the standard library motivated by the /dev/tty limitation on macOS. It links to this wonderful blog post which I would have loved to find sooner.”
Posted on 2024-09-08T18:53:17+0000