diff options
author | Robin Jarry <robin@jarry.cc> | 2024-06-24 22:53:53 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-06-25 21:04:35 +0200 |
commit | 7c5a1afbda60ec81e84161306c2cf71d974b341a (patch) | |
tree | 2e4e9770e2a28805baa23976a6c0383a24992dd0 /doc | |
parent | 4e920d1def515f2c6d7da5168e39fd89fb200f63 (diff) | |
download | aerc-7c5a1afbda60ec81e84161306c2cf71d974b341a.tar.gz |
wrap: fix cjk prose ratio on macos
Depending on the locale and the libc implementation, iswalpha() may
return true or false for CJK symbols.
Reuse the same logic as in the split point detection introduced in
commit 99bc69918ea7 ("wrap: fix wide CJK characters support").
Include all missing Korean and Japanese specific Unicode blocks. Handle
syllabic symbols with a parameter to avoid wrapping in the middle of
syllables.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions