def _on_flush_pending_stream_timer(self):
        """ Flush the pending stream output and change the
        prompt position appropriately.
        """
        cursor = self._control.textCursor()
        cursor.movePosition(QtGui.QTextCursor.End)
        self._flush_pending_stream()
        cursor.movePosition(QtGui.QTextCursor.End)
 Flush the pending stream output and change the
        prompt position appropriately.
        
angrmanagement/vendor/qtconsole/console_widget.py