C++ Utilities
4.10.0
Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
|
Go to the source code of this file.
Namespaces | |
EscapeCodes | |
Encapsulates functions for formatted terminal output using ANSI escape codes. | |
Functions | |
void | EscapeCodes::setStyle (std::ostream &stream, TextAttribute displayAttribute=TextAttribute::Reset) |
void | EscapeCodes::setStyle (std::ostream &stream, Color color, ColorContext context=ColorContext::Foreground, TextAttribute displayAttribute=TextAttribute::Reset) |
void | EscapeCodes::setStyle (std::ostream &stream, Color foregroundColor, Color backgroundColor, TextAttribute displayAttribute=TextAttribute::Reset) |
void | EscapeCodes::resetStyle (std::ostream &stream) |
void | EscapeCodes::setCursor (std::ostream &stream, unsigned int row=0, unsigned int col=0) |
void | EscapeCodes::moveCursor (std::ostream &stream, unsigned int cells, Direction direction) |
void | EscapeCodes::saveCursor (std::ostream &stream) |
void | EscapeCodes::restoreCursor (std::ostream &stream) |
void | EscapeCodes::eraseDisplay (std::ostream &stream) |
void | EscapeCodes::eraseLine (std::ostream &stream) |
std::ostream & | EscapeCodes::operator<< (std::ostream &stream, TextAttribute displayAttribute) |
auto | EscapeCodes::color (Color foreground, Color background, TextAttribute displayAttribute=TextAttribute::Reset) |
std::ostream & | EscapeCodes::operator<< (std::ostream &stream, std::tuple< Color, Color, TextAttribute > displayAttribute) |
CPP_UTILITIES_EXPORT std::ostream & | EscapeCodes::operator<< (std::ostream &stream, Phrases phrase) |
Prints the specified phrase. More... | |