* Adam Borowski <kilobyte@angband.pl>, 2014-11-23, 16:12:
Even better, it would be better to call libc's wcwidth() instead of reinventing the wheel -- as a bonus, the data would be current without need for manual intervention.
Beware that wcwidth(2) is locale-dependent, which might or might not be desirable.
-- Jakub Wilk