interface ReadLineOptions
input: ReadableStreamoptional
output: WritableStream | undefinedoptional
completer: optional
terminal: boolean | undefinedoptional
history: string[] | undefinedInitial list of history lines. This option makes sense
only if terminal is set to true by the user or by an internal output
check, otherwise the history caching mechanism is not initialized at all.
optional
historySize: number | undefinedoptional
prompt: string | undefinedoptional
crlfDelay: number | undefinedoptional
removeHistoryDuplicates: boolean | undefinedIf true, when a new input line added
to the history list duplicates an older one, this removes the older line
from the list.
optional
escapeCodeTimeout: number | undefinedoptional
tabSize: number | undefined