5 Commits

Author SHA1 Message Date
François-Xavier Bourlet
9fb93a08aa clang-format 2019-09-05 13:41:10 -07:00
François-Xavier Bourlet
8eb8fad38f Add color mode.
This is a breaking change.

The printer now offers a color_mode setting: automatic, always, never.

When given a FILE* stream on linux, the automatic mode will retrieve
file descriptor behind it and call isatty().
2017-05-28 17:03:29 -07:00
François-Xavier Bourlet
246fd67b34 Tests refactored onto less files. 2013-11-17 22:31:13 -08:00
François-Xavier Bourlet
e8b6cb2475 Tests are all passing now. 2013-11-17 22:16:13 -08:00
bastih
5a638eafd8 Improve as per bombela's suggestions, add test 2013-05-26 16:31:58 +00:00