You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The 3099677 or fe84162 change seems to have made full dimension rendering of lipgloss border box content produce wider than allowed lines, which causes 1 character to wrap onto the next line for each line, which breaks up the border and content with new empty lines between each row.
With lipgloss 0.11.0, which pulled in x/ansi v0.1.2, this works great and draws a nice border around everything. When lipgloss 0.12.0 moved to x/ansi v0.1.3, this broke and started outputting wider than allowed lines, which causes unexpected wrap, which causes blank lines between each row. The issue persists if I go back to lipgloss 0.11.0, but still using x/ansi 0.1.3. The issue goes away if I go back to x/ansi 0.1.2.
The text was updated successfully, but these errors were encountered:
We need to reset the grapheme state after encountering a non-printable
character or when we're not using uniseg for string width (ASCII
printables have a width of 1 cell).
Fixes: #122Fixes: #123
Fixes: charmbracelet/lipgloss#332
Describe the bug
The 3099677 or fe84162 change seems to have made full dimension rendering of lipgloss border box content produce wider than allowed lines, which causes 1 character to wrap onto the next line for each line, which breaks up the border and content with new empty lines between each row.
With lipgloss 0.11.0, which pulled in x/ansi v0.1.2, this works great and draws a nice border around everything. When lipgloss 0.12.0 moved to x/ansi v0.1.3, this broke and started outputting wider than allowed lines, which causes unexpected wrap, which causes blank lines between each row. The issue persists if I go back to lipgloss 0.11.0, but still using x/ansi 0.1.3. The issue goes away if I go back to x/ansi 0.1.2.
The text was updated successfully, but these errors were encountered: