Packages

class Scurses extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scurses
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Scurses()

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 clear(): Unit

    Clears the terminal screen.

  6. def clip(width: Int, height: Int): Unit
  7. var clipX0: Int
  8. var clipX1: Int
  9. var clipY0: Int
  10. var clipY1: Int
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def close(): Unit

    Resets the terminal screen

  13. val delay: Int
  14. def dimensions: (Int, Int)

    Returns the width and height of the terminal window in pixels

    Returns the width and height of the terminal window in pixels

    returns

    Tuple containing the width and height of the terminal window in pixels

  15. val ec: EscapeCodes
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hideCursor(): Unit
  22. def init(): Unit

    Prepares the terminal screen for Scurses

  23. var isClipped: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def keypress(): Int

    Polls the terminal for a keypress (does not echo the keypress on the terminal)

    Polls the terminal for a keypress (does not echo the keypress on the terminal)

    returns

    Character number of the pressed key

  26. def move(x: Int, y: Int): Unit

    Moves the cursor to the desired position.

    Moves the cursor to the desired position. If outside of terminal screen range, will stick to a border.

    x

    X coordinate of the desired cursor position (0 indexed)

    y

    Y coordinate of the desired cursor position (0 indexed)

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. var offsetX: Int
  31. var offsetY: Int
  32. val out: BufferedOutputStream
  33. def outOfBounds(x: Int, y: Int): Boolean
  34. def put(x: Int, y: Int, string: String, foreground: Int = -1, background: Int = -1): Unit

    Puts a string on the terminal screen with the desired colors.

    Puts a string on the terminal screen with the desired colors.

    x

    X coordinate

    y

    Y coordinate

    string

    String to output

    foreground

    Foreground color code

    background

    Background color code

  35. def putRichText(x: Int, y: Int, richText: RichText, foreground: Int = -1, background: Int = -1): Unit
  36. def refresh(): Unit

    Refreshes the terminal screen.

  37. def resetOffset(): Unit
  38. var resizesInProgress: Int
  39. def setOffset(x: Int, y: Int): Unit
  40. def showCursor(): Unit
  41. def size: (Int, Int)

    Returns the width and height of the terminal screen in characters

    Returns the width and height of the terminal screen in characters

    returns

    Tuple containing the width and height of the terminal screen in characters

  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def translateOffset(x: Int = 0, y: Int = 0): Unit
  45. def unclip(): Unit
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped