winconsole::console
pub fn get_selection_info() -> WinResult<SelectionInfo>
Returns a SelectionInfo object containing information about console selection.
SelectionInfo
let selection = console::get_selection_info().unwrap(); println!("{:?}", selection);
IoError