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§
sourcefn tty_get(&self) -> WasiTtyState
fn tty_get(&self) -> WasiTtyState
Retrieve the current TTY state.
sourcefn tty_set(&self, _tty_state: WasiTtyState)
fn tty_set(&self, _tty_state: WasiTtyState)
Set the TTY state.