[][src]Function ncursesw::flushinp

pub fn flushinp() -> Result<(), NCurseswError>

Flush all input buffers. This throws away any typeahead that has been typed by the user and has not yet been processed by the program.