From e2837084eee731cfdfc542004c706b739b67d33f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 19 Jul 2020 09:51:52 -0700 Subject: [PATCH] Add a color section --- doc/api.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/api.rst b/doc/api.rst index 49cc5537..f4ea0ec7 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -15,6 +15,7 @@ The {fmt} library API consists of the following parts: and tuples * :ref:`fmt/chrono.h `: date and time formatting * :ref:`fmt/compile.h `: format string compilation +* :ref:`fmt/color.h `: terminal color and text style * :ref:`fmt/ostream.h `: ``std::ostream`` support * :ref:`fmt/printf.h `: ``printf`` formatting @@ -400,6 +401,15 @@ bottleneck. .. doxygendefine:: FMT_COMPILE +.. _color-api: + +Terminal color and text style +============================= + +``fmt/color.h`` provides support for terminal color and text style output. + +.. doxygenfunction:: print(const text_style&, const S&, const Args&...) + .. _ostream-api: ``std::ostream`` Support