summaryrefslogtreecommitdiffstats
path: root/jv.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-03 01:21:07 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-03 01:21:07 +0000
commite9c7548b825a4fb56b53111a76cb90e0f6aef4cc (patch)
tree02caf76ee2995386edaa796bd2cd88499b4755bf /jv.h
parent67f8ad943538e00826966c069d917b5bc99a4e47 (diff)
Oh alright then, if you insist.
Colo(u)red output for jq. Enabled by default if isatty(stdout). Closes #11.
Diffstat (limited to 'jv.h')
-rw-r--r--jv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jv.h b/jv.h
index 02817681..12e7c790 100644
--- a/jv.h
+++ b/jv.h
@@ -105,7 +105,7 @@ jv jv_object_iter_value(jv, int);
int jv_get_refcnt(jv);
-enum { JV_PRINT_PRETTY = 1, JV_PRINT_ASCII = 2 };
+enum { JV_PRINT_PRETTY = 1, JV_PRINT_ASCII = 2, JV_PRINT_COLOUR = 4 };
void jv_dump(jv, int flags);
jv jv_dump_string(jv, int flags);