summaryrefslogtreecommitdiff
path: root/cmd2/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r--cmd2/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py
index af0a44cc..b829000f 100644
--- a/cmd2/constants.py
+++ b/cmd2/constants.py
@@ -11,6 +11,7 @@ REDIRECTION_PIPE = '|'
REDIRECTION_OUTPUT = '>'
REDIRECTION_APPEND = '>>'
REDIRECTION_CHARS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT]
+REDIRECTION_TOKENS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT, REDIRECTION_APPEND]
# Regular expression to match ANSI escape codes
ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m')