Packages

class WriteStream extends Object with StObject

Annotations
@JSType() @JSImport("tty", "WriteStream") @native()
Source
ttyMod.scala
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriteStream
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WriteStream(fd: Double)
  2. new WriteStream()
    Attributes
    protected

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. def addListener(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
  5. def addListener_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
    Annotations
    @JSName("addListener")
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearLine(dir: Direction, callback: Function0[Unit]): Boolean
  8. def clearLine(dir: Direction): Boolean

    Clears the current line of this WriteStream in a direction identified by dir.

  9. def clearScreenDown(callback: Function0[Unit]): Boolean
  10. def clearScreenDown(): Boolean

    Clears this WriteStream from the current cursor down.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. var columns: Double
  13. def cursorTo(x: Double, y: Unit, callback: Function0[Unit]): Boolean
  14. def cursorTo(x: Double, y: Double, callback: Function0[Unit]): Boolean
  15. def cursorTo(x: Double, y: Double): Boolean
  16. def cursorTo(x: Double, callback: Function0[Unit]): Boolean
  17. def cursorTo(x: Double): Boolean

    Moves this WriteStream's cursor to the specified position.

  18. def emit(event: Symbol, args: Any*): Boolean
  19. def emit(event: java.lang.String, args: Any*): Boolean
  20. def emit_resize(event: resize): Boolean
    Annotations
    @JSName("emit")
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def getColorDepth(env: Object): Double
  25. def getColorDepth(): Double

  26. def getWindowSize(): Tuple2[Double, Double]
  27. def hasColors(env: Object): Boolean
  28. def hasColors(depth: Double, env: Object): Boolean
  29. def hasColors(depth: Double): Boolean
  30. def hasColors(): Boolean
  31. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  35. var isTTY: Boolean
  36. def moveCursor(dx: Double, dy: Double, callback: Function0[Unit]): Boolean
  37. def moveCursor(dx: Double, dy: Double): Boolean

    Moves this WriteStream's cursor relative to its current position.

  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  41. def on(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
  42. def on_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
    Annotations
    @JSName("on")
  43. def once(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
  44. def once_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
    Annotations
    @JSName("once")
  45. def prependListener(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
  46. def prependListener_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
    Annotations
    @JSName("prependListener")
  47. def prependOnceListener(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
  48. def prependOnceListener_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
    Annotations
    @JSName("prependOnceListener")
  49. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  50. var rows: Double
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  53. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  54. def valueOf(): Any
    Definition Classes
    Object
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped