The wcswidth function returns the number of printing positions
required to display the first n characters of the string pointed
to by pwcs. If there are less than n wide characters in the
string, the function returns the number of positions required
for the whole string.