Everything seems to run just fine, but that blocking function never returns.
Switching it to polling still never actually gives back a value.
Testing effectively the same code with crossterm (i.e. not in a NIF) works without issue. So I have to imagine it's some flag or setting in the Erlang VM that's not playing nicely here.
Everything seems to run just fine, but that blocking function never returns.
Switching it to polling still never actually gives back a value.
Testing effectively the same code with
crossterm(i.e. not in a NIF) works without issue. So I have to imagine it's some flag or setting in the Erlang VM that's not playing nicely here.