use wcwdith() in utf8_isdouble() instead of hard-coded tables
commit9e8e20596f508da866a1e1469b7e6216810dd7f8
authorVincent Lefèvre <vincent-gnu@vinc17.net>
Tue, 18 Jun 2024 12:39:41 +0000 (18 14:39 +0200)
committerAlexander Naumov <alexander_naumov@opensuse.org>
Tue, 18 Jun 2024 12:39:41 +0000 (18 14:39 +0200)
tree0e3d190a37f080f7cb4926882ac914e78fa4110c
parentfdd2df83608e6934ddaef333889c31722d8e7e6e
use wcwdith() in utf8_isdouble() instead of hard-coded tables

bug #63634

Instead of hard-coded tables, screen should use the standard
wcwdith() function, which will ensure consistency with other
software that already uses it (the real terminal and perhaps
libraries like ncurses).
src/encoding.c