(self)
return self._input_buffer.popleft()
Read keypress from console. Non-blocking.
        Returns tuple (unicode, keycode, set of mods)
Read keypress from console. Non-blocking.
        Returns tuple (unicode, keycode, set of mods)
Read keypress from console . Non - blocking . Returns tuple ( unicode keycode set of mods )
def read_key(self):
        """
        Read keypress from console. Non-blocking.
        Returns tuple (unicode, keycode, set of mods)
        """
        self._fill_buffer(blocking=False)
        if not self._input_buffer:
            return (u'', None, {})
        return self._input_buffer.popleft()
def read_key ( self ) : self . _fill_buffer ( blocking = False ) if not self . _input_buffer : return ( u'' , None , { } ) return self . _input_buffer . popleft ( )