def wait_for_user_input(self):
        if self.skip_wait:
            return
        while True:
            gotch = getch()
            if gotch == ' ':
                break
            elif ord(gotch) == 3:
                # Ctrl-C
                raise KeyboardInterrupt
            elif ord(gotch) in (4, 26):
                # Ctrl-D or Ctrl-Z
                print('')
                raise SystemExit
dataset/ETHPy150Open inglesp/prescons/build/lib/prescons/prescons.py/PseudoInteractiveConsole.wait_for_user_input/original