ANSI color escape sequences.
- Give names for ANSI color escape sequences.
- Simple, no fancy DSL for color output.
(ns 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")