pub trait DuplexTerminal: ReadTerminal + WriteTerminal + Duplex {
    fn is_terminal(&self) -> bool { ... }
}
Expand description

An extension trait for input/output streams connected to terminals.

Provided methods

Test whether both the input stream and output streams are connected to terminals.

Also known as isatty.

Implementors