def get_key(self):
        event = self.get_event()
        if event and isinstance(event, KeyboardEvent):
            return event.key_code
        return None
Check for a key without waiting.  This method is deprecated.  Use
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/Screen.get_key