ReadLineOptions

@native @JSType trait ReadLineOptions extends StObject
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var crlfDelay: UndefOr[Double]
var escapeCodeTimeout: UndefOr[Double]
var history: UndefOr[Array[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.

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.

var historySize: UndefOr[Double]
var output: UndefOr[WritableStream]
var prompt: UndefOr[String]
var removeHistoryDuplicates: UndefOr[Boolean]

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

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

var tabSize: UndefOr[Double]
var terminal: UndefOr[Boolean]