interface ReadLineOptions
Properties Jump to heading
Jump to headinginput: ReadableStreamoptional
Jump to headingoutput: WritableStream | undefinedoptional
Jump to headingcompleter: optional
Jump to headingterminal: boolean | undefinedoptional
Jump to headinghistory: 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
Jump to headinghistorySize: number | undefinedoptional
Jump to headingprompt: string | undefinedoptional
Jump to headingcrlfDelay: number | undefinedoptional
Jump to headingremoveHistoryDuplicates: 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
Jump to headingescapeCodeTimeout: number | undefinedoptional
Jump to headingtabSize: number | undefined