mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
58b5036c54
This matches gcc and clang.
17 lines
357 B
C++
17 lines
357 B
C++
#pragma once
|
|
|
|
namespace nix {
|
|
|
|
/* Some ANSI escape sequences. */
|
|
#define ANSI_NORMAL "\e[0m"
|
|
#define ANSI_BOLD "\e[1m"
|
|
#define ANSI_FAINT "\e[2m"
|
|
#define ANSI_ITALIC "\e[3m"
|
|
#define ANSI_RED "\e[31;1m"
|
|
#define ANSI_GREEN "\e[32;1m"
|
|
#define ANSI_WARNING "\e[35;1m"
|
|
#define ANSI_BLUE "\e[34;1m"
|
|
#define ANSI_MAGENTA "\e[35;1m"
|
|
#define ANSI_CYAN "\e[36;1m"
|
|
|
|
}
|