(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close