Struct crossterm::TerminalOutput[][src]

pub struct TerminalOutput {
    pub is_in_raw_mode: bool,
    // some fields omitted
}

Struct that is an handle to an terminal screen. This handle could be used to write to the current screen

For unix and windows 10 stdout() will be used for handle when on windows systems with versions lower than 10 WinApi HANDLE will be used.

Fields

Methods

impl TerminalOutput
[src]

Create new screen write instance whereon screen related actions can be performed.

Write String to the current screen.

Flush the current screen.

Write &str to the current screen.

Write buffer to the screen

Trait Implementations

impl From<TerminalOutput> for Screen
[src]

Create an screen with the given Stdout

impl Default for TerminalOutput
[src]

Get the default handle to the current screen.

Auto Trait Implementations