mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-08 08:20:59 -04:00
url-mode: handle wide chars and grapheme clusters when auto-detecting URLs
* Skip spacer cells. This fixes an issue where characters following a double-width character weren't detect properly. * Unpack grapheme clusters (i.e. cells with multiple codepoints), and iterate all their codepoints. Closes #1465
This commit is contained in:
parent
482a032d1a
commit
4f3f614457
2 changed files with 118 additions and 90 deletions
|
|
@ -76,9 +76,12 @@
|
|||
([#1436][1436]).
|
||||
* One frame being rendered at the wrong scale after being hidden by
|
||||
another opaque, maximized window ([#1464][1464]).
|
||||
* Double-width characters, and grapheme clusters breaking URL
|
||||
auto-detection ([#1465][1465]).
|
||||
|
||||
[1436]: https://codeberg.org/dnkl/foot/issues/1436
|
||||
[1464]: https://codeberg.org/dnkl/foot/issues/1464
|
||||
[1465]: https://codeberg.org/dnkl/foot/issues/1465
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue