input-terminal
    Preparing search index...

    Type Alias CompletionProvider

    CompletionProvider: (
        context: { input: string; cursor: number; terminal: Terminal },
    ) => string[] | undefined

    Supplies autocomplete predictions for the terminal's full user input. Return complete input replacements, undefined to use command-name completion, or an empty array when there are no matches.

    Type Declaration

      • (
            context: { input: string; cursor: number; terminal: Terminal },
        ): string[] | undefined
      • Parameters

        • context: { input: string; cursor: number; terminal: Terminal }

        Returns string[] | undefined