diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-07 15:40:12 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-07 15:40:12 -0500 |
commit | 715af6059d06521c8f0054007a1105d211402d63 (patch) | |
tree | 9750793bab06c519362712ee3e4c56ff7c7fc662 /cmd2/ansi.py | |
parent | 79044ee0c6f3523fad38f262caf016d7c4363f91 (diff) | |
download | cmd2-git-715af6059d06521c8f0054007a1105d211402d63.tar.gz |
Fixed docs error
Diffstat (limited to 'cmd2/ansi.py')
-rw-r--r-- | cmd2/ansi.py | 3 |
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 """ |