Re: [PATCH] git-gui: apply color information from git diff
- From
Kevin Ballard <kevin@sb.org>
- Date
- Oct 21, 2010, 20:59 UTC
- Message-ID
- <FB63A238-C5FD-4A00-9EAD-E99512C9D38B@sb.org>
- 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