Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(internal): Use Bun.stdin when using Bun to prevent process hanging (
#760) 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. Fixes #759
- Loading branch information