diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-01-08 17:11:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 17:11:17 -0500 |
commit | db093b630ed487838337a04a28af79475d37d1e0 (patch) | |
tree | d78cd5fcbb4946206377a162bbcb3b7c01576d15 /cmd2/rl_utils.py | |
parent | 97dd6f37482510cfc424049ff0b0369b79e34335 (diff) | |
parent | 383853ee92f69c3e4ccadacd34e0f22e1e896345 (diff) | |
download | cmd2-git-db093b630ed487838337a04a28af79475d37d1e0.tar.gz |
Merge pull request #843 from python-cmd2/ansi_to_style
ansi to style
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py index 9a23cbcd..4df733db 100644 --- a/cmd2/rl_utils.py +++ b/cmd2/rl_utils.py @@ -193,7 +193,7 @@ def rl_set_prompt(prompt: str) -> None: # pragma: no cover def rl_make_safe_prompt(prompt: str) -> str: # pragma: no cover - """Overcome bug in GNU Readline in relation to calculation of prompt length in presence of ANSI escape codes. + """Overcome bug in GNU Readline in relation to calculation of prompt length in presence of ANSI escape codes :param prompt: original prompt :return: prompt safe to pass to GNU Readline |