aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/ansicolor.hh
blob: 390bd4d17c384ec6cd752c61da5ddf23d7a2d952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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_RED "\e[31;1m"
  #define ANSI_GREEN "\e[32;1m"
  #define ANSI_YELLOW "\e[33;1m"
  #define ANSI_BLUE "\e[34;1m"
}