Packages

  • package root
    Definition Classes
    root
  • package net
    Definition Classes
    root
  • package team2xh
    Definition Classes
    net
  • package scurses
    Definition Classes
    team2xh
  • 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 /

    Definition Classes
    scurses
  • Attribute
  • Background
  • Blink
  • Bold
  • Color
  • Foreground
  • HexColor
  • IndexedColor
  • Instruction
  • NamedColor
  • ResetAttributes
  • Reverse
  • RichText
  • RichTextHelper
  • StartAttribute
  • StopAttribute
  • Text
  • Underline
c

net.team2xh.scurses.RichText

RichTextHelper

implicit final class RichTextHelper extends AnyVal

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

Instance Constructors

  1. new RichTextHelper(sc: StringContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def r(args: Any*): RichText
  8. val sc: StringContext
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped