code: def get_next_character(self):
          
  
          cursor = self.textCursor()
          cursor.movePosition(QTextCursor.NextCharacter, QTextCursor.KeepAnchor)
          return cursor.selectedText()
docs: Returns the character after the cursor.
  
          :return: Next cursor character.
          :rtype: QString