gespenst API - v0.1.0
    Preparing search index...

    Interface IMarker

    Represents a specific line in the terminal that is tracked when scrollback is trimmed and lines are added or removed. This is a single line that may be part of a larger wrapped line.

    interface IMarker {
        id: number;
        isDisposed: boolean;
        line: number;
        onDispose: IEvent<void>;
        dispose(): void;
    }

    Hierarchy (View Summary)

    Index
    id: number

    A unique identifier for this marker.

    isDisposed: boolean

    Whether this is disposed.

    line: number

    The actual line index in the buffer at this point in time. This is set to -1 if the marker has been disposed.

    onDispose: IEvent<void>

    Event listener to get notified when this gets disposed.

    • Returns void