

def getch():
    fd = sys.stdin.fileno()
    old_settings = termios.tcgetattr(fd)
    gotch = None
    try:
        tty.setraw(fd)
        gotch = sys.stdin.read(1)
    finally:
        termios.tcsetattr(fd, termios.TCSADRAIN, fd)
    return gotch

dataset/ETHPy150Open inglesp/prescons/build/lib/prescons/prescons.py getch/VarMisuse@69/86 `old_settings`->`fd`