comint-last-prompt
comint-last-prompt is a variable defined in `comint.el
'.
Its value is nilDocumentation: Markers pointing to the last prompt. If non-nil, a cons cell containing markers. The car points to the start, the cdr to the end of the last prompt recognized.