Trait wasmer_wasix::os::tty::TtyBridge

source ·
pub trait TtyBridge: Debug {
    // Required methods
    fn reset(&self);
    fn tty_get(&self) -> WasiTtyState;
    fn tty_set(&self, _tty_state: WasiTtyState);
}
Expand description

Provides access to a TTY.

Required Methods§

source

fn reset(&self)

Resets the values

source

fn tty_get(&self) -> WasiTtyState

Retrieve the current TTY state.

source

fn tty_set(&self, _tty_state: WasiTtyState)

Set the TTY state.

Implementors§