From: William Langford Date: Tue, 22 Jul 2014 00:08:42 +0000 (-0400) Subject: Changing color codes to fix #495 X-Git-Tag: jq-1.5rc1~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f89270d0838a2ac186feb1399128408b6762650;p=jq Changing color codes to fix #495 --- diff --git a/jv_print.c b/jv_print.c index f01d6a1..4467266 100644 --- a/jv_print.c +++ b/jv_print.c @@ -17,8 +17,8 @@ static const jv_kind colour_kinds[] = {JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER, JV_KIND_STRING, JV_KIND_ARRAY, JV_KIND_OBJECT}; static const char* const colours[] = - {COL("30;1"), COL("0"), COL("0"), COL("0"), - COL("32"), COL("37"), COL("37")}; + {COL("1;30"), COL("0;39"), COL("0;39"), COL("0;39"), + COL("0;32"), COL("1;39"), COL("1;39")}; #define FIELD_COLOUR COL("34;1") static void put_buf(const char* s, int len, FILE* fout, jv* strout) {