[−][src]Function winconsole::console::get_input_mode
pub fn get_input_mode() -> WinResult<InputSettings>
Returns settings related to console input.
Examples
let mode = console::get_input_mode().unwrap(); println!("{}", mode);
Errors
InvalidHandleError
: Returned if an invalid handle to the console input is retrieved or used.IoError
: Returned if an OS error occurs.