summaryrefslogtreecommitdiff
path: root/cmd2/rl_utils.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-19 17:00:29 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-19 17:00:29 -0500
commitb0e5aabad9c902ee5d664bf58885245060114f61 (patch)
treedaf52ea8ffc62dc3eff706109c9d21ac9b69e197 /cmd2/rl_utils.py
parent1a26c0254b2c2834998b8a28f04e8aedc08c587f (diff)
downloadcmd2-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.py2
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