[TxMt] Re: textmate Digest, Vol 56, Issue 12
Dru Kepple
drukepple at gmail.com
Thu Jan 17 18:24:04 UTC 2013
On Thu, Jan 17, 2013 at 5:00 AM, <textmate-request at lists.macromates.com>wrote:
> From: Allan Odgaard <mailinglist at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20130117/d61a1ffc/attachment.html>
More information about the textmate
mailing list