getEntireContentAsString

Retrieves the scrollback history and the visible screen as a single multi-line string.