fiber
Loading...
Searching...
No Matches
fiber::ansi Namespace Reference

Variables

constexpr std::string_view reset = FIBER_ANSI_CODE("\x1b[0m")
 
constexpr std::string_view bold = FIBER_ANSI_CODE("\x1b[1m")
 
constexpr std::string_view dim = FIBER_ANSI_CODE("\x1b[2m")
 
constexpr std::string_view italic = FIBER_ANSI_CODE("\x1b[3m")
 
constexpr std::string_view underline = FIBER_ANSI_CODE("\x1b[4m")
 
constexpr std::string_view inverse = FIBER_ANSI_CODE("\x1b[7m")
 
constexpr std::string_view hidden = FIBER_ANSI_CODE("\x1b[8m")
 
constexpr std::string_view strikethrough = FIBER_ANSI_CODE("\x1b[9m")
 
constexpr std::string_view black = FIBER_ANSI_CODE("\x1b[30m")
 
constexpr std::string_view red = FIBER_ANSI_CODE("\x1b[31m")
 
constexpr std::string_view green = FIBER_ANSI_CODE("\x1b[32m")
 
constexpr std::string_view yellow = FIBER_ANSI_CODE("\x1b[33m")
 
constexpr std::string_view orange = FIBER_ANSI_CODE("\x1b[38;2;255;165;0m")
 
constexpr std::string_view blue = FIBER_ANSI_CODE("\x1b[34m")
 
constexpr std::string_view magenta = FIBER_ANSI_CODE("\x1b[35m")
 
constexpr std::string_view cyan = FIBER_ANSI_CODE("\x1b[36m")
 
constexpr std::string_view white = FIBER_ANSI_CODE("\x1b[37m")
 
constexpr std::string_view light_black = FIBER_ANSI_CODE("\x1b[38;2;80;80;80m")
 
constexpr std::string_view light_red = FIBER_ANSI_CODE("\x1b[38;2;255;85;85m")
 
constexpr std::string_view light_green = FIBER_ANSI_CODE("\x1b[38;2;144;238;144m")
 
constexpr std::string_view light_yellow = FIBER_ANSI_CODE("\x1b[38;2;255;255;145m")
 
constexpr std::string_view light_orange = FIBER_ANSI_CODE("\x1b[38;2;255;190;20m")
 
constexpr std::string_view light_blue = FIBER_ANSI_CODE("\x1b[38;2;173;216;230m")
 
constexpr std::string_view light_magenta = FIBER_ANSI_CODE("\x1b[38;2;240;140;240m")
 
constexpr std::string_view light_cyan = FIBER_ANSI_CODE("\x1b[38;2;128;255;255m")
 
constexpr std::string_view light_grey = FIBER_ANSI_CODE("\x1b[38;2;200;200;200m")
 
constexpr std::string_view bright_black = FIBER_ANSI_CODE("\x1b[90m")
 
constexpr std::string_view bright_red = FIBER_ANSI_CODE("\x1b[91m")
 
constexpr std::string_view bright_green = FIBER_ANSI_CODE("\x1b[92m")
 
constexpr std::string_view bright_yellow = FIBER_ANSI_CODE("\x1b[93m")
 
constexpr std::string_view bright_blue = FIBER_ANSI_CODE("\x1b[94m")
 
constexpr std::string_view bright_magenta = FIBER_ANSI_CODE("\x1b[95m")
 
constexpr std::string_view bright_cyan = FIBER_ANSI_CODE("\x1b[96m")
 
constexpr std::string_view bright_white = FIBER_ANSI_CODE("\x1b[97m")
 
constexpr std::string_view bg_black = FIBER_ANSI_CODE("\x1b[40m")
 
constexpr std::string_view bg_red = FIBER_ANSI_CODE("\x1b[41m")
 
constexpr std::string_view bg_green = FIBER_ANSI_CODE("\x1b[42m")
 
constexpr std::string_view bg_yellow = FIBER_ANSI_CODE("\x1b[43m")
 
constexpr std::string_view bg_blue = FIBER_ANSI_CODE("\x1b[44m")
 
constexpr std::string_view bg_magenta = FIBER_ANSI_CODE("\x1b[45m")
 
