(self, message)
Pause and wait for a key.
Pause and wait for a key.
Pause and wait for a key .
def pause(self, message):
        """Pause and wait for a key."""
        self._video_queue.put(signals.Event(signals.VIDEO_SET_CAPTION, (message,)))
        self._video_queue.put(signals.Event(signals.VIDEO_SHOW_CURSOR, (False, False)))
        while True:
            signal = self._input_queue.get()
            if signal.event_type in (signals.KEYB_DOWN, signals.QUIT):
                break
def pause ( self , message ) : self . _video_queue . put ( signals . Event ( signals . VIDEO_SET_CAPTION , ( message , ) ) ) self . _video_queue . put ( signals . Event ( signals . VIDEO_SHOW_CURSOR , ( False , False ) ) ) while True : signal = self . _input_queue . get ( ) if signal . event_type in ( signals . KEYB_DOWN , signals . QUIT ) : break