diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-20 00:32:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-20 00:32:08 +0000 |
commit | 3f737b4b25810cbdc8386777ade0c9b819bb25c1 (patch) | |
tree | 4d66a99911c9a7bda7d817d7a157bcb207363cba /cmd2/constants.py | |
parent | 9df22b9305b918034217dee6721dc348a4610e65 (diff) | |
parent | cd9eee25c98a03a46ddaa98f8e80cfc8cd4d0464 (diff) | |
download | cmd2-git-3f737b4b25810cbdc8386777ade0c9b819bb25c1.tar.gz |
Merge pull request #462 from python-cmd2/plugin_functions
Add methods to register hooks, for better plugin support
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r-- | cmd2/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py index b829000f..d3e8a125 100644 --- a/cmd2/constants.py +++ b/cmd2/constants.py @@ -15,3 +15,5 @@ REDIRECTION_TOKENS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT, REDIRECTION_APPEND] # Regular expression to match ANSI escape codes ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m') + +LINE_FEED = '\n' |