constexpr std::string_view bg_cyan = FIBER_ANSI_CODE("\x1b[46m")
 
constexpr std::string_view bg_white = FIBER_ANSI_CODE("\x1b[47m")
 
constexpr std::string_view bg_bright_black = FIBER_ANSI_CODE("\x1b[100m")
 
constexpr std::string_view bg_bright_red = FIBER_ANSI_CODE("\x1b[101m")
 
constexpr std::string_view bg_bright_green = FIBER_ANSI_CODE("\x1b[102m")
 
constexpr std::string_view bg_bright_yellow = FIBER_ANSI_CODE("\x1b[103m")
 
constexpr std::string_view bg_bright_blue = FIBER_ANSI_CODE("\x1b[104m")
 
constexpr std::string_view bg_bright_magenta = FIBER_ANSI_CODE("\x1b[105m")
 
constexpr std::string_view bg_bright_cyan = FIBER_ANSI_CODE("\x1b[106m")
 
constexpr std::string_view bg_bright_white = FIBER_ANSI_CODE("\x1b[107m")
 
constexpr std::string_view grey = bright_black
 

Variable Documentation

◆ bg_black

std::string_view fiber::ansi::bg_black = FIBER_ANSI_CODE("\x1b[40m")
constexpr

◆ bg_blue

std::string_view fiber::ansi::bg_blue = FIBER_ANSI_CODE("\x1b[44m")
constexpr

◆ bg_bright_black

std::string_view fiber::ansi::bg_bright_black = FIBER_ANSI_CODE("\x1b[100m")
constexpr

◆ bg_bright_blue

std::string_view fiber::ansi::bg_bright_blue = FIBER_ANSI_CODE("\x1b[104m")
constexpr

◆ bg_bright_cyan

std::string_view fiber::ansi::bg_bright_cyan = FIBER_ANSI_CODE("\x1b[106m")
constexpr

◆ bg_bright_green

std::string_view fiber::ansi::bg_bright_green = FIBER_ANSI_CODE("\x1b[102m")
constexpr

◆ bg_bright_magenta

std::string_view fiber::ansi::bg_bright_magenta = FIBER_ANSI_CODE("\x1b[105m")
constexpr

◆ bg_bright_red

std::string_view fiber::ansi::bg_bright_red = FIBER_ANSI_CODE("\x1b[101m")
constexpr

◆ bg_bright_white

std::string_view fiber::ansi::bg_bright_white = FIBER_ANSI_CODE("\x1b[107m")
constexpr

◆ bg_bright_yellow

std::string_view fiber::ansi::bg_bright_yellow = FIBER_ANSI_CODE("\x1b[103m")
constexpr

◆ bg_cyan

std::string_view fiber::ansi::bg_cyan = FIBER_ANSI_CODE("\x1b[46m")
constexpr

◆ bg_green

std::string_view fiber::ansi::bg_green = FIBER_ANSI_CODE("\x1b[42m")
constexpr

◆ bg_magenta

std::string_view fiber::ansi::bg_magenta = FIBER_ANSI_CODE("\x1b[45m")
constexpr

◆ bg_red

std::string_view fiber::ansi::bg_red = FIBER_ANSI_CODE("\x1b[41m")
constexpr

◆ bg_white

std::string_view fiber::ansi::bg_white = FIBER_ANSI_CODE("\x1b[47m")
constexpr

◆ bg_yellow

std::string_view fiber::ansi::bg_yellow = FIBER_ANSI_CODE("\x1b[43m")
constexpr

◆ black

std::string_view fiber::ansi::black = FIBER_ANSI_CODE("\x1b[30m")
constexpr

◆ blue

std::string_view fiber::ansi::blue = FIBER_ANSI_CODE("\x1b[34m")
constexpr

◆ bold

std::string_view fiber::ansi::bold = FIBER_ANSI_CODE("\x1b[1m")
constexpr

◆ bright_black

std::string_view fiber::ansi::bright_black = FIBER_ANSI_CODE("\x1b[90m")
constexpr

◆ bright_blue

std::string_view fiber::ansi::bright_blue = FIBER_ANSI_CODE("\x1b[94m")
constexpr

