diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-06-02 20:44:11 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-06-02 20:44:11 -0400 |
commit | 519c2333fe3cb89fd34236753a09b4b2f60cbce1 (patch) | |
tree | 6ad04fb44ddc2f3651693d1453fb3d30681b52a5 /src/LYMain.c | |
parent | 43b53f58808f6681e864f35999d749922eec7868 (diff) | |
download | lynx-snapshots-519c2333fe3cb89fd34236753a09b4b2f60cbce1.tar.gz |
snapshot of project "lynx", label v2-8-8dev_15h
Diffstat (limited to 'src/LYMain.c')
-rw-r--r-- | src/LYMain.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/LYMain.c b/src/LYMain.c index 02917d55..3c01234b 100644 --- a/src/LYMain.c +++ b/src/LYMain.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYMain.c,v 1.241 2013/05/02 10:41:09 tom Exp $ + * $LynxId: LYMain.c,v 1.243 2013/05/30 08:58:21 tom Exp $ */ #include <HTUtils.h> #include <HTTP.h> @@ -685,8 +685,9 @@ static void FatalProblem(int sig); #endif /* !VMS */ #if defined(USE_COLOR_STYLE) -char *lynx_lss_file2 = NULL; /* from command-line options */ +int LYuse_color_style = TRUE; char *lynx_lss_file = NULL; /* from config-file, etc. */ +static char *lynx_lss_file2 = NULL; /* from command-line options */ #endif #ifdef USE_DEFAULT_COLORS @@ -3477,6 +3478,12 @@ with -dump, format output as with -traversal, but to stdout" "incremental display stages with MessageSecs delay" ), #endif +#ifdef USE_DEFAULT_COLORS + PARSE_SET( + "default_colors", 4|TOGGLE_ARG, LYuse_default_colors, + "use terminal default foreground/background colors" + ), +#endif PARSE_INT( "delay", 4|NEED_TIME_ARG, DelaySecs, "=NNN\nset NNN-second delay at statusline message" |