You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that on mac you can't block in read and call close at the same time. The close call gets blocked. Probably I shouldn't close /dev/tty stuff at all?
The text was updated successfully, but these errors were encountered:
+1 for not closing /dev/tty at all. Ideally it would be nice if PollEvent returned when Close() is invoked, but I don't really see how to make that happen cleanly.
It seems that on mac you can't block in read and call close at the same time. The close call gets blocked. Probably I shouldn't close /dev/tty stuff at all?
The text was updated successfully, but these errors were encountered: