summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Biesack <David.Biesack@apiture.com>2020-01-02 16:27:56 -0500
committerNico Williams <nico@cryptonector.com>2020-01-02 15:47:26 -0600
commit07b18a33feb6ccab08be221657e19b82abf0d84e (patch)
tree50d793067d52e2b39f85da71e8939e28bb8bc950
parentcf615152e192729541db6c06f0c009e2898b1c4e (diff)
Update other manual and source to use ;37
-rw-r--r--docs/content/manual/v1.6/manual.yml2
-rw-r--r--src/jv_print.c4
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;