sets correct gruvbox defaultfg and cursor colors, restores poss. to use 257+ colors

This commit is contained in:
terriblephrases 2018-12-03 17:38:57 +01:00
parent 15c6321d87
commit 313ecfec81

View File

@ -102,9 +102,10 @@ static const char *colorname[] = {
"#d3869b",
"#8ec07c",
"#ebdbb2",
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
"black", /* 256 -> bg */
"brwhite", /* 257 -> fg */
"white", /* 257 -> fg */
};
@ -112,10 +113,10 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 12;
unsigned int defaultfg = 15;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 14;
static unsigned int defaultrcs = 15;
static unsigned int defaultcs = 15;
static unsigned int defaultrcs = 0;
/*
* Default shape of cursor