
When printed to the screen, the length of the string is usually equal to the number of cells it occupies. However, there are categories of characters that occupy 2 cells (full-wide), and others that occupy 0. This library provides functions similar to wcwidth() and wcswidth() known from C, to determine the monospace display width of a string.