aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2022-05-30 08:02:26 +0530
committersinanmohd <pcmsinan@gmail.com>2022-05-30 08:02:26 +0530
commitc752c70fa3eaed9f88e9db44b590a66af19231d2 (patch)
tree0c2882b8ba76529ba84d6c25e892cd8399325314
parentf5cccf0a5d7262b28e4132ce65029cb915b0a5a0 (diff)
fix bright background color on xresource reload making the text unreadable
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index d3c8737..8d4eb60 100644
--- a/config.def.h
+++ b/config.def.h
@@ -136,7 +136,7 @@ static const char *colorname[] = {
* foreground, background, cursor
*/
unsigned int defaultfg = 257;
-unsigned int defaultbg = 256;
+unsigned int defaultbg = 0;
static unsigned int defaultcs = 257;
static unsigned int defaultrcs = 257;
@@ -204,7 +204,7 @@ ResourcePref resources[] = {
{ "color13", STRING, &colorname[13] },
{ "color14", STRING, &colorname[14] },
{ "color15", STRING, &colorname[15] },
- { "background", STRING, &colorname[256] },
+ { "background", STRING, &colorname[0] },
{ "foreground", STRING, &colorname[257] },
{ "cursorColor", STRING, &colorname[258] },
{ "termname", STRING, &termname },