Get the visual width of a string
Determine the East Asian Width of a Unicode character
Truncate a string to a specific width in the terminal
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.