copyCommandOutputRange
abstract fun copyCommandOutputRange(recordId: Int, destination: LongArray, destinationOffset: Int = 0): Boolean
Copies the command-output line range for recordId.
The destination layout is defined by TerminalShellIntegrationCommandOutputRange. Unfinished commands, prompt-only records, unknown records, and records with no selectable output return false and leave the destination unchanged.
Return
true when a complete output range was copied.
Parameters
recordId
retained command record id.
destination
destination Long columns.
destinationOffset
first destination slot.
Throws
if the destination slice is invalid, before writing any slots, even when the record has no selectable output.