@std/io
: readAllSync
only reads a single line from Deno.stdin
when stdin is interactive
#6346
Labels
@std/io
: readAllSync
only reads a single line from Deno.stdin
when stdin is interactive
#6346
https://jsr.io/@std/io/doc/~/readAllSync
Steps to Reproduce
Expected behavior
When running the above script in a shell session, I'd expect to be able to do the following (typing 3 lines then pressing Ctrl-D (i.e. EOF) to finish):
That is how all the other languages I've tried work.
Describe the bug
But
readAllSync
returns after I type the first line.Environment
The text was updated successfully, but these errors were encountered: