-
Notifications
You must be signed in to change notification settings - Fork 4
/
ansi.h
43 lines (38 loc) · 979 Bytes
/
ansi.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
/* ansi.h - ansi color header for miscellaneous programs
* This is Free so have fun with it!
* Last Modified 01/12/99
*/
#ifndef _ANSI_H
#define _ANSI_H
#define KNRM "\x1B[0m"
#define KBLD "\x1B[0;1m"
#define KRVS "\x1B[7m"
#define KRED "\x1B[0;31m"
#define KGRN "\x1B[0;32m"
#define KYLW "\x1B[0;33m"
#define KBLU "\x1B[0;34m"
#define KMAG "\x1B[0;35m"
#define KCYN "\x1B[0;36m"
#define KGRY "\x1B[0;2m"
#define KLTRED "\x1B[1;31m"
#define KLTGRN "\x1B[1;32m"
#define KLTYLW "\x1B[1;33m"
#define KLTBLU "\x1B[1;34m"
#define KLTMAG "\x1B[1;35m"
#define KLTCYN "\x1B[1;36m"
#define KBRED "\x1B[7;31m"
#define KBGRN "\x1B[7;32m"
#define KBYLW "\x1B[7;33m"
#define KBBLU "\x1B[7;34m"
#define KBMAG "\x1B[7;35m"
#define KBCYN "\x1B[7;36m"
#define KBWHT "\x1B[7;37m"
#define KBGRY "\x1B[7;39m"
#define KFRED "\x1B[41m"
#define KFGRN "\x1B[42m"
#define KFYLW "\x1B[43m"
#define KFBLU "\x1B[44m"
#define KFMAG "\x1B[45m"
#define KFCYN "\x1B[46m"
#define KFWHT "\x1B[47m"
#endif