class Scurses extends AnyRef
- Alphabetic
- By Inheritance
- Scurses
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Scurses()
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
Clears the terminal screen.
- def clip(width: Int, height: Int): Unit
- var clipX0: Int
- var clipX1: Int
- var clipY0: Int
- var clipY1: Int
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
Resets the terminal screen
- val delay: Int
-
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
- val ec: EscapeCodes
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hideCursor(): Unit
-
def
init(): Unit
Prepares the terminal screen for Scurses
- var isClipped: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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)
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var offsetX: Int
- var offsetY: Int
- val out: BufferedOutputStream
- def outOfBounds(x: Int, y: Int): Boolean
-
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
- def putRichText(x: Int, y: Int, richText: RichText, foreground: Int = -1, background: Int = -1): Unit
-
def
refresh(): Unit
Refreshes the terminal screen.
- def resetOffset(): Unit
- var resizesInProgress: Int
- def setOffset(x: Int, y: Int): Unit
- def showCursor(): Unit
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def translateOffset(x: Int = 0, y: Int = 0): Unit
- def unclip(): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )