reedline icon indicating copy to clipboard operation
reedline copied to clipboard

Redirected stdin is ignored

Open rwestphal opened this issue 3 years ago • 0 comments

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

rwestphal avatar Nov 05 '22 20:11 rwestphal