Returns contents of a terminal buffer.
terminalBuffer(id, stripAnsi = TRUE)
The terminal id. The id
is obtained from
terminalList()
, terminalVisible()
,
terminalCreate()
, or terminalExecute()
.
If FALSE, don't strip out Ansi escape sequences before returning terminal buffer.
The terminal contents, one line per row.
The terminalBuffer
function was added in version 1.1.350 of
RStudio.