Open samhedin opened 6 months ago
A workaround for this that simply disables ANSI colour codes is something like
(md/start!
{:report
(let [thrower (mdp/thrower)]
(fn [type data]
(with-redefs
[mdv/-color
(fn [_color body _printer] [:span body])]
(thrower type data))))})
After running
From my understanding, this is because it's using extended ANSI codes. I'm really... not familiar with ANSI codes so I could definitely be wrong here.
(dev/start! {:report (thrower)})
from function schemas I saw this in my emacs*cider-error*
buffer:I tried to give
dev/start!
a different -printer with other options for the:colors
key, but that didn't help.Is it because of the hardcoded 5 here?
If so, could it be made an option to only use standard/restricted/whateveryoucallthem ANSI codes?