diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-26 13:14:41 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-26 13:14:41 -0400 |
commit | 67e69cf1137b31c01dbc239af6aecd0c265ffb40 (patch) | |
tree | 891d95e44f4359f11ba4f40fafed637f3772dea0 /cmd2/constants.py | |
parent | ee9c10115380635da070df05e83d9fd175187fb8 (diff) | |
parent | 303733526d7335133f7f2dc55f54dca410a9f1de (diff) | |
download | cmd2-git-67e69cf1137b31c01dbc239af6aecd0c265ffb40.tar.gz |
Merge branch 'master' into macro
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r-- | cmd2/constants.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py index d3e8a125..3c133b70 100644 --- a/cmd2/constants.py +++ b/cmd2/constants.py @@ -17,3 +17,8 @@ REDIRECTION_TOKENS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT, REDIRECTION_APPEND] ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m') LINE_FEED = '\n' + +# values for colors setting +COLORS_NEVER = 'Never' +COLORS_TERMINAL = 'Terminal' +COLORS_ALWAYS = 'Always' |