1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

Turn terminal transparency off by default

The problem is that if you run elinks in xterm with the default white
background, it will be totally unreadable if transparency is turned
on. We should default to usability in all common environments, eyecandy
lovers can do the extra setup for their specific one.

It also makes the description note that elinks still assumes the
background is black.
This commit is contained in:
Petr Baudis 2006-11-05 16:28:53 +01:00 committed by Petr Baudis
parent c73e4e8d65
commit 6390c327aa

View File

@ -911,11 +911,13 @@ static struct option_info config_options_info[] = {
"3 is true color mode, uses konsole RGB codes.")),
INIT_OPT_BOOL("terminal._template_", N_("Transparency"),
"transparency", 0, 1,
"transparency", 0, 0,
N_("If we should not set the background to black. This is particularly\n"
"useful when we have a terminal (typically in some windowing\n"
"environment) with a background image or a transparent background -\n"
"it will be visible in ELinks as well. Note that this option makes\n"
"it will be visible in ELinks as well (but ELinks document color handling\n"
"will still assume the background is black so if you have a bright background\n"
"you might experience contrast problems. Note that this option makes\n"
"sense only when colors are enabled.")),
INIT_OPT_BOOL("terminal._template_", N_("Underline"),