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
Using Bun as a batch script runner instead of node. It seems like keys are not caught instantly, you need to press enter the first time, which creates a different behavior compared to Node.
henrikvilhelmberglund
changed the title
Windows: Bun raw mode behavior is different from node
Windows: Bun raw mode behavior is different from Node
Apr 2, 2024
What version of Bun is running?
1.1.0+5903a6141
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
Using Bun as a batch script runner instead of node. It seems like keys are not caught instantly, you need to press enter the first time, which creates a different behavior compared to Node.
What is the expected behavior?
Expected: keys are logged instantly.
Node .gif:

What do you see instead?
Actual: keys are written to the screen and not logged instantly, after pressing enter raw mode works correctly.
Bun .gif:

Additional information
No response
The text was updated successfully, but these errors were encountered: