pub trait ReadTerminal: Read + Terminal {
    fn is_line_by_line(&self) -> bool;
fn is_input_terminal(&self) -> bool; }
Expand description

An extension trait for input streams connected to terminals.

Required methods

Test whether the input is being sent a line at a time.

Test whether the input is connected to a terminal.

Also known as isatty.

Implementors