summaryrefslogtreecommitdiff
path: root/cmd2/ansi.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/ansi.py')
-rw-r--r--cmd2/ansi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/ansi.py b/cmd2/ansi.py
index d0159629..0f34016d 100644
--- a/cmd2/ansi.py
+++ b/cmd2/ansi.py
@@ -184,7 +184,7 @@ def strip_style(text: str) -> str:
def style_aware_wcswidth(text: str) -> int:
"""
- Wrap wcswidth to make it compatible with strings that contains ANSI style sequences.
+ Wrap wcswidth to make it compatible with strings that contain ANSI style sequences.
This is intended for single line strings. If text contains a newline, this
function will return -1. For multiline strings, call widest_line() instead.