From: Kevin Ballard Date: Thu, 21 Oct 2010 20:59:44 GMT Subject: Re: [PATCH] git-gui: apply color information from git diff Message-ID: In-Reply-To: <87eibje5zs.fsf_-_@fox.patthoyts.tk> On Oct 21, 2010, at 8:22 AM, Pat Thoyts wrote: > + while {[regexp -indices -start $start "\033\\\[(\\d+)?m" $line match code]} { Git currently doesn't emit combined escapes (e.g. \e[0;31m to reset and then turn on red text), but I can imagine it being enhanced to do this in the future. I would recommend handling it here if you can. -Kevin Ballard