ams-clj / clansi

ANSI color and style codes for Clojure.
MIT License
92 stars 19 forks source link

Add with-ansi / without-ansi macros #4

Closed pjlegato closed 12 years ago

pjlegato commented 12 years ago

Here's the pull request with the new features on a branch, and the original version number intact.

The upgrade to Clojure 1.3 is necessary for the new dynamic variable syntax I used, and the lein-swank Leiningen plugin is necessary to make it work with a modern Leiningen.

rosejn commented 12 years ago

Thanks Paul. I merged your commits and pushed. The only thing I changed is to use earmuffs for the use-ansi var, which is typical for variables that are expecting to be dynamically rebound with binding.