commandRecordIdAtLine

Returns the retained command record that owns lineId.

Ownership uses the same prompt and command range rules as viewport projection. Prompt-only records are not considered commands and return TerminalShellIntegrationCommandRecord.NONE.

Return

owning command record id, or 0 when no command owns the line.

Parameters

lineId

stable render line identity to query.