I'm using ruby-test to run rails tests from inside emacs into the *Ruby-Test* buffer. It works great except that the output is cluttered with ascii color-control characters (not sure what the right terminology is).
Example:
MyTest:
^[[32m PASS^[[0m Test Passed (2.85s)
If I run the test in a terminal that shows up as a green "PASS". Is there something I can do to get the colors to show up in my output buffer?
There's a related question about getting color for commands run with M-|, but I couldn't figure out how to adapt it for a generic buffer.
emacs shell command output not showing ANSI colors but the code