diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-12-19 17:00:29 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-12-19 17:00:29 -0500 |
commit | b0e5aabad9c902ee5d664bf58885245060114f61 (patch) | |
tree | daf52ea8ffc62dc3eff706109c9d21ac9b69e197 /cmd2/rl_utils.py | |
parent | 1a26c0254b2c2834998b8a28f04e8aedc08c587f (diff) | |
download | cmd2-git-b0e5aabad9c902ee5d664bf58885245060114f61.tar.gz |
Renamed ansi_safe_wcswidth() to style_aware_wcswidth()
Renamed ansi_aware_write() to style_aware_write()
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 |