I use
export DARCS_DO_COLOR_LINES=True
In the example output of "darcs whatsnew" below, lines beginning with
a plus are cyan, and the escaped copyright symbols are red. But AFTER
the escape characters, the rest of the line is white; it should be
cyan.
Basically, after the escape a "reset colors" code is sent, which
resets both the red AND the cyan. For this to behave properly, darcs
needs to remember internally a color "stack" and pop from it instead
of just sending the sgr0 code when popping to a non-empty stack.
hunk ./debian/copyright 15
+Files: debian/*
+Copyright: \c2\a9 2003-2005, David Roundy <droundy@abridgegame.org>
+Copyright: \c2\a9 2008, Trent W. Buck <trentbuck@gmail.com>
+License: GPL-any
+ You are free to distribute this software under the terms of
+ the GNU General Public License.
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL file.
|