Last active
August 29, 2015 14:19
-
-
Save slagyr/9451fed6eb2558ca7227 to your computer and use it in GitHub Desktop.
ANSI color example in IntelliJ/Cursive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;src/clj/ansi.clj | |
(ns ansi) | |
(defn -main []) | |
(println "\u001b[31mThis should be RED\u001b[0m") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: ansi | |
Main class: clojure.main | |
Program arguments: src/clj/ansi.clj | |
Working directory: <some path to configured project where you put ansi.clj> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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