def __init__(self, cols, rows):
        """Initialize a new Pseudo Terminal of size ``(cols, rows)``."""
        Agent.__init__(self, cols, rows, True)
        self.conin_pipe = windll.kernel32.CreateFileW(
            self.conin_pipe_name, GENERIC_WRITE, 0, None, OPEN_EXISTING, 0,
            None
        )
        self.conout_pipe = windll.kernel32.CreateFileW(
            self.conout_pipe_name, GENERIC_READ, 0, None, OPEN_EXISTING, 0,
            None
        )
def __init__ ( self , cols , rows ) : Agent . __init__ ( self , cols , rows , True ) self . conin_pipe = windll . kernel32 . CreateFileW ( self . conin_pipe_name , GENERIC_WRITE , 0 , None , OPEN_EXISTING , 0 , None ) self . conout_pipe = windll . kernel32 . CreateFileW ( self . conout_pipe_name , GENERIC_READ , 0 , None , OPEN_EXISTING , 0 , None )
Initialize a new Pseudo Terminal of size ``(cols, rows)``.