MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
Loading...
Searching...
No Matches
mx::Color Namespace Reference

ANSI escape code constants for terminal coloring. More...

Variables

const std::string RESET = "\033[0m"
const std::string BOLD = "\033[1m"
const std::string DIM = "\033[2m"
const std::string BLACK = "\033[30m"
const std::string RED = "\033[31m"
const std::string GREEN = "\033[32m"
const std::string YELLOW = "\033[33m"
const std::string BLUE = "\033[34m"
const std::string MAGENTA = "\033[35m"
const std::string CYAN = "\033[36m"
const std::string WHITE = "\033[37m"
const std::string BRIGHT_RED = "\033[91m"
const std::string BRIGHT_GREEN = "\033[92m"
const std::string BRIGHT_YELLOW = "\033[93m"
const std::string BRIGHT_BLUE = "\033[94m"
const std::string BRIGHT_MAGENTA = "\033[95m"
const std::string BRIGHT_CYAN = "\033[96m"
const std::string BG_RED = "\033[41m"
const std::string BG_GREEN = "\033[42m"
const std::string BG_YELLOW = "\033[43m"

Detailed Description

ANSI escape code constants for terminal coloring.

Variable Documentation

◆ BG_GREEN

const std::string mx::Color::BG_GREEN = "\033[42m"

Definition at line 84 of file exception.hpp.

◆ BG_RED

const std::string mx::Color::BG_RED = "\033[41m"

Definition at line 83 of file exception.hpp.

◆ BG_YELLOW

const std::string mx::Color::BG_YELLOW = "\033[43m"

Definition at line 85 of file exception.hpp.

◆ BLACK

const std::string mx::Color::BLACK = "\033[30m"

Definition at line 69 of file exception.hpp.

◆ BLUE

const std::string mx::Color::BLUE = "\033[34m"

Definition at line 73 of file exception.hpp.

◆ BOLD

const std::string mx::Color::BOLD = "\033[1m"

Definition at line 67 of file exception.hpp.

◆ BRIGHT_BLUE

const std::string mx::Color::BRIGHT_BLUE = "\033[94m"

◆ BRIGHT_CYAN

const std::string mx::Color::BRIGHT_CYAN = "\033[96m"

◆ BRIGHT_GREEN

const std::string mx::Color::BRIGHT_GREEN = "\033[92m"

◆ BRIGHT_MAGENTA

const std::string mx::Color::BRIGHT_MAGENTA = "\033[95m"

Definition at line 81 of file exception.hpp.

◆ BRIGHT_RED

const std::string mx::Color::BRIGHT_RED = "\033[91m"

Definition at line 77 of file exception.hpp.

Referenced by createMakefile().

◆ BRIGHT_YELLOW

const std::string mx::Color::BRIGHT_YELLOW = "\033[93m"

Definition at line 79 of file exception.hpp.

◆ CYAN

const std::string mx::Color::CYAN = "\033[36m"

Definition at line 75 of file exception.hpp.

◆ DIM

const std::string mx::Color::DIM = "\033[2m"

Definition at line 68 of file exception.hpp.

◆ GREEN

const std::string mx::Color::GREEN = "\033[32m"

Definition at line 71 of file exception.hpp.

◆ MAGENTA

const std::string mx::Color::MAGENTA = "\033[35m"

Definition at line 74 of file exception.hpp.

◆ RED

const std::string mx::Color::RED = "\033[31m"

◆ RESET

const std::string mx::Color::RESET = "\033[0m"

Definition at line 66 of file exception.hpp.

Referenced by Col().

◆ WHITE

const std::string mx::Color::WHITE = "\033[37m"

Definition at line 76 of file exception.hpp.

◆ YELLOW

const std::string mx::Color::YELLOW = "\033[33m"

Definition at line 72 of file exception.hpp.