Skip to content
Myr

Update other manual and source to use ;37

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Biesack · committed by Nico Williams · parent cf61515 · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:docs/content/manual/v1.6/manual.yml+1 added-1 removed
3309 unmodified lines
3310 - color for arrays3311 - color for objects33123313 The default color scheme is the same as setting3314 `"JQ_COLORS=1;30:0;39:0;39:0;39:0;32:1;39:1;39"`.3314 `"JQ_COLORS=1;30:0;37:0;37:0;37:0;32:1;37:1;37"`.33153316 This is not a manual for VT100/ANSI escapes. However, each of3317 these color specifications should consist of two numbers separated3318 by a semi-colon, where the first number is one of these:
18 unmodified lines
modified:src/jv_print.c+2 added-2 removed
30 unmodified lines
31 JV_KIND_STRING, JV_KIND_ARRAY, JV_KIND_OBJECT};32static char color_bufs[sizeof(color_kinds)/sizeof(color_kinds[0])][16];33static const char *color_bufps[8];34static const char* def_colors[] =35 {COL("1;30"), COL("0;39"), COL("0;39"), COL("0;39"),36 COL("0;32"), COL("1;39"), COL("1;39")};35 {COL("1;30"), COL("0;37"), COL("0;37"), COL("0;37"),36 COL("0;32"), COL("1;37"), COL("1;37")};37#define FIELD_COLOR COL("34;1")3839static const char **colors = def_colors;40
370 unmodified lines