flush_input

Function flush_input 

Source
pub fn flush_input() -> Result<(), Box<dyn Error>>
Expand description

Flushes the input event queue, ignoring any stray Enter key events.