@semo/core
    Preparing search index...

    Function replHistory

    • Keep repl history Shared utility for REPL and Shell plugins

      Parameters

      • replServer: {
            addListener: (...args: any[]) => void;
            defineCommand: (...args: any[]) => void;
            displayPrompt: (...args: any[]) => void;
            history?: string[];
            historyIndex?: number;
            output: { write: (...args: any[]) => void };
            [key: string]: any;
        }
      • file: string

      Returns void