pegthing icon indicating copy to clipboard operation
pegthing copied to clipboard

This doesn't look too great on windows

Open Dagur opened this issue 9 years ago • 1 comments

capture

I'm sure I can find ways around this but it's a bit annoying :-/

Dagur avatar Nov 11 '15 20:11 Dagur

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))
    ""))

lgessler avatar Mar 10 '16 05:03 lgessler