package scurses
- Alphabetic
- Public
- All
Type Members
-
class
EscapeCodes extends AnyRef
ANSI Escape Codes manager Reference: http://www.vt100.net/docs/vt510-rm/contents http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
- class Scurses extends AnyRef
Value Members
- object Colors
- object Keys
-
object
RichText
RichText string interpolator.
RichText string interpolator.
Example usage: val color = "blue" val greet = "Hello" val richText = r"[b][fg:$color]$greet[/b], World!"
Format: [b] Start using bold text [u] Start underlining text [bl] Start blinking text [r] Start reversing foreground and background [fg:color] Start coloring the foreground with a named color (e.g. "red") [fg:id] Same with an xterm 256-color code (0 - 256) [fg:hex] Same with an arbitrary RGB hexadecimal color code [bg:color] Start coloring the background with a named color (e.g. "red") [bg:id] Same with an xterm 256-color code (0 - 256) [bg:hex] Same with an arbitrary RGB hexadecimal color code
[/b] Stop using bold text [/u] Stop underlining text [/bl] Stop blinking text [/r] Stop reversing foreground and background [/fg] Stop coloring the foreground [/bg] Stop coloring the background [/*] Stop all
Tags don't have to be closed /
- object Scurses