pub trait ReadEvent {
// Required method
fn read_event(&mut self) -> Result<InputEvent>;
}Required Methods§
Sourcefn read_event(&mut self) -> Result<InputEvent>
fn read_event(&mut self) -> Result<InputEvent>
Read a terminal event (blocking)