ANSI color escape sequences.
(ns user.readme-usage
(:require [strojure.ansi-escape.core :as ansi]))
;; Print `[ERROR]` as yellow on red
(println (str ansi/bg-red ansi/fg-yellow-b "[ERROR]" ansi/reset)
"Test error message")
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close