![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <iostream>
#include <mutable/mutable-config.hpp>
Go to the source code of this file.
Data Structures | |
struct | m::term::Color |
Wrapper class to ease the use of terminal colors (foreground and background). More... | |
Namespaces | |
namespace | m |
| |
namespace | m::term |
Functions | |
Color | m::term::fg (unsigned color) |
Create a foreground color to be printed in a terminal. | |
Color | m::term::bg (unsigned color) |
Create a background color to be printed in a terminal. | |
bool M_EXPORT | m::term::has_color () |
Returns true if the terminal is known to support colors, false otherwise. | |
Variables | |
constexpr const char * | m::term::RESET = "\033[0m" |
constexpr const char * | m::term::BOLD = "\033[1m" |
constexpr const char * | m::term::HALF_BRIGHT = "\033[2m" |
constexpr const char * | m::term::ITALIC = "\033[3m" |
constexpr const char * | m::term::UNDERLINE = "\033[4m" |
constexpr const char * | m::term::BLINK = "\033[5m" |
constexpr const char * | m::term::REVERSE = "\033[7m" |
constexpr const char * | m::term::DOUBLE_UNDERLINE = "\033[21m" |
constexpr const char * | m::term::NORMAL = "\033[22m" |
constexpr const char * | m::term::UNDERLINE_OFF = "\033[24m" |
constexpr const char * | m::term::BLINK_OFF = "\033[25m" |
constexpr const char * | m::term::REVERSE_OFF = "\033[27m" |
constexpr const char * | m::term::FG_BLACK = "\033[30m" |
constexpr const char * | m::term::FG_RED = "\033[31m" |
constexpr const char * | m::term::FG_GREEN = "\033[32m" |
constexpr const char * | m::term::FG_YELLOW = "\033[33m" |
constexpr const char * | m::term::FG_BLUE = "\033[34m" |
constexpr const char * | m::term::FG_MAGENTA = "\033[35m" |
constexpr const char * | m::term::FG_CYAN = "\033[36m" |
constexpr const char * | m::term::FG_WHITE = "\033[37m" |
constexpr const char * | m::term::BG_BLACK = "\033[40m" |
constexpr const char * | m::term::BG_RED = "\033[41m" |
constexpr const char * | m::term::BG_GREEN = "\033[42m" |
constexpr const char * | m::term::BG_YELLOW = "\033[43m" |
constexpr const char * | m::term::BG_BLUE = "\033[44m" |
constexpr const char * | m::term::BG_MAGENTA = "\033[45m" |
constexpr const char * | m::term::BG_CYAN = "\033[46m" |
constexpr const char * | m::term::BG_WHITE = "\033[47m" |
constexpr const char * | m::term::BG_DEFAULT = "\033[49m" |