correct fg,bg,cs defaults so will work with Xresources and default is gruvbox

This commit is contained in:
rjl6789 2019-05-11 12:11:49 +01:00
parent 6ecb8b1595
commit 55405e17f1

View file

@ -105,8 +105,8 @@ static const char *colorname[] = {
"#ebdbb2",
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
"black", /* 256 -> bg */
"white", /* 257 -> fg */
"#282828", /* 256 -> bg */
"#ebdbb2", /* 257 -> fg */
"#add8e6", /* 258 -> cursor */
};
@ -115,9 +115,9 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 15;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 15;
unsigned int defaultfg = 257;
unsigned int defaultbg = 256;
static unsigned int defaultcs = 258;
static unsigned int defaultrcs = 0;
/*