summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/ansi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd2/ansi.py b/cmd2/ansi.py
index f54abf0a..2813d62f 100644
--- a/cmd2/ansi.py
+++ b/cmd2/ansi.py
@@ -30,7 +30,8 @@ ANSI_STYLE_RE = re.compile(r'\x1b\[[^m]*m')
class ColorBase(Enum):
"""
Base class used for defining color enums. See fg and bg classes for examples.
- This expects the child classes to define enums of the follow structure
+
+ Child classes should define enums in the follow structure:
key: color name (e.g. black)
value: anything that when cast to a string returns an ANSI sequence
"""