def _get_prompt_cursor(self):
        """ Get a cursor at the prompt position of the current cell.
        """
        cursor = self._control.textCursor()
        cursor.setPosition(self._prompt_pos)
        return cursor
 Get a cursor at the prompt position of the current cell.
        
angrmanagement/vendor/qtconsole/console_widget.py