Trait terminal_io::ReadTerminal [−][src]
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
fn is_line_by_line(&self) -> bool
fn is_line_by_line(&self) -> bool
Test whether the input is being sent a line at a time.
fn is_input_terminal(&self) -> bool
fn is_input_terminal(&self) -> bool
Test whether the input is connected to a terminal.
Also known as isatty
.