PyConsoleScreenBuffer.GetConsoleMode

int = GetConsoleMode()

Returns the input or output mode of the console buffer

Return Value

Returns a combination of ENABLE_*_INPUT or ENABLE_*_OUTPUT constants