object readlineMod
- Source
- readlineMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- readlineMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type AsyncCompleter = Function2[java.lang.String, Function2[UndefOr[|[Null, Error]], UndefOr[CompleterResult], Unit], Unit]
- type Completer = Function1[java.lang.String, CompleterResult]
- type CompleterResult = Tuple2[Array[java.lang.String], java.lang.String]
- trait CursorPos extends Object with StObject
- Annotations
- @JSType() @native()
- trait Direction extends Object with StObject
- Annotations
- @JSType()
- class Interface extends Object with StObject
- Annotations
- @JSType() @JSImport("readline", "Interface") @native()
- trait Key extends Object with StObject
- Annotations
- @JSType() @native()
- type ReadLine = Interface
- trait ReadLineOptions extends Object with StObject
- Annotations
- @JSType() @native()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ^: Any
- Annotations
- @JSImport("readline", JSImport.Namespace) @native()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearLine(stream: WritableStream, dir: Direction, callback: Function0[Unit]): Boolean
- Annotations
- @inline()
- def clearLine(stream: WritableStream, dir: Direction): Boolean
Clears the current line of this WriteStream in a direction identified by
dir.Clears the current line of this WriteStream in a direction identified by
dir.- Annotations
- @inline()
- def clearScreenDown(stream: WritableStream, callback: Function0[Unit]): Boolean
- Annotations
- @inline()
- def clearScreenDown(stream: WritableStream): Boolean
Clears this
WriteStreamfrom the current cursor down.Clears this
WriteStreamfrom the current cursor down.- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def createInterface(options: ReadLineOptions): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: Unit, completer: Unit, terminal: Boolean): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: Unit, completer: Completer, terminal: Boolean): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: Unit, completer: Completer): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: Unit, completer: AsyncCompleter, terminal: Boolean): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: Unit, completer: AsyncCompleter): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: WritableStream, completer: Unit, terminal: Boolean): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: WritableStream, completer: Completer, terminal: Boolean): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: WritableStream, completer: Completer): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: WritableStream, completer: AsyncCompleter, terminal: Boolean): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: WritableStream, completer: AsyncCompleter): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream, output: WritableStream): Interface
- Annotations
- @inline()
- def createInterface(input: ReadableStream): Interface
- Annotations
- @inline()
- def cursorTo(stream: WritableStream, x: Double, y: Unit, callback: Function0[Unit]): Boolean
- Annotations
- @inline()
- def cursorTo(stream: WritableStream, x: Double, y: Double, callback: Function0[Unit]): Boolean
- Annotations
- @inline()
- def cursorTo(stream: WritableStream, x: Double, y: Double): Boolean
- Annotations
- @inline()
- def cursorTo(stream: WritableStream, x: Double): Boolean
Moves this WriteStream's cursor to the specified position.
Moves this WriteStream's cursor to the specified position.
- Annotations
- @inline()
- def emitKeypressEvents(stream: ReadableStream, readlineInterface: Interface): Unit
- Annotations
- @inline()
- def emitKeypressEvents(stream: ReadableStream): Unit
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def moveCursor(stream: WritableStream, dx: Double, dy: Double, callback: Function0[Unit]): Boolean
- Annotations
- @inline()
- def moveCursor(stream: WritableStream, dx: Double, dy: Double): Boolean
Moves this WriteStream's cursor relative to its current position.
Moves this WriteStream's cursor relative to its current position.
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object CursorPos
- object Direction
- object Key
- object ReadLineOptions
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated