mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
char32: use utf8proc_charwidth() instead of wcwidth(), when available
It appears to be slightly more up-to-date with recent Unicode versions. In particular, it handles the new "Symbols for Legacy Computing Supplement" block, introduced in Unicode 16. Closes #1865
This commit is contained in:
parent
f3e443ea47
commit
d3cd4ad933
2 changed files with 20 additions and 0 deletions
|
|
@ -68,6 +68,11 @@
|
|||
* OSC-9: sequences beginning with `<number>;` are now ignored. These
|
||||
sequences are ConEmu/Windows Terminal sequences, and not intended to
|
||||
be notifications.
|
||||
* Use `utf8proc_charwidth()` instead of `wcwidth()`+`wcswidth()` when
|
||||
calculating character width, when foot has been built with utf8proc
|
||||
support ([#1865][1865]).
|
||||
|
||||
[1865]: https://codeberg.org/dnkl/foot/issues/1865
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue