This commit is contained in:
Will McGugan 2026-02-01 16:12:26 +00:00
parent 07edb85f7e
commit 54ae0cfbb8
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed solo ZWJ crash
- Fixed control codes reporting width of 1
- Fixed solo ZWJ crash https://github.com/Textualize/rich/pull/3953
- Fixed control codes reporting width of 1 https://github.com/Textualize/rich/pull/3953
## [14.3.1] - 2026-01-24

View File

@ -146,7 +146,7 @@ def _cell_len(text: str, unicode_version: str) -> int:
if character in SPECIAL:
if character == "\u200d":
index += 1
elif character == "\ufe0f" and last_measured_character:
elif last_measured_character:
total_width += last_measured_character in cell_table.narrow_to_wide
last_measured_character = None
else: