mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-13 08:21:03 -04:00
main: include +/-wcwidth in version output
* +wcwidth: use our own, builtin, wcwidth() * -wcwidth: use system’s wcwidth()
This commit is contained in:
parent
97ade97d38
commit
402972085a
2 changed files with 12 additions and 2 deletions
|
|
@ -37,3 +37,12 @@ static inline bool feature_graphemes(void)
|
|||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline bool feature_builtin_wcwidth(void)
|
||||
{
|
||||
#if FOOT_SYSTEM_WCWIDTH == 0
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue