'When the user hits enter, show the progress'

def show_progress_on_request(self):

    while self._w3af.status.is_running():
        user_press_enter = False
        if (sys.platform != 'win32'):
            try:
                (rfds, wfds, efds) = select.select([sys.stdin], [], [], 0.5)
            except select.error:
                continue
            else:
                if rfds:
                    if len(sys.stdin.readline()):
                        user_press_enter = True
        else:
            import msvcrt
            time.sleep(0.3)
            if msvcrt.kbhit():
                if (term.read(1) in ['\n', '\r', '\r\n', '\n\r']):
                    user_press_enter = True
        if user_press_enter:
            status_information_str = self._w3af.status.get_long_status()
            t = table([(status_information_str,)])
            t.draw()
            om.out.console('')
