Skip to content

Instantly share code, notes, and snippets.

@slagyr
Last active August 29, 2015 14:19
Show Gist options
  • Save slagyr/9451fed6eb2558ca7227 to your computer and use it in GitHub Desktop.
Save slagyr/9451fed6eb2558ca7227 to your computer and use it in GitHub Desktop.
ANSI color example in IntelliJ/Cursive
;src/clj/ansi.clj
(ns ansi)
(defn -main [])
(println "\u001b[31mThis should be RED\u001b[0m")
Name: ansi
Main class: clojure.main
Program arguments: src/clj/ansi.clj
Working directory: <some path to configured project where you put ansi.clj>
Name: ansi
Leiningen project: <some project you've already got configured>
Arguments: run -, ansi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment