bubbles
bubbles copied to clipboard
Add support for colors in table cells
With this PR I want to address the following:
- Invisible characters cause incorrect calculation of cell width, making the table component to incorrectly print ellipsis when it shouldn't.
- When highlighting a row, if a cell had colors in it, the reset character would break the highlighting. I am removing the reset character and then highlighting each cell individually instead of the whole row, so that the highlight reset character serves as the reset character for the previously set color.
- While I was at it, I removed the
minandmaxmethods, since GoLang introduces them since v1.21