Theia API Documentation v1.70.0
    Preparing search index...

    State of command history in terminal.

    interface TerminalCommandHistoryState {
        commandHistory: TerminalBlock[];
        currentCommand: string;
        onTerminalCommandStart: Event<void>;
        onTerminalPromptShown: Event<void>;
        clearCommandCollectionState(): void;
        dispose(): void;
        finishCommand(block: TerminalBlock): void;
        startCommand(command: string): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    commandHistory: TerminalBlock[]

    Array of executed commands and their output in the terminal.

    currentCommand: string

    The hex-decoded command currently being executed, or empty string if idle.

    onTerminalCommandStart: Event<void>

    Event which fires when terminal command starts executing.

    onTerminalPromptShown: Event<void>

    Event which fires when terminal prompt is shown.

    Methods

    • Dispose this object.

      Returns void