Returns contents of a terminal buffer.
Arguments
- id
The terminal id. The
idis obtained fromterminalList(),terminalVisible(),terminalCreate(), orterminalExecute().- stripAnsi
If FALSE, don't strip out Ansi escape sequences before returning terminal buffer.