

def wait_for_user_input(self):
    if self.skip_wait:
        return
    while True:
        gotch = getch()
        if (gotch == ' '):
            break
        elif (ord(gotch) == 3):
            raise KeyboardInterrupt
        elif (ord(gotch) in (4, 26)):
            print('')
            raise SystemExit

dataset/ETHPy150Open inglesp/prescons/build/lib/prescons/prescons.py PseudoInteractiveConsole.wait_for_user_input/original