blessed-components - v1.20.0
    Preparing search index...

    Interface DiffViewLine

    Structured row accepted by DiffView.

    interface DiffViewLine {
        content: string;
        newLine?: number;
        oldLine?: number;
        type: DiffViewLineType;
    }
    Index

    Properties

    content: string

    Source text for this row. ANSI sequences and Blessed tags are stripped.

    newLine?: number

    New-file line number, omitted for removed lines and hunk headers.

    oldLine?: number

    Old-file line number, omitted for added lines and hunk headers.

    Row kind.