Merge pull request #79 from rjl6789/virgin

default fg, bg and cursor - modified so works with .Xresources
This commit is contained in:
Luke Smith 2019-05-12 09:14:18 -04:00 committed by GitHub
commit 6c0c86191c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
/*