AnsiEscape
interface AnsiEscape
Supports generating AnsiEscape escape codes. This allows to change the color and attributes of the text.
For example:
println(AnsiEscape { ("hello".red + " world".blue).bold })
Content copied to clipboard
Inheritors
Types
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun StringBuilder.appendAnsiScape(code: Int, extra: String? = null, char: Char = 'm'): StringBuilder
Link copied to clipboard
open fun StringBuilder.appendBgColor(color: AnsiEscape.Color, bright: Boolean = false): StringBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun StringBuilder.appendFgColor(color: AnsiEscape.Color, bright: Boolean = false): StringBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Makes this string to be in background color index