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