[][src]Function winconsole::console::flush_input

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

Flushes the console input buffer.

Examples

console::flush_input().unwrap();

Errors