[][src]Function winconsole::input::flush

pub fn flush() -> WinResult<()>

Flushes the console input buffer.

Examples

input::flush().unwrap();

Errors