Interface TerminalCompletionContext

interface TerminalCompletionContext {
    commandLine: string;
    cursorPosition: number;
}

Properties

commandLine: string

The complete terminal command line.

cursorPosition: number

The index of the cursor in the command line.