diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-03-11 14:06:42 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-03-11 14:06:42 -0500 |
commit | 21f6c460fcda0161993f75421614efb6971af23b (patch) | |
tree | 80ff098bd62d81a694ad22c1dae66cdb01c7e51f /bfs.h | |
parent | d03c58ef1cc8aa932b4f652dea14f762716bc02a (diff) | |
download | bfs-21f6c460fcda0161993f75421614efb6971af23b.tar.xz |
Make a printf()-style API for colored messages
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -84,10 +84,10 @@ struct cmdline { /** Color data. */ struct colors *colors; - /** Colors to use for stdout. */ - const struct colors *stdout_colors; - /** Colors to use for stderr. */ - const struct colors *stderr_colors; + /** Colored stdout. */ + CFILE *cout; + /** Colored stderr. */ + CFILE *cerr; /** -mindepth option. */ int mindepth; |