def _resizeTerminal(self):
        s = struct.pack('HHHH', 0, 0, 0, 0)
        result = fcntl.ioctl(sys.stdin.fileno(), termios.TIOCGWINSZ, s)
        rows, cols = struct.unpack('HHHH', result)[0:2]
        s = struct.pack('HHHH', rows, cols, 0, 0)
        fcntl.ioctl(self.ptyFd, termios.TIOCSWINSZ, s)
Remove component, and recursively remove its children. If node has a
dataset/ETHPy150Open sassoftware/conary/conary/lib/logger.py/_ChildLogger._resizeTerminal--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/website/project/views/node.py/component_remove