[patch] Bold + bright black = dark black

Ben Winslow rain at bluecherry.net
Fri Oct 28 07:30:40 CEST 2011


I'm trying out rxvt-unicode, and I discovered that setting the color to 
bright black (\e[90m) while the bold attribute (\e[1m) is set results in 
black text (equivalent to \e[0;30m).  The other bright colors (91-97) do 
not exhibit this problem, e.g. \e[1;95m and \e[1;35m produce the same color.

The attached patch fixes this problem by correcting an off-by-one error 
in the fgcolor_of and bgcolor_of methods.

Cheers,
-- 
Ben Winslow <rain at bluecherry.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urxvt-9.12-superintenseblack-fix.diff
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20111028/29fcbd55/attachment.bin>


More information about the rxvt-unicode mailing list