code: def replayOne(self, r):
          'Replay the command in one given row.'
          CommandLog.currentReplayRow = r
  
          longname = getattr(r, 'longname', None)
          if longname == 'set-option':
              try:
                  options.set(r.row, r.input, options._opts.getobj(r.col))
                  escaped = False
              except Exception as e:
                  exceptionCaught(e)
                  escaped = True
          else:
              vs = self.moveToReplayContext(r)
  
              vd().keystrokes = r.keystrokes
              # <=v1.2 used keystrokes in longname column; getCommand fetches both
              escaped = vs.exec_command(vs.getCommand(longname if longname else r.keystrokes), keystrokes=r.keystrokes)
  
          CommandLog.currentReplayRow = None
  
          if escaped:  # escape during replay aborts replay
              warning('replay aborted')
          return escapef replayOne(self, r):
          'Replay the command in one given row.'
          CommandLog.currentReplayRow = r
  
          longname = getattr(r, 'longname', None)
          if longname == 'set-option':
              try:
                  options.set(r.row, r.input, options._opts.getobj(r.col))
                  escaped = False
              except Exception as e:
                  exceptionCaught(e)
                  escaped = True
          else:
              vs = self.moveToReplayContext(r)
  
              vd().keystrokes = r.keystrokes
              # <=v1.2 used keystrokes in longname column; getCommand fetches both
              escaped = vs.exec_command(vs.getCommand(longname if longname else r.keystrokes), keystrokes=r.keystrokes)
  
          CommandLog.currentReplayRow = None
  
          if escaped:  # escape during replay aborts replay
              warning('replay aborted')
          return escaped
docs: Replay the command in one given row.