mirror of
https://github.com/NixOS/nix.git
synced 2025-12-23 09:21:09 +01:00
Move /src to /subprojects
This will facilitate breaking up Nix into multiple packages for each component with Meson.
This commit is contained in:
parent
4db9487823
commit
84e2963f8e
737 changed files with 504 additions and 505 deletions
21
subprojects/libutil/ansicolor.hh
Normal file
21
subprojects/libutil/ansicolor.hh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#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"
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue