code: def feed(self, key_press):
          
          assert isinstance(key_press, KeyPress)
          self.input_queue.append(key_press)
docs: Add a new :class:`KeyPress` to the input queue.
          (Don't forget to call `process_keys` in order to process the queue.)