aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/term/config.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-06-06 13:59:25 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-06-06 13:59:25 -0700
commit254258b48b4ba761eae0a1563549e4f324564456 (patch)
tree721a3ca12d87da563a9f9bb5aed85398c629ddfb /sys/cmd/term/config.h
parentb3ea2b804fbd35babac86c83c718a5491542db7c (diff)
opacity
Diffstat (limited to 'sys/cmd/term/config.h')
-rw-r--r--sys/cmd/term/config.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/cmd/term/config.h b/sys/cmd/term/config.h
index a195786..e4b37ce 100644
--- a/sys/cmd/term/config.h
+++ b/sys/cmd/term/config.h
@@ -94,6 +94,9 @@ char *termname = "term-256color";
*/
uint tabspaces = 4;
+/* bg opacity */
+float alpha = 0.8;
+
/* Terminal colors (16 first used in escape sequence) */
static char *colorname[] = {
/* 8 normal colors */
@@ -121,6 +124,7 @@ static char *colorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"#cccccc",
"#555555",
+ "black",
};
@@ -128,9 +132,9 @@ static char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-uint defaultfg = 7;
-uint defaultbg = 0;
-static uint defaultcs = 256;
+uint defaultfg = 7;
+uint defaultbg = 258;
+static uint defaultcs = 256;
static uint defaultrcs = 257;
/*