diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-11 12:39:38 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-11 12:39:38 -0500 |
commit | 023d5afadabfba19d77dcc7ec6c7f8a5c8bd1651 (patch) | |
tree | 5f37b4f4e8d5d4aa8be3f56624a4138e8b7bc582 /cmd2/constants.py | |
parent | 8d9f97bdcaacf8465e8fe61f64e5d22753cc415c (diff) | |
download | cmd2-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.py | 1 |
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'} |