From d3cd4ad933b033e750aa92801945f2cac213f88e Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 31 Oct 2024 07:17:35 +0100 Subject: 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 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index d7e9939d..cc734b81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,11 @@ * OSC-9: sequences beginning with `;` 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 -- cgit v1.3