@eagleoutice/flowr - v2.10.9
    Preparing search index...

    Defines the main interface for output of the repl. This allows us to redirect it (e.g., in the case of a server connection or tests).

    The formatter allows to dynamically change the use of ansi escape sequences (see OutputFormatter)

    standardReplOutput

    interface ReplOutput {
        allowClipboard?: boolean;
        formatter: OutputFormatter;
        stderr(msg: string): void;
        stdout(msg: string): void;
    }
    Index

    Properties

    allowClipboard?: boolean

    When false, REPL commands must skip clipboard operations and must not emit "Copied to clipboard" messages. Defaults to true (clipboard allowed). Set to false in non-interactive contexts such as wiki generation or tests.

    formatter: OutputFormatter

    Methods