From: Petr Vorel <pvo...@suse.cz> Date: Fri, 24 Feb 2017 11:13:12 +0100
> 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 <pvo...@suse.cz> > --- > Colors are nice, but the ones chosen aren't suitable for dark background. > COLORFGBG environment variable is used in some libraries and software (e.g. > ncurses, Vim). COLORFGBG is set by various terminal emulators (e.g. konsole, > rxvt and rxvt-unicode). > > Chosen colors are questionable. Best solution would be also allow user to > redefine colors, like ls does with LS_COLORS or grep with GREP_COLORS. But > that > is maybe overkill. I think you may have posted this to the wrong mailing list.