Add a color section

This commit is contained in:
Victor Zverovich 2020-07-19 09:51:52 -07:00
parent 9f0c003371
commit e2837084ee

View File

@ -15,6 +15,7 @@ The {fmt} library API consists of the following parts:
and tuples
* :ref:`fmt/chrono.h <chrono-api>`: date and time formatting
* :ref:`fmt/compile.h <compile-api>`: format string compilation
* :ref:`fmt/color.h <color-api>`: terminal color and text style
* :ref:`fmt/ostream.h <ostream-api>`: ``std::ostream`` support
* :ref:`fmt/printf.h <printf-api>`: ``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