win32console.GetConsoleSelectionInfo
dict = GetConsoleSelectionInfo()
Returns info on text selection within the current console
Return Value
Returns a dictionary containing {Flags:int, SelectionAnchor: PyCOORD, Selection:PySMALL_RECT} Flags will contain a combination of CONSOLE_NO_SELECTION,CONSOLE_SELECTION_IN_PROGRESS,CONSOLE_SELECTION_NOT_EMPTY,CONSOLE_MOUSE_SELECTION,CONSOLE_MOUSE_DOWN