Determines the monospace display width of a string in Ruby
DescriptionWhen 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.
Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.Upload a screenshot
Hint: upload an image here from your clipboard with Ctrl-V
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…Install ruby-unicode-display-width