Skip to content

🐛 Hunk header misaligned in some cases #510

@NICHOLAS85

Description

@NICHOLAS85

Recording demonstrating issue: https://asciinema.org/a/OR4p7nKdnuWK5De0EgnWF0hbI

It seems when using delta on a git diff from a file containing tab characters, the Hunk header container doesn't line up correctly. The right bound is pushed outwards.

Heres the link to the tested file if you'd like to clone and attempt it locally: https://gist.github.com/NICHOLAS85/ac2fae33549b9cb029d5e84cccf7b076

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions