[][src]Function winconsole::console::clear

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

Clears the console.

Examples

println!("Hello, wolrd!");
println!("Wait, that's not right..");
console::clear().unwrap();
println!("Hello, world!");

Errors