web-serial-rxjs API Documentation
    Preparing search index...

    Interface TerminalBufferOptions

    Options for createTerminalBuffer memory limits. 0 means unlimited.

    interface TerminalBufferOptions {
        maxChars?: number;
        maxLines?: number;
        stripAnsi?: boolean;
    }
    Index
    maxChars?: number

    Maximum total characters in the cumulative display text (completed + currentLine). Oldest content is dropped first.

    1048576
    
    maxLines?: number

    Maximum number of completed lines to retain in the display buffer.

    10000
    
    stripAnsi?: boolean

    When true, strips ANSI escape sequences from incoming chunks before folding carriage-return redraws. Use false to preserve raw escape codes in TerminalBuffer.text$.

    true