grid: reflow: calculate width of composed characters correctly

Before this patch, reflow called `wcwidth()` on our magic values for
composed characters.
This commit is contained in:
Daniel Eklöf 2020-09-06 19:14:46 +02:00
parent f9cbdd3b11
commit 61f950f77a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 28 additions and 7 deletions

View file

@ -103,6 +103,7 @@
(https://codeberg.org/dnkl/foot/issues/101).
* Missing DPI values for “some” monitors on Gnome
(https://codeberg.org/dnkl/foot/issues/118).
* Handling of multi-column composed characters while reflowing.
### Security