[][src]Function winconsole::console::set_input_mode

pub fn set_input_mode(settings: InputSettings) -> WinResult<()>

Sets settings related to console input.

Arguments

Examples

let mut mode = console::get_input_mode().unwrap();
mode.InsertMode = true;
console::set_input_mode(mode).unwrap();

Errors