Simple ANSI escape code library.
Add the following to your project.clj file:
[io.logicblocks/antsy "0.0.16"]
(require '[antsy.core :as antsy])
(println (str
antsy/bold-escape-sequence
antsy/red-bg-escape-sequence
"Important!"
antsy/reset-escape-sequence))
(println (antsy/bold "Important!"))
(println (antsy/red-fg "Something went wrong..."))
(println (antsy/-> "[Incoming Message]" :bold :green-fg))
See the API Docs for a more complete getting started guide.
antsy is heavily inspired by pretty
and clansi.
Copyright © 2019 LogicBlocks Maintainers
Distributed under the terms of the MIT License.
Can you improve this documentation? These fine people already did:
Toby Clemson & Circle CIEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |