mirror of
https://github.com/Textualize/rich.git
synced 2026-02-06 02:47:18 +00:00
simplify
This commit is contained in:
parent
07edb85f7e
commit
54ae0cfbb8
@ -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
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user