wasmer_wasix::os::tty

Trait TtyBridge

Source
pub trait TtyBridge {
    // 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§