lipgloss icon indicating copy to clipboard operation
lipgloss copied to clipboard

Margin background color spills into the end of the line in the top and bottom right corners

Open knz opened this issue 3 years ago • 1 comments

When using MarginBackground, the escape code to terminate the background color is not properly inserted on the first and last line.

See for example:

Screenshot_2022-09-03_23-48-14

Screenshot_2022-09-03_23-49-05

I would expect the ESC[0m ansi sequence to appear at the end of the first line, instead of the beginning of the 2nd line, like the rest.

Found while working on #109

cc @meowgorithm @muesli

knz avatar Sep 03 '22 21:09 knz

Oh and also haha the last margin line at the bottom is not properly colored!

knz avatar Sep 03 '22 21:09 knz