Trait termion::raw::IntoRawMode [] [src]

pub trait IntoRawMode: Write + Sized {
    fn into_raw_mode(self) -> Result<RawTerminal<Self>>;
}

Types which can be converted into "raw mode".

Required Methods

fn into_raw_mode(self) -> Result<RawTerminal<Self>>

Switch to raw mode.

Raw mode means that stdin won't be printed (it will instead have to be written manually by the program). Furthermore, the input isn't canonicalised or buffered (that is, you can read from stdin one byte of a time). The output is neither modified in any way.

Implementors