mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 04:26:01 +01:00
This will facilitate breaking up Nix into multiple packages for each component with Meson.
21 lines
381 B
C++
21 lines
381 B
C++
#pragma once
|
|
/**
|
|
* @file
|
|
*
|
|
* @brief Some ANSI escape sequences.
|
|
*/
|
|
|
|
namespace nix {
|
|
|
|
#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"
|
|
|
|
}
|