summaryrefslogtreecommitdiff
path: root/cmd2/constants.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-11 12:39:38 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-11 12:39:38 -0500
commit023d5afadabfba19d77dcc7ec6c7f8a5c8bd1651 (patch)
tree5f37b4f4e8d5d4aa8be3f56624a4138e8b7bc582 /cmd2/constants.py
parent8d9f97bdcaacf8465e8fe61f64e5d22753cc415c (diff)
downloadcmd2-git-023d5afadabfba19d77dcc7ec6c7f8a5c8bd1651.tar.gz
Fixed bug where ANSI style sequences were not correctly handled in utils.truncate_line()
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 9e8e7780..04042d4d 100644
--- a/cmd2/constants.py
+++ b/cmd2/constants.py
@@ -14,6 +14,7 @@ COMMENT_CHAR = '#'
MULTILINE_TERMINATOR = ';'
LINE_FEED = '\n'
+HORIZONTAL_ELLIPSIS = '\N{HORIZONTAL ELLIPSIS}'
DEFAULT_SHORTCUTS = {'?': 'help', '!': 'shell', '@': 'run_script', '@@': '_relative_run_script'}