Kevin Ballard <kevin@xxxxxx> writes: >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. In fact that can be configured even now: % git config color.diff.whitespace "bold white bold cyan" % git diff --color | cat.exe --show-all ^[[1;37;46m+^[[m$ so thanks for the warning. -- Pat Thoyts http://www.patthoyts.tk/ PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html