Skip to content

Delta does not color whole lines #1386

@matejcik

Description

@matejcik

Describe the bug
when using delta as pager, the background color for changed lines only goes up to EOL

To Reproduce
follow instructions to set up delta: https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md

Problem behavior

image

Expected behavior
this is how it should be, and what delta does when run as git diff somefile
image
it's also what the guide shows:
image

Desktop (please complete the following information):

  • OS: Linux Mint MATE, Mate terminal
  • Lazygit Version: 53ea7df

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions