Liking cljdoc? Tell your friends :D
Clojure only.

easy-assert.util.ansi


get-color-codeclj

(get-color-code color)

Returns the ANSI escape code for the given color.

Parameters: color - The color keyword for which to get the ANSI code.

Returns: A string representing the ANSI escape code for the given color, or the reset code if the color is not found.

Returns the ANSI escape code for the given color.

Parameters:
  `color` - The color keyword for which to get the ANSI code.

Returns:
  A string representing the ANSI escape code for the given color, or the reset code if the color is not found.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close