diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 14:42:54 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 14:45:32 -0500 |
commit | 0d6c12cbc8370dafcfcb2c1882303ab2610175c6 (patch) | |
tree | e43350ff1e022fe904a4a10446132daf30d8e685 /bfs.h | |
parent | c40f26a15c0dce60ee365ee3f6d0779ef19cd947 (diff) | |
download | bfs-0d6c12cbc8370dafcfcb2c1882303ab2610175c6.tar.xz |
Refactor color handling.
The main benefit is colored warnings/errors during parsing.
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -54,8 +54,10 @@ struct cmdline { /** Color data. */ struct color_table *colors; - /** -color option. */ - bool color; + /** Colors to use for stdout. */ + const struct color_table *stdout_colors; + /** Colors to use for stderr. */ + const struct color_table *stderr_colors; /** -mindepth option. */ int mindepth; |