mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
motions
This commit is contained in:
parent
23c95f1dea
commit
26266dff3b
4 changed files with 341 additions and 62 deletions
4
char32.h
4
char32.h
|
|
@ -87,6 +87,10 @@ static inline bool hasc32upper(const char32_t *s) {
|
|||
return false;
|
||||
}
|
||||
|
||||
static inline bool isc32punct(char32_t c32) {
|
||||
return iswpunct((wint_t)c32);
|
||||
}
|
||||
|
||||
static inline int c32width(char32_t c) {
|
||||
#if defined(FOOT_GRAPHEME_CLUSTERING)
|
||||
return utf8proc_charwidth((utf8proc_int32_t)c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue