diff options
author | Kerin Millar <kfm@plushkava.net> | 2022-06-26 15:20:23 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-29 19:03:51 +0200 |
commit | 12024b1c2e5bb1acc8f21d78504f7a473fbf5429 (patch) | |
tree | a264cefd639ed138b46ac354da40b59d3d16c29c /doxygen | |
parent | 85ef87303df6b4b097a1495af2873a43ed3493d5 (diff) |
nlmsg: Only print ECMA-48 colour sequences to terminals
Check isatty() to skip colors for non-terminals.
Add mnl_fprintf_attr_color() and mnl_fprintf_attr_raw() helper function.
Joint work with Pablo.
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions