OptionalmaxMaximum total characters in the cumulative display text
(completed + currentLine). Oldest content is dropped first.
0 means unlimited. Must be a safe integer >= 0 when validated.
OptionalmaxMaximum number of completed lines to retain in the display buffer.
0 means unlimited. Must be a safe integer >= 0 when validated.
OptionalstripWhen true, strips ANSI escape sequences from incoming chunks before
folding carriage-return redraws. Use false to preserve raw escape
codes in TerminalBuffer.text$.
Options for createTerminalBuffer memory limits.
Character counts use UTF-16 string length (JavaScript
.length). Pass0formaxLinesormaxCharsto disable that limit (unlimited).