copyCommandOutputRange

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.