Re: [iproute PATCH v3 1/1] color: use "light" colors for dark background

2017-03-03 Thread Stephen Hemminger
On Wed, 1 Mar 2017 21:52:33 +0100 Petr Vorel wrote: > COLORFGBG environment variable is used to detect dark background. > > Idea and a bit of code is borrowed from Vim, thanks. > > Signed-off-by: Petr Vorel Applied and I split one long line.

[iproute PATCH v3 1/1] color: use "light" colors for dark background

2017-03-01 Thread Petr Vorel
COLORFGBG environment variable is used to detect dark background. Idea and a bit of code is borrowed from Vim, thanks. Signed-off-by: Petr Vorel --- Changes v2->v3: remove unnecessary cast. --- include/color.h | 1 + lib/color.c | 45 - 2 files c