code: def _interactive_resolve(self, pair):
          
          if self.resolve_all:
              if self.verbose >= 5:
                  self._print_pair_diff(pair)
              return self.resolve_all
  
          resolve = self.options.get("resolve", "skip")
          assert resolve in ("remote", "ask", "skip")
  
          if resolve == "ask" or self.verbose >= 5:
              self._print_pair_diff(pair)
  
          if resolve in ("remote", "skip"):
              # self.resolve_all = resolve
              return resolve
  
          # RED = ansi_code("Fore.LIGHTRED_EX")
          M = ansi_code("Style.BRIGHT") + ansi_code("Style.UNDERLINE")
          R = ansi_code("Style.RESET_ALL")
  
          # self._print_pair_diff(pair)
  
          self._inc_stat("interactive_ask")
  
          while True:
              prompt = (
                  "Use "
                  + M
                  + "R"
                  + R
                  + "emote, "
                  + M
                  + "S"
                  + R
                  + "kip, "
                  + M
                  + "B"
                  + R
                  + "inary compare, "
                  + M
                  + "H"
                  + R
                  + "elp? "
              )
  
              r = compat.console_input(prompt).strip()
              if r in ("h", "H", "?"):
                  print("The following keys are supported:")
                  print("  'b': Binary compare")
                  print("  'r': Download remote file")
                  print("  's': Skip this file (leave both targets unchanged)")
                  print(
                      "Hold Shift (upper case letters) to apply choice for all "
                      "remaining conflicts."
                  )
                  print("Hit Ctrl+C to abort.")
                  continue
              elif r in ("B", "b"):
                  self._compare_file(pair.local, pair.remote)
                  continue
              elif r in ("R", "S"):
                  r = self._resolve_shortcuts[r.lower()]
                  self.resolve_all = r
                  break
              elif r in ("r", "s"):
                  r = self._resolve_shortcuts[r]
                  break
  
          return r
docs: Return 'local', 'remote', or 'skip' to use local, remote resource or skip.