reset

Reset all styles to the terminal default.

val style = (red on blue) + bold
assert reset(style("text")) == "text"

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun invoke(text: String): String
Link copied to clipboard
operator fun plus(other: TextStyle): TextStyle
operator fun plus(other: TextStyles): TextStyle
Link copied to clipboard
open override fun toString(): String