◆ bright_cyan

std::string_view fiber::ansi::bright_cyan = FIBER_ANSI_CODE("\x1b[96m")
constexpr

◆ bright_green

std::string_view fiber::ansi::bright_green = FIBER_ANSI_CODE("\x1b[92m")
constexpr

◆ bright_magenta

std::string_view fiber::ansi::bright_magenta = FIBER_ANSI_CODE("\x1b[95m")
constexpr

◆ bright_red

std::string_view fiber::ansi::bright_red = FIBER_ANSI_CODE("\x1b[91m")
constexpr

◆ bright_white

std::string_view fiber::ansi::bright_white = FIBER_ANSI_CODE("\x1b[97m")
constexpr

◆ bright_yellow

std::string_view fiber::ansi::bright_yellow = FIBER_ANSI_CODE("\x1b[93m")
constexpr

◆ cyan

std::string_view fiber::ansi::cyan = FIBER_ANSI_CODE("\x1b[36m")
constexpr

◆ dim

std::string_view fiber::ansi::dim = FIBER_ANSI_CODE("\x1b[2m")
constexpr

◆ green

std::string_view fiber::ansi::green = FIBER_ANSI_CODE("\x1b[32m")
constexpr

◆ grey

std::string_view fiber::ansi::grey = bright_black
constexpr

◆ hidden

std::string_view fiber::ansi::hidden = FIBER_ANSI_CODE("\x1b[8m")
constexpr

◆ inverse

std::string_view fiber::ansi::inverse = FIBER_ANSI_CODE("\x1b[7m")
constexpr

◆ italic

std::string_view fiber::ansi::italic = FIBER_ANSI_CODE("\x1b[3m")
constexpr

◆ light_black

std::string_view fiber::ansi::light_black = FIBER_ANSI_CODE("\x1b[38;2;80;80;80m")
constexpr

◆ light_blue

std::string_view fiber::ansi::light_blue = FIBER_ANSI_CODE("\x1b[38;2;173;216;230m")
constexpr

◆ light_cyan

std::string_view fiber::ansi::light_cyan = FIBER_ANSI_CODE("\x1b[38;2;128;255;255m")
constexpr

◆ light_green

std::string_view fiber::ansi::light_green = FIBER_ANSI_CODE("\x1b[38;2;144;238;144m")
constexpr

◆ light_grey

std::string_view fiber::ansi::light_grey = FIBER_ANSI_CODE("\x1b[38;2;200;200;200m")
constexpr

◆ light_magenta

std::string_view fiber::ansi::light_magenta = FIBER_ANSI_CODE("\x1b[38;2;240;140;240m")
constexpr

◆ light_orange

std::string_view fiber::ansi::light_orange = FIBER_ANSI_CODE("\x1b[38;2;255;190;20m")
constexpr

◆ light_red

std::string_view fiber::ansi::light_red = FIBER_ANSI_CODE("\x1b[38;2;255;85;85m")
constexpr

◆ light_yellow

std::string_view fiber::ansi::light_yellow = FIBER_ANSI_CODE("\x1b[38;2;255;255;145m")
constexpr

◆ magenta

std::string_view fiber::ansi::magenta = FIBER_ANSI_CODE("\x1b[35m")
constexpr

◆ orange

std::string_view fiber::ansi::orange = FIBER_ANSI_CODE("\x1b[38;2;255;165;0m")
constexpr

◆ red

std::string_view fiber::ansi::red = FIBER_ANSI_CODE("\x1b[31m")
constexpr

◆ reset

std::string_view fiber::ansi::reset = FIBER_ANSI_CODE("\x1b[0m")
constexpr

◆ strikethrough

std::string_view fiber::ansi::strikethrough = FIBER_ANSI_CODE("\x1b[9m")
constexpr

◆ underline

std::string_view fiber::ansi::underline = FIBER_ANSI_CODE("\x1b[4m")
constexpr

◆ white

std::string_view fiber::ansi::white = FIBER_ANSI_CODE("\x1b[37m")
constexpr

◆ yellow

std::string_view fiber::ansi::yellow = FIBER_ANSI_CODE("\x1b[33m")
constexpr