Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(internal): Use Bun.stdin when using Bun to prevent process hanging #760

Commits on Oct 19, 2024

  1. fix(internal): Use Bun.stdin when using Bun to prevent process hanging

    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 c4spar#759
    annervisser committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    f308648 View commit details
    Browse the repository at this point in the history