aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-25 09:34:49 +0200
committerOmar Polo <op@omarpolo.com>2021-06-25 09:34:49 +0200
commit752e45c89888d5dd6d3947cf462ae0fbf12c48dc (patch)
tree64ba7c3907b6a3a44300f3714d80a3381f494980
parent157d4810b513780bc757ce4b096f17b896483010 (diff)
downloadtelescope-752e45c89888d5dd6d3947cf462ae0fbf12c48dc.tar.gz
telescope-752e45c89888d5dd6d3947cf462ae0fbf12c48dc.tar.bz2
set default foreground color for links line
After a talk with tgl (thanks!) about defaults, I'm convinced this is a sensible default. For people who don't like colours (myself included), telescope will honour the `NO_COLOR' env variable. Then there is also the set enable-colors = 0 for the config file. We could go further and provide a flag like -O var=value to set some values without the need for a config file eventually.
-rw-r--r--defaults.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/defaults.c b/defaults.c
index d5057dc..e63983a 100644
--- a/defaults.c
+++ b/defaults.c
@@ -167,6 +167,8 @@ config_init(void)
f->prfx_bg = f->bg = f->trail_bg = -1;
f->prfx_fg = f->fg = f->trail_fg = -1;
}
+
+ line_faces[LINE_LINK].fg = COLOR_BLUE;
}
int