diff options
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r-- | cmd2/constants.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py index 06d6c6c4..9fd58b01 100644 --- a/cmd2/constants.py +++ b/cmd2/constants.py @@ -2,8 +2,6 @@ # coding=utf-8 """Constants and definitions""" -import re - # Used for command parsing, output redirection, tab completion and word # breaks. Do not change. QUOTES = ['"', "'"] @@ -15,14 +13,6 @@ REDIRECTION_TOKENS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT, REDIRECTION_APPEND] COMMENT_CHAR = '#' MULTILINE_TERMINATOR = ';' -# Regular expression to match ANSI escape codes -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' - DEFAULT_SHORTCUTS = {'?': 'help', '!': 'shell', '@': 'run_script', '@@': '_relative_run_script'} |