Show More
@@ -69,34 +69,33 b' class TermColors:' | |||||
69 |
|
69 | |||
70 | NoColor = '' # for color schemes in color-less terminals. |
|
70 | NoColor = '' # for color schemes in color-less terminals. | |
71 | Normal = '\033[0m' # Reset normal coloring |
|
71 | Normal = '\033[0m' # Reset normal coloring | |
72 | _base = '\033[%sm' # Template for all other colors |
|
|||
73 |
|
72 | |||
74 | Black = "0;30" |
|
73 | Black = "\033[0;30m" | |
75 | Red = "0;31" |
|
74 | Red = "\033[0;31m" | |
76 | Green = "0;32" |
|
75 | Green = "\033[0;32m" | |
77 | Brown = "0;33" |
|
76 | Brown = "\033[0;33m" | |
78 | Blue = "0;34" |
|
77 | Blue = "\033[0;34m" | |
79 | Purple = "0;35" |
|
78 | Purple = "\033[0;35m" | |
80 | Cyan = "0;36" |
|
79 | Cyan = "\033[0;36m" | |
81 | LightGray = "0;37" |
|
80 | LightGray = "\033[0;37m" | |
82 | # Light colors |
|
81 | # Light colors | |
83 |
DarkGray = " |
|
82 | DarkGray = "\033[1;30m" | |
84 |
LightRed = " |
|
83 | LightRed = "\033[1;31m" | |
85 |
LightGreen = " |
|
84 | LightGreen = "\033[1;32m" | |
86 |
Yellow = " |
|
85 | Yellow = "\033[1;33m" | |
87 |
LightBlue = " |
|
86 | LightBlue = "\033[1;34m" | |
88 |
LightPurple = " |
|
87 | LightPurple = "\033[1;35m" | |
89 |
LightCyan = " |
|
88 | LightCyan = "\033[1;36m" | |
90 |
White = " |
|
89 | White = "\033[1;37m" | |
91 | # Blinking colors. Probably should not be used in anything serious. |
|
90 | # Blinking colors. Probably should not be used in anything serious. | |
92 | BlinkBlack = "5;30" |
|
91 | BlinkBlack = "\033[5;30m" | |
93 | BlinkRed = "5;31" |
|
92 | BlinkRed = "\033[5;31m" | |
94 | BlinkGreen = "5;32" |
|
93 | BlinkGreen = "\033[5;32m" | |
95 | BlinkYellow = "5;33" |
|
94 | BlinkYellow = "\033[5;33m" | |
96 | BlinkBlue = "5;34" |
|
95 | BlinkBlue = "\033[5;34m" | |
97 | BlinkPurple = "5;35" |
|
96 | BlinkPurple = "\033[5;35m" | |
98 | BlinkCyan = "5;36" |
|
97 | BlinkCyan = "\033[5;36m" | |
99 | BlinkLightGray = "5;37" |
|
98 | BlinkLightGray = "\033[5;37m" | |
100 |
|
99 | |||
101 |
|
100 | |||
102 |
|
101 |
General Comments 0
You need to be logged in to leave comments.
Login now