trait AnsiModule extends AnyRef
Provides utilities, which help encoding anything with Ansi Styles.
- Self Type
- AnsiModule with SpellsConfigModule with StylePrintModule
- See also
https://en.wikipedia.org/wiki/ANSI_escape_code
println(1234.green)
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnsiModule
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- implicit final class AnsiString extends AnyRef
Provides the method
in
which convertsAny
toString
in
AnsiStyle
.Provides the method
in
which convertsAny
toString
in
AnsiStyle
. Also provides convenience methods likegreen
,yellow
etc. - final class AnsiStyle extends AnyRef
Encoding of
AnsiStyle
s - implicit final class AnsiStyleBuilder extends AnyRef
Provides method
toAnsiStyle
which converts ansi codes toAnsiStyle
.Provides method
toAnsiStyle
which converts ansi codes toAnsiStyle
. Understands human readable styles like "Green" or "Random".- See also
https://en.wikipedia.org/wiki/ANSI_escape_code
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object AnsiStyle
Provides out-of-the-box
AnsiStyle
s as well as a utility method to remove them.