Found 2 packages
ANSI escape codes for manipulating the terminal
Get the visual width of a string - the number of columns required to display it