We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e7ca2 commit b618cccCopy full SHA for b618ccc
1 file changed
rich/cells.py
@@ -161,7 +161,7 @@ def _cell_len(text: str, unicode_version: str) -> int:
161
def split_graphemes(
162
text: str, unicode_version: str = "auto"
163
) -> "tuple[list[CellSpan], int]":
164
- """Divide text into spans that define a single grapheme, and additonally return the cell length of the whole string.
+ """Divide text into spans that define a single grapheme, and additionally return the cell length of the whole string.
165
166
The returned spans will cover every index in the string, with no gaps. It is possible for some graphemes to have a cell length of zero.
167
This can occur for nonsense strings like two zero width joiners, or for control codes that don't contribute to the grapheme size.
0 commit comments