alpha patch

This commit is contained in:
Sir Garbagetruck 2017-03-16 23:10:53 +02:00
parent de22e6776e
commit d53f3c7c10
5 changed files with 79 additions and 10 deletions

View file

@ -82,6 +82,9 @@ static char termname[] = "st-256color";
*/
static unsigned int tabspaces = 8;
/* bg opacity */
static const int alpha = 0xdd;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
@ -109,6 +112,7 @@ static const char *colorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"#cccccc",
"#555555",
"black"
};
@ -117,7 +121,7 @@ static const char *colorname[] = {
* foreground, background, cursor, reverse cursor
*/
static unsigned int defaultfg = 7;
static unsigned int defaultbg = 0;
static unsigned int defaultbg = 258;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;