Use runtime wcwidth() to check libc
We've been using #ifdefs and such to check for libc Unicode 13 support at compile time. Instead, execute a wcwidth() using a sextant. If it comes back -1, the libc lacks support; disable sextants. Otherwise, let it go. This ought allow us to support sextants on BSD as soon as it has support; it furthermore allows us to properly disable them on Linuxes lacking such support. Closes #1289.pull/1293/head
parent
fa3c17abb9
commit
5a1df02f01
Loading…
Reference in New Issue