R/prompt.R
ends_with_prompt.Rd
Does the output end with a prompt?
ends_with_prompt(session)
A rexpect_session.