code: def process_user_input(self):
          
          user_input = self.get_input()
  
          try:
              num = int(user_input)
          except Exception:
              return
          if 0 < num < len(self.items) + 1:
              self.current_option = num - 1
              self.select()
  
          return user_input
docs: Gets the next single character and decides what to do with it