Skip to content

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

Description

@knz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions