def set_pty_size(fd, size):

    rows, cols = size
    fcntl.ioctl(
        fd,
        termios.TIOCSWINSZ,
        struct.pack('hhhh', rows, cols, 0, 0)
    )
Finds the score and time after each correct submission of a team or user.
dataset/ETHPy150Open d11wtq/dockerpty/tests/util.py/set_pty_size--crossover with--dataset/ETHPy150Open IceCTF/ctf-platform/api/api/stats.py/get_score_progression