PyConsoleScreenBuffer.GetLargestConsoleWindowSize

PyCOORD = GetLargestConsoleWindowSize()

Returns the largest possible size for the console's window