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
`IO.console.cursor` errors on kqueue-based systems when used with the
fiber scheduler.
```ruby
require 'async'
Async { IO.console(:cursor) }.wait
```
This works on Linux but raises `Errno::EINVAL: Invalid argument` with
`IO_Event_Selector_KQueue_Waiting_register` on macOS.
I don't know if it's an acceptable fix, but this patch just dups file
descriptors for stdin/stdout/stderr if detected alongside kqueue.
0 commit comments