lipgloss
lipgloss copied to clipboard
Border top-right and bottom-right doesn't render properly when using a wide rune
When I use a wide rune (e.g. "โฉ") as a top-right or bottom-right corner, the resulting edge is wider than the other lines.
This should be corrected by padding the other lines.
See this example:

Found while working on #109.
cc @meowgorithm
Interestingly, the issue does not happen if it's the bottom-left or top-left rune that's wide. For example:
set
border: border("","","","","โฉ","","","")
----
โฉยทยทยทยทยทยทยทยทโค
ยทhelloยทยทยทยทโค
ยทuniverseยทโค
ยท!!ยทยทยทยทยทยทยทโค
ยทยทยทยทยทยทยทยทยทยทโค
ยทยทยทยทยทยทยทยทยทยท๐
set
border: border("","","","","","","","โฉ")
----
ยทยทยทยทยทยทยทยทยทยทโค
ยทhelloยทยทยทยทโค
ยทuniverseยทโค
ยท!!ยทยทยทยทยทยทยทโค
ยทยทยทยทยทยทยทยทยทยทโค
โฉยทยทยทยทยทยทยทยท๐