def get_buffer_info(self):

        buf_info = CONSOLE_SCREEN_BUFFER_INFO()
        ctypes.windll.kernel32.GetConsoleScreenBufferInfo(self.stdout, ctypes.byref(buf_info))

        return buf_info
Retrieve commonly-used buffer information.
dataset/ETHPy150Open wkentaro/conque.vim/autoload/conque_term/conque_sole_subprocess.py/ConqueSoleSubprocess.get_buffer_info