Packages

object readlineMod

Source
readlineMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. readlineMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AsyncCompleter = Function2[java.lang.String, Function2[UndefOr[|[Null, Error]], UndefOr[CompleterResult], Unit], Unit]
  2. type Completer = Function1[java.lang.String, CompleterResult]
  3. type CompleterResult = Tuple2[Array[java.lang.String], java.lang.String]
  4. trait CursorPos extends Object with StObject
    Annotations
    @JSType() @native()
  5. trait Direction extends Object with StObject
    Annotations
    @JSType()
  6. class Interface extends Object with StObject
    Annotations
    @JSType() @JSImport("readline", "Interface") @native()
  7. trait Key extends Object with StObject
    Annotations
    @JSType() @native()
  8. type ReadLine = Interface
  9. trait ReadLineOptions extends Object with StObject
    Annotations
    @JSType() @native()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ^: Any
    Annotations
    @JSImport("readline", JSImport.Namespace) @native()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearLine(stream: WritableStream, dir: Direction, callback: Function0[Unit]): Boolean
    Annotations
    @inline()
  7. 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()
  8. def clearScreenDown(stream: WritableStream, callback: Function0[Unit]): Boolean
    Annotations
    @inline()
  9. def clearScreenDown(stream: WritableStream): Boolean

    Clears this WriteStream from the current cursor down.

    Clears this WriteStream from the current cursor down.

    Annotations
    @inline()
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. def createInterface(options: ReadLineOptions): Interface
    Annotations
    @inline()
  12. def createInterface(input: ReadableStream, output: Unit, completer: Unit, terminal: Boolean): Interface
    Annotations
    @inline()
  13. def createInterface(input: ReadableStream, output: Unit, completer: Completer, terminal: Boolean): Interface
    Annotations
    @inline()
  14. def createInterface(input: ReadableStream, output: Unit, completer: Completer): Interface
    Annotations
    @inline()
  15. def createInterface(input: ReadableStream, output: Unit, completer: AsyncCompleter, terminal: Boolean): Interface
    Annotations
    @inline()
  16. def createInterface(input: ReadableStream, output: Unit, completer: AsyncCompleter): Interface
    Annotations
    @inline()
  17. def createInterface(input: ReadableStream, output: WritableStream, completer: Unit, terminal: Boolean): Interface
    Annotations
    @inline()
  18. def createInterface(input: ReadableStream, output: WritableStream, completer: Completer, terminal: Boolean): Interface
    Annotations
    @inline()
  19. def createInterface(input: ReadableStream, output: WritableStream, completer: Completer): Interface
    Annotations
    @inline()
  20. def createInterface(input: ReadableStream, output: WritableStream, completer: AsyncCompleter, terminal: Boolean): Interface
    Annotations
    @inline()
  21. def createInterface(input: ReadableStream, output: WritableStream, completer: AsyncCompleter): Interface
    Annotations
    @inline()
  22. def createInterface(input: ReadableStream, output: WritableStream): Interface
    Annotations
    @inline()
  23. def createInterface(input: ReadableStream): Interface
    Annotations
    @inline()
  24. def cursorTo(stream: WritableStream, x: Double, y: Unit, callback: Function0[Unit]): Boolean
    Annotations
    @inline()
  25. def cursorTo(stream: WritableStream, x: Double, y: Double, callback: Function0[Unit]): Boolean
    Annotations
    @inline()
  26. def cursorTo(stream: WritableStream, x: Double, y: Double): Boolean
    Annotations
    @inline()
  27. 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()
  28. def emitKeypressEvents(stream: ReadableStream, readlineInterface: Interface): Unit
    Annotations
    @inline()
  29. def emitKeypressEvents(stream: ReadableStream): Unit
    Annotations
    @inline()
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def moveCursor(stream: WritableStream, dx: Double, dy: Double, callback: Function0[Unit]): Boolean
    Annotations
    @inline()
  36. 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()
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. object CursorPos
  46. object Direction
  47. object Key
  48. object ReadLineOptions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped