So I'm using solarized-light color scheme, and for me it looks like this:
After this fix, it looks right:
I also test it with a dark background, and it works fine:
Making fgColor = Black and bgColor = White wouldn't work, the reason is that what the terminal's color pallette white is, may or may not be what the background color is. So the result ends up looking wrong again:
I can't think of a case on which one would like to have the background of the printed out text to be different to the terminal's background color, hence the fix.
So I'm using solarized-light color scheme, and for me it looks like this:
After this fix, it looks right:
I also test it with a dark background, and it works fine:
Making
fgColor = Black
andbgColor = White
wouldn't work, the reason is that what the terminal's color pallettewhite
is, may or may not be what the background color is. So the result ends up looking wrong again:I can't think of a case on which one would like to have the background of the printed out text to be different to the terminal's background color, hence the fix.