pegthing
pegthing copied to clipboard
This doesn't look too great on windows
I'm sure I can find ways around this but it's a bit annoying :-/
Workaround: change this
(defn ansi
"Produce a string which will apply an ansi style"
[style]
(str \u001b (style ansi-styles)))
into this
(defn ansi
"Produce a string which will apply an ansi style"
[style]
"")
edit: this should work as a permanent solution
(defn ansi
"Produce a string which will apply an ansi style"
[style]
(if (< (.indexOf (System/getProperty "os.name") "Windows") 0)
(str \u001b (style ansi-styles))
""))