docs: def on_feed_key(self, key_press):
          """Handles the magictyping when a key is pressed"""
          if key_press.key in {Keys.Escape, Keys.ControlC}:
              echo(carriage_return=True)
              raise Abort()
          if key_press.key == Keys.Backspace:
              if self.current_command_pos > 0:
                  self.current_command_pos -= 1
              return key_press
          ret = None
          if key_press.key != Keys.CPRResponse:
              if self.current_command_pos < len(self.current_command):
                  current_key = self.current_command_key
                  ret = KeyPress(current_key)
                  increment = min(
                      [self.speed, len(self.current_command) - self.current_command_pos]
                  )
                  self.current_command_pos += increment
              else:
                  # Command is finished, wait for Enter
                  if key_press.key != Keys.Enter:
                      return None
                  self.current_command_index += 1
                  self.current_command_pos = 0
                  ret = key_press
          return ret