Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use select to query the uv kqueue #5378
This resolves #38. Read the issue for context, but after debugging the problem looks like this:
When a pty is in the uv kqueue, the poll kqueue does not properly clear the event after receiving it. The obvious fix would be to add
The code is simply waiting for data to be available for reading on the uv kqueue file descriptor, which
I've verified that events still get processed like they should on El Capitan 10.11.3 (15D21).