On Thu, Jan 17, 2013 at 5:00 AM, textmate-request@lists.macromates.comwrote:
From: Allan Odgaard mailinglist@textmate.org
I've got a shell script that I tried to make a little more readable with
ANSI color. It works when I run it from the command line, but when I have it open in TM2 (and 1) and press Cmd-R, the script executes but I get no color.
Escape codes for colors is a “terminal” feature, meaning that only scripts running in a terminal should use such escape codes. TextMate does not offer a terminal environment when running scripts.
Ah, that makes perfect sense. Thanks. I guess I got stuck on thinking
that since STDERR comes out as red (in TM), then it must be possible to do other colors.