C++ Utilities 5.27.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
ansiescapecodes.cpp File Reference
Include dependency graph for ansiescapecodes.cpp:

Go to the source code of this file.

Namespaces

namespace  CppUtilities
 Contains all utilities provides by the c++utilities library.
 
namespace  CppUtilities::EscapeCodes
 Encapsulates functions for formatted terminal output using ANSI escape codes.
 

Functions

CPP_UTILITIES_EXPORT std::ostream & CppUtilities::EscapeCodes::operator<< (std::ostream &stream, Phrases phrase)
 Prints the specified phrase in a formatted manner using ANSI escape codes.
 
CPP_UTILITIES_EXPORT std::string_view CppUtilities::EscapeCodes::phraseString (Phrases phrase)
 Returns a string for the specified phrase without formatting.
 
CPP_UTILITIES_EXPORT std::string_view CppUtilities::EscapeCodes::formattedPhraseString (Phrases phrase)
 Returns a string for the specified phrase which is formatted using ANSI escape codes.