str->ansi-color-str

circumspec.colorize

  • (str->ansi-color-str color)
Takes a string and converts it to the supplied ansi color code

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/colorize.clj:10 top

(defn str->ansi-color-str
  "Takes a string and converts it to the supplied ansi color code"
  [color]
  (str (char 27) (color-table color)))
Vars in circumspec.colorize/str->ansi-color-str: char defn str
Used in 0 other vars

Comments top

No comments for str->ansi-color-str. Log in to add a comment.