nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 03bc19fd0cdcba14d69137118795956c90174462
parent e4cef3086bda192c9eec543e9e70950ab990b307
Author: Brand Huntsman <alpha@qzx.com>
Date:   Sun,  4 Mar 2018 14:49:28 -0700

color: remove unneeded bright comparision to prevent duplicate pairs

Signed-off-by: Brand Huntsman <alpha@qzx.com>

Diffstat:
Msrc/color.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/color.c b/src/color.c @@ -90,8 +90,7 @@ void set_colorpairs(void) const colortype *beforenow = sint->color; while (beforenow != ink && (beforenow->fg != ink->fg || - beforenow->bg != ink->bg || - beforenow->bright != ink->bright)) + beforenow->bg != ink->bg)) beforenow = beforenow->next; if (beforenow != ink)