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

    Interface TerminalModeState

    Stable terminal mode state queried directly from Ghostty.

    interface TerminalModeState {
        applicationCursorKeysMode: boolean;
        applicationKeypadMode: boolean;
        bracketedPasteMode: boolean;
        insertMode: boolean;
        mouseTrackingMode: "none" | "x10" | "vt200" | "drag" | "any";
        originMode: boolean;
        reverseWraparoundMode: boolean;
        sendFocusMode: boolean;
        synchronizedOutputMode: boolean;
        wraparoundMode: boolean;
    }
    Index
    applicationCursorKeysMode: boolean

    Whether cursor keys emit application-mode sequences.

    applicationKeypadMode: boolean

    Whether the numeric keypad emits application-mode sequences.

    bracketedPasteMode: boolean

    Whether pasted input must be wrapped in bracketed-paste delimiters.

    insertMode: boolean

    Whether newly written cells insert instead of replacing existing cells.

    mouseTrackingMode: "none" | "x10" | "vt200" | "drag" | "any"

    Active mouse-reporting protocol.

    originMode: boolean

    Whether cursor addressing is relative to the scrolling region.

    reverseWraparoundMode: boolean

    Whether reverse wrapping at the left margin is enabled.

    sendFocusMode: boolean

    Whether focus changes are reported to the terminal application.

    synchronizedOutputMode: boolean

    Whether synchronized-output mode is active.

    wraparoundMode: boolean

    Whether output wraps at the right margin.