You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,3 +55,16 @@ to your `Cargo.toml`:
55
55
[dependencies]
56
56
unicode-width = "0.1.11"
57
57
```
58
+
59
+
60
+
## Changelog
61
+
62
+
63
+
### 0.2.0
64
+
65
+
- Treat `\n` as width 1 (#60)
66
+
- Treat ambiguous `Modifier_Letter`s as narrow (#63)
67
+
- Support `Grapheme_Cluster_Break=Prepend` (#62)
68
+
- Support lots of ligatures (#53)
69
+
70
+
Note: If you are using `unicode-width` for linebreaking, the change treating `\n` as width 1 _may cause behavior changes_. It is recommended that in such cases you feed already-line segmented text to `unicode-width`. In other words, please apply higher level control character based line breaking protocols before feeding text to `unicode-width`. Relying on any character producing a stable width in this crate is likely the sign of a bug.
0 commit comments