diff options
author | Nicolas Williams <nico@cryptonector.com> | 2020-01-01 17:02:18 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2020-01-01 17:30:01 -0600 |
commit | 7d7df3d8e2a3c4475d7779743f1311d254d99388 (patch) | |
tree | c777c118bbdf22644c8e314fcf8412fad782634e | |
parent | 8534821388d9d84e39454a059b03854b57754572 (diff) | |
download | jq-dlopen.tar.gz |
There is no color 39 (Fix #2032)dlopen
-rw-r--r-- | docs/content/manual/manual.yml | 2 | ||||
-rw-r--r-- | src/jv_print.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index 9fb8d8d..0ad2e4b 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -3581,7 +3581,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 15532c6..2e781bb 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; |