reading console line twice hangs bun (windows only bug) #12321
Labels
bug
Something isn't working
confirmed bug
We can reproduce this issue
console
Related to console apis
windows
An issue that is known to occur on Windows
What version of Bun is running?
1.1.17
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
Running the following code code:
What is the expected behavior?
After awaiting an input from the user twice, 'hello world' should be printed within the console.
What do you see instead?
The program immediately terminates with no error messages after awaiting an input once*.
Additional information
This does not occur on linux, it seems to be windows only.
The text was updated successfully, but these errors were encountered: