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
Bun's node:process stdin implementation has multiple issues related to
raw mode, resuming, and ending it too early.
To work around this, this adds a custom branch for the read function
when running under Bun. It uses Bun's own stdin implementation to read
one chunk and then dispose the reader.
Fixesc4spar#759
This seems to be caused by the node implementation of
@cliffy/internal/runtime/read
never resolving when ran with Bun.I don't know if you intend to support Bun. If not, feel free to close this.
Reproduction:
Expected behaviour
After pressing a key,
You pressed: <key>
is printed. The command exitsThis works when running
deno run repro.mjs
ornode run repro.mjs
Actual behaviour
The program never exit, cannot even be cancelled with ctrl+c or ctrl+d
The text was updated successfully, but these errors were encountered: