reedline
reedline copied to clipboard
Redirected stdin is ignored
It seems reedline is unable to read lines redirected from the stantard input.
Example:
$ echo "hello" | cargo run -q --example basic
/mnt/renato/git/rust/reedline〉
There you can see the redirected stdin was ignored.
Using rustyline, for example, that doesn't happen:
$ echo "hello" | cargo run -q --example minimal
Line: hello
Error: Eof