From 07b18a33feb6ccab08be221657e19b82abf0d84e Mon Sep 17 00:00:00 2001 From: David Biesack Date: Thu, 2 Jan 2020 16:27:56 -0500 Subject: Update other manual and source to use ;37 --- docs/content/manual/v1.6/manual.yml | 2 +- src/jv_print.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/manual/v1.6/manual.yml b/docs/content/manual/v1.6/manual.yml index 27b7f55f..1941e927 100644 --- a/docs/content/manual/v1.6/manual.yml +++ b/docs/content/manual/v1.6/manual.yml @@ -3311,7 +3311,7 @@ sections: - color for objects The default color scheme is the same as setting - `"JQ_COLORS=1;30:0;39:0;39:0;39:0;32:1;39:1;39"`. + `"JQ_COLORS=1;30:0;37:0;37:0;37:0;32:1;37:1;37"`. This is not a manual for VT100/ANSI escapes. However, each of these color specifications should consist of two numbers separated diff --git a/src/jv_print.c b/src/jv_print.c index 15532c69..2e781bb8 100644 --- a/src/jv_print.c +++ b/src/jv_print.c @@ -32,8 +32,8 @@ static const jv_kind color_kinds[] = static char color_bufs[sizeof(color_kinds)/sizeof(color_kinds[0])][16]; static const char *color_bufps[8]; static const char* def_colors[] = - {COL("1;30"), COL("0;39"), COL("0;39"), COL("0;39"), - COL("0;32"), COL("1;39"), COL("1;39")}; + {COL("1;30"), COL("0;37"), COL("0;37"), COL("0;37"), + COL("0;32"), COL("1;37"), COL("1;37")}; #define FIELD_COLOR COL("34;1") static const char **colors = def_colors; -- cgit v1.2.3