[][src]Trait terminal_io::DuplexTerminal

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

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

Provided methods

fn is_terminal(&self) -> bool[src]

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

Also known as isatty.

Loading content...

Implementors

impl<Inner: Duplex + HalfDuplex> DuplexTerminal for NeverTerminalDuplexer<Inner>[src]

impl<Inner: Duplex + HalfDuplex> DuplexTerminal for TerminalDuplexer<Inner>[src]

Loading content...