class WriteStream extends Object with StObject
- Annotations
- @JSType() @JSImport("tty", "WriteStream") @native()
- Source
- ttyMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WriteStream
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def addListener(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
- def addListener_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
- Annotations
- @JSName("addListener")
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearLine(dir: Direction, callback: Function0[Unit]): Boolean
- def clearLine(dir: Direction): Boolean
Clears the current line of this WriteStream in a direction identified by
dir. - def clearScreenDown(callback: Function0[Unit]): Boolean
- def clearScreenDown(): Boolean
Clears this
WriteStreamfrom the current cursor down. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- var columns: Double
- def cursorTo(x: Double, y: Unit, callback: Function0[Unit]): Boolean
- def cursorTo(x: Double, y: Double, callback: Function0[Unit]): Boolean
- def cursorTo(x: Double, y: Double): Boolean
- def cursorTo(x: Double, callback: Function0[Unit]): Boolean
- def cursorTo(x: Double): Boolean
Moves this WriteStream's cursor to the specified position.
- def emit(event: Symbol, args: Any*): Boolean
- def emit(event: java.lang.String, args: Any*): Boolean
- def emit_resize(event: resize): Boolean
- Annotations
- @JSName("emit")
- 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 getColorDepth(env: Object): Double
- def getColorDepth(): Double
- def getWindowSize(): Tuple2[Double, Double]
- def hasColors(env: Object): Boolean
- def hasColors(depth: Double, env: Object): Boolean
- def hasColors(depth: Double): Boolean
- def hasColors(): Boolean
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- var isTTY: Boolean
- def moveCursor(dx: Double, dy: Double, callback: Function0[Unit]): Boolean
- def moveCursor(dx: Double, dy: Double): Boolean
Moves this WriteStream's cursor relative to its current position.
- 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()
- def on(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
- def on_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
- Annotations
- @JSName("on")
- def once(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
- def once_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
- Annotations
- @JSName("once")
- def prependListener(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
- def prependListener_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
- Annotations
- @JSName("prependListener")
- def prependOnceListener(event: java.lang.String, listener: Function1[Any, Unit]): WriteStream.this.type
- def prependOnceListener_resize(event: resize, listener: Function0[Unit]): WriteStream.this.type
- Annotations
- @JSName("prependOnceListener")
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- var rows: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated