ANSI.hpp
Simple functions to manipulate strings. Status: RELEASE.
This file is part of Empirical, https://github.com/devosoft/Empirical Copyright (C) 2025 Michigan State University MIT Software license; see doc/LICENSE.md
Defines
-
INCLUDE_EMP_IO_ANSI_HPP_GUARD
Functions
Variables
-
constexpr char Reset[] = "\033[0m"
-
constexpr char Bold[] = "\033[1m"
-
constexpr char Faint[] = "\033[2m"
-
constexpr char Italic[] = "\033[3m"
-
constexpr char Underline[] = "\033[4m"
-
constexpr char SlowBlink[] = "\033[5m"
-
constexpr char Blink[] = "\033[6m"
-
constexpr char Reverse[] = "\033[7m"
-
constexpr char Strike[] = "\033[9m"
-
constexpr char NoBold[] = "\033[22m"
-
constexpr char NoItalic[] = "\033[23m"
-
constexpr char NoUnderline[] = "\033[24m"
-
constexpr char NoBlink[] = "\033[25m"
-
constexpr char NoReverse[] = "\033[27m"
-
constexpr char NoStrike[] = "\033[29m"
-
constexpr char Black[] = "\033[30m"
-
constexpr char Red[] = "\033[31m"
-
constexpr char Green[] = "\033[32m"
-
constexpr char Yellow[] = "\033[33m"
-
constexpr char Blue[] = "\033[34m"
-
constexpr char Magenta[] = "\033[35m"
-
constexpr char Cyan[] = "\033[36m"
-
constexpr char White[] = "\033[37m"
-
constexpr char DefaultColor[] = "\033[39m"
-
constexpr char BlackBG[] = "\033[40m"
-
constexpr char RedBG[] = "\033[41m"
-
constexpr char GreenBG[] = "\033[42m"
-
constexpr char YellowBG[] = "\033[43m"
-
constexpr char BlueBG[] = "\033[44m"
-
constexpr char MagentaBG[] = "\033[45m"
-
constexpr char CyanBG[] = "\033[46m"
-
constexpr char WhiteBG[] = "\033[47m"
-
constexpr char DefaultBGColor[] = "\033[49m"
-
constexpr char BrightBlack[] = "\033[90m"
-
constexpr char BrightRed[] = "\033[91m"
-
constexpr char BrightGreen[] = "\033[92m"
-
constexpr char BrightYellow[] = "\033[93m"
-
constexpr char BrightBlue[] = "\033[94m"
-
constexpr char BrightMagenta[] = "\033[95m"
-
constexpr char BrightCyan[] = "\033[96m"
-
constexpr char BrightWhite[] = "\033[97m"
-
constexpr char BrightBlackBG[] = "\033[100m"
-
constexpr char BrightRedBG[] = "\033[101m"
-
constexpr char BrightGreenBG[] = "\033[102m"
-
constexpr char BrightYellowBG[] = "\033[103m"
-
constexpr char BrightBlueBG[] = "\033[104m"
-
constexpr char BrightMagentaBG[] = "\033[105m"
-
constexpr char BrightCyanBG[] = "\033[106m"
-
constexpr char BrightWhiteBG[] = "\033[107m"