ReplOptions interface
Home > streplts > ReplOptions
ReplOptions interface
Section titled “ReplOptions interface”Configuration options required to instantiate a interactive terminal REPL runtime environment instance.
Signature:
export interface ReplOptionsProperties
Section titled “Properties”|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Record<string, any> |
(Optional) Mutational contextual execution state records shared and readable by commands. | ||
|
boolean |
(Optional) Flag indicating whether to apply a byte sequence flip for backspace and ctrl+backspace inputs, addressing inconsistencies in certain terminal environments. Defaults to | ||
|
Record<string, any> |
(Optional) Utilities, environmental bridges, and third-party dependency modules accessible inside tasks. | ||
|
string |
(Optional) File path string specifying where to persist command history logs across sessions. If undefined, command history will not be saved between sessions. | ||
|
boolean | (() => string) |
(Optional) Boolean toggle or dynamic evaluation function determining whether to render a status bar dock below the prompt. | ||
|
Readable & { isTTY?: boolean; setRawMode?: (mode: boolean) => void; } |
(Optional) Input listener streaming interface emitting character buffers. Defaults to | ||
|
Writable & { columns?: number; } |
(Optional) Output writing channel receiving ANSI text payloads. Defaults to |