For example echo foo | ./target/debug/liner_test gives:
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 25, kind: Other, message: "Inappropriate ioctl for device" }', libcore/result.rs:916:5
The problematic unwrap is at src/context.rs:95, which calls let stdout = stdout().into_raw_mode().unwrap();
For example
echo foo | ./target/debug/liner_test
gives:The problematic unwrap is at src/context.rs:95, which calls
let stdout = stdout().into_raw_mode().unwrap();
This issue also causes redox-os/ion to panic with a redirected stdin. See also: https://github.com/ticki/termion/issues/39