conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
Niklas 2021-06-16T06:05:26.162600Z

someone on my team thought it was a good idea to output terminal control characters from the nrepl, ^[[m and similar, I guess it work in emacs 😞, is this something conjure could support, or should I invest time in being able to opt out of them?

Olical 2021-06-17T16:21:26.162900Z

Yep! So there's filtering for these control codes already, if they're not being removed then the pattern may need to be tweaked. It already strips colour codes, but maybe I need to expand that?

Olical 2021-06-17T16:22:10.163100Z

https://github.com/Olical/AnsiEsc is a modified version of a colouring plugin, although there may be better ones out there now

Olical 2021-06-17T16:22:43.163400Z

if you turn off the filtering that can take the colour codes and render them as actual colour (I really hope someone has made a better lua based one by now... I think there's one out there?)

Olical 2021-06-17T16:23:59.163600Z

If you can let me know which codes aren't being stripped in an issue I'll get the pattern updated to include them. Also bear in mind that the stripping only happens to small output, if it's beyond 100 lines it doesn't bother since I don't want to do too much processing on large data to avoid locking up nvim, so I just display large output quickly.