Using ANSI colors?

Ben Lambert <[email protected]> Fri, 22 Dec 2017 17:24:42 -0500
Newsgroups gmane.lisp.slime.devel
Message-ID <[email protected]>
Hi there,

I just posted an "Issue" on GitHub (https://github.com/slime/slime/issues/420 <https://github.com/slime/slime/issues/420>), and then saw in the README that questions are better directed to this list.  I'm not sure how to search the email archives so I'm not sure if this has been asked before.  The question (repeated from GitHub) is:


I've wondered about this for a while. Is it possible to print with ANSI colors in a Slime repl buffer?

If I load the cl-ansi-text library from Quicklisp (ql:quickload :cl-ansi-text), and I run (cl-ansi-text:yellow "yellow") in the Slime REPL the output is: "yellow". When I run the same commands directly in an SBCL REPL, it prints as expected "yellow" in a yellow color.

Is it possible to use ANSI colors in Slime? Or maybe there's some workaround?

Thanks,
Ben