ReadLineOptions

sealed external interface ReadLineOptions(source)

Properties

Link copied to clipboard
abstract var completer: Any?
Link copied to clipboard
abstract var crlfDelay: Double?
Link copied to clipboard
abstract var escapeCodeTimeout: Double?
Link copied to clipboard
abstract var history: ReadonlyArray<String>?

Initial 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.

Link copied to clipboard
abstract var historySize: Double?
Link copied to clipboard
abstract var input: ReadableStream
Link copied to clipboard
abstract var output: WritableStream?
Link copied to clipboard
abstract var prompt: String?
Link copied to clipboard

If true, when a new input line added to the history list duplicates an older one, this removes the older line from the list.

Link copied to clipboard
abstract var tabSize: Double?
Link copied to clipboard
abstract var terminal: Boolean?