lipgloss
lipgloss copied to clipboard
Border size computations look wrong
-
GetBorderTopSizeandGetBorderBottomSizereturns the maximum rune width of all the border characters. This is wrong: the top/bottom border sizes are just 1 (1 line) -
GetBorderLeftSizeandGetBorderRightSizeare usingmaxRuneWidth()on every part, but they should userunewidth.StringWidth()instead.
Found while working on #109