File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ class Colour(str):
96
96
"""
97
97
An ANSI escape sequence representing a colour.
98
98
99
+ The colour can be used as a context manager, a string, or a function.
100
+
99
101
:param style: Escape sequence representing the style.
100
102
:type style: str
101
103
:param stack: The stack to place the escape sequence on.
@@ -220,6 +222,8 @@ class AnsiFore(AnsiCodes):
220
222
"""
221
223
ANSI Colour Codes for foreground colour.
222
224
225
+ The colours can be used as a context manager, a string, or a function.
226
+
223
227
Valid values are:
224
228
225
229
* BLACK
@@ -269,6 +273,8 @@ class AnsiBack(AnsiCodes):
269
273
"""
270
274
ANSI Colour Codes for background colour.
271
275
276
+ The colours can be used as a context manager, a string, or a function.
277
+
272
278
Valid values are:
273
279
274
280
* BLACK
You can’t perform that action at this time.
0 commit comments