summaryrefslogtreecommitdiff
path: root/cmd2/constants.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-07-20 00:32:08 +0000
committerGitHub <noreply@github.com>2018-07-20 00:32:08 +0000
commit3f737b4b25810cbdc8386777ade0c9b819bb25c1 (patch)
tree4d66a99911c9a7bda7d817d7a157bcb207363cba /cmd2/constants.py
parent9df22b9305b918034217dee6721dc348a4610e65 (diff)
parentcd9eee25c98a03a46ddaa98f8e80cfc8cd4d0464 (diff)
downloadcmd2-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.py2
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'