mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
sets correct gruvbox defaultfg and cursor colors, restores poss. to use 257+ colors
This commit is contained in:
parent
15c6321d87
commit
313ecfec81
1 changed files with 5 additions and 4 deletions
9
config.h
9
config.h
|
@ -102,9 +102,10 @@ static const char *colorname[] = {
|
||||||
"#d3869b",
|
"#d3869b",
|
||||||
"#8ec07c",
|
"#8ec07c",
|
||||||
"#ebdbb2",
|
"#ebdbb2",
|
||||||
|
[255] = 0,
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
"black", /* 256 -> bg */
|
"black", /* 256 -> bg */
|
||||||
"brwhite", /* 257 -> fg */
|
"white", /* 257 -> fg */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -112,10 +113,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 = 12;
|
unsigned int defaultfg = 15;
|
||||||
unsigned int defaultbg = 0;
|
unsigned int defaultbg = 0;
|
||||||
static unsigned int defaultcs = 14;
|
static unsigned int defaultcs = 15;
|
||||||
static unsigned int defaultrcs = 15;
|
static unsigned int defaultrcs = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default shape of cursor
|
* Default shape of cursor
|
||||||
|
|
Loading…
Reference in a new issue