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§
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.