forked from ArchC/sparc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansi-colors.h
57 lines (53 loc) · 1.29 KB
/
ansi-colors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* @file ansi-colors.h
* @author Sandro Rigo
* Marcus Bartholomeu
*
* The ArchC Team
* http://www.archc.org/
*
* Computer Systems Laboratory (LSC)
* IC-UNICAMP
* http://www.lsc.ic.unicamp.br
*
* @version 1.0
* @date Mon, 19 Jun 2006 15:50:50 -0300
*
* @brief The ArchC SPARC-V8 functional model.
*
* @attention Copyright (C) 2002-2006 --- The ArchC Team
*
*/
#ifndef ANSI_COLORS_H
#define ANSI_COLORS_H
#define C_RESET "\E[0m"
#define C_BOLD "\E[1m"
#define C_ITALIC "\E[3m"
#define C_UNDERLINE "\E[4m"
#define C_INVERSE "\E[7m"
#define C_STRIKETHROUGH "\E[9m"
#define C_BOLD_OFF "\E[22m"
#define C_ITALIC_OFF "\E[23m"
#define C_UNDERLINE_OFF "\E[24m"
#define C_INVERSE_OFF "\E[27m"
#define C_STRIKETHROUGH_OFF "\E[29m"
#define CF_BLACK "\E[30m"
#define CF_RED "\E[31m"
#define CF_GREEN "\E[32m"
#define CF_YELLOW "\E[33m"
#define CF_BLUE "\E[34m"
#define CF_MAGENTA "\E[35m"
#define CF_CYAN "\E[36m"
#define CF_WHITE "\E[37m"
#define CF_DEFAULT "\E[39m"
#define CB_BLACK "\E[40m"
#define CB_RED "\E[41m"
#define CB_GREEN "\E[42m"
#define CB_YELLOW "\E[43m"
#define CB_BLUE "\E[44m"
#define CB_MAGENTA "\E[45m"
#define CB_CYAN "\E[46m"
#define CB_WHILE "\E[47m"
#define CB_DEFAULT "\E[49m"
#define LF "\n"
#endif