Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
knz opened this issue Sep 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@knz
Copy link

knz commented Sep 3, 2022

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
Copy link
Author

knz commented Sep 3, 2022

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

@muesli muesli added the bug Something isn't working label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants