Packages

o

term

TputTermSize

object TputTermSize extends TermSize

Linear Supertypes
TermSize, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TputTermSize
  2. TermSize
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def available(): Boolean

    Is this provider available? A provider may be unavailable because a native library may be missing for a given operating system, or an external program may be missing.

    Is this provider available? A provider may be unavailable because a native library may be missing for a given operating system, or an external program may be missing.

    returns

    true if this provider can be used to get the size of the terminal, false otherwise.

    Definition Classes
    TputTermSizeTermSize
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def cols(encoded: Int): Int

    Decode the number of columns from encoded.

    Decode the number of columns from encoded.

    encoded

    The encoded size of the terminal.

    returns

    The number of columns.

    Attributes
    protected
    Definition Classes
    TermSize
    Annotations
    @inline()
  8. def cols(): Int

    The number of columns of the current terminal.

    The number of columns of the current terminal.

    returns

    The number of columns of the current terminal.

    Definition Classes
    TermSize
  9. def encode(cols: Int, rows: Int): Int

    Encode the number of columns and rows into a single integer.

    Encode the number of columns and rows into a single integer.

    cols

    The number of columns.

    rows

    The number of rows.

    returns

    The 2 values, encoded in a single integer.

    Attributes
    protected
    Definition Classes
    TermSize
    Annotations
    @inline()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def rawSize(): Int

    The size of the current terminal in columns and rows, encoded as a single integer:

    The size of the current terminal in columns and rows, encoded as a single integer:

    cols << 16 | (rows & 0xFFFF)

    returns

    The encoded size of the current terminal.

    Definition Classes
    TputTermSizeTermSize
  20. def rows(encoded: Int): Int

    Decode the number of rows from encoded.

    Decode the number of rows from encoded.

    encoded

    The encoded size of the terminal.

    returns

    The number of rows.

    Attributes
    protected
    Definition Classes
    TermSize
    Annotations
    @inline()
  21. def rows(): Int

    The number of rows of the current terminal.

    The number of rows of the current terminal.

    returns

    The number of rows of the current terminal.

    Definition Classes
    TermSize
  22. def size(): Size

    The size of the current terminal.

    The size of the current terminal.

    returns

    The size of the current terminal.

    Definition Classes
    TermSize
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from TermSize

Inherited from AnyRef

Inherited from Any

Ungrouped