backend color number changes
This commit is contained in:
parent
66780d00e4
commit
e2a59d5521
21
config.h
21
config.h
@ -106,9 +106,10 @@ static const char *colorname[] = {
|
|||||||
"#ebdbb2",
|
"#ebdbb2",
|
||||||
[255] = 0,
|
[255] = 0,
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
"#282828", /* 256 -> bg */
|
"#add8e6", /* 256 -> cursor */
|
||||||
"#ebdbb2", /* 257 -> fg */
|
"#555555", /* 257 -> rev cursor*/
|
||||||
"#add8e6", /* 258 -> cursor */
|
"#282828", /* 258 -> bg */
|
||||||
|
"#ebdbb2", /* 259 -> fg */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -116,10 +117,10 @@ static const char *colorname[] = {
|
|||||||
* Default colors (colorname index)
|
* Default colors (colorname index)
|
||||||
* foreground, background, cursor, reverse cursor
|
* foreground, background, cursor, reverse cursor
|
||||||
*/
|
*/
|
||||||
unsigned int defaultfg = 257;
|
unsigned int defaultfg = 259;
|
||||||
unsigned int defaultbg = 256;
|
unsigned int defaultbg = 258;
|
||||||
static unsigned int defaultcs = 258;
|
static unsigned int defaultcs = 256;
|
||||||
static unsigned int defaultrcs = 0;
|
static unsigned int defaultrcs = 257;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default shape of cursor
|
* Default shape of cursor
|
||||||
@ -172,9 +173,9 @@ ResourcePref resources[] = {
|
|||||||
{ "color13", STRING, &colorname[13] },
|
{ "color13", STRING, &colorname[13] },
|
||||||
{ "color14", STRING, &colorname[14] },
|
{ "color14", STRING, &colorname[14] },
|
||||||
{ "color15", STRING, &colorname[15] },
|
{ "color15", STRING, &colorname[15] },
|
||||||
{ "background", STRING, &colorname[256] },
|
{ "background", STRING, &colorname[258] },
|
||||||
{ "foreground", STRING, &colorname[257] },
|
{ "foreground", STRING, &colorname[259] },
|
||||||
{ "cursorColor", STRING, &colorname[258] },
|
{ "cursorColor", STRING, &colorname[256] },
|
||||||
{ "termname", STRING, &termname },
|
{ "termname", STRING, &termname },
|
||||||
{ "shell", STRING, &shell },
|
{ "shell", STRING, &shell },
|
||||||
{ "xfps", INTEGER, &xfps },
|
{ "xfps", INTEGER, &xfps },
|
||||||
|
Loading…
Reference in New Issue
Block a user