Searched refs:TerminalColor (Results 1 – 3 of 3) sorted by relevance
19 enum class TerminalColor(val value: Int) { class34 foreground: TerminalColor? = null, in terminalAttributes()35 background: TerminalColor? = null in terminalAttributes()75 fun colorized(string: String, color: TerminalColor): String { in colorized()
346 … LINT -> sb.append(terminalAttributes(foreground = TerminalColor.CYAN)).append("lint: ") in format()347 … INFO -> sb.append(terminalAttributes(foreground = TerminalColor.CYAN)).append("info: ") in format()348 … WARNING -> sb.append(terminalAttributes(foreground = TerminalColor.YELLOW)).append("warning: ") in format()349 … ERROR -> sb.append(terminalAttributes(foreground = TerminalColor.RED)).append("error: ") in format()
741 stdout.print(colorized(BANNER.trimIndent(), TerminalColor.BLUE)) in <lambda>()2499 out.println(colorized(description, TerminalColor.YELLOW)) in <lambda>()