2020-05-05 13:18:23 +00:00
|
|
|
#pragma once
|
2023-04-07 13:55:28 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*
|
|
|
|
* @brief Some ANSI escape sequences.
|
|
|
|
*/
|
2020-05-05 13:18:23 +00:00
|
|
|
|
|
|
|
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"
|
2021-09-14 08:41:26 +00:00
|
|
|
#define ANSI_WARNING "\e[35;1m"
|
2020-05-05 13:18:23 +00:00
|
|
|
#define ANSI_BLUE "\e[34;1m"
|
2020-07-12 14:50:22 +00:00
|
|
|
#define ANSI_MAGENTA "\e[35;1m"
|
|
|
|
#define ANSI_CYAN "\e[36;1m"
|
2020-03-27 16:55:09 +00:00
|
|
|
|
|
|
|
}
|