dandavison / delta

A syntax-highlighting pager for git, diff, grep, and blame output
https://dandavison.github.io/delta/
MIT License
21.34k stars 359 forks source link

🐛 Extra newline before diffs #1670

Open jaminthorns opened 3 months ago

jaminthorns commented 3 months ago

This is a pretty small nitpick, but I figure I'd file an issue anyways in case it's bothering anybody else.

In outputs with where diffs are displayed, it seems like there's an extra newline right before the diff. These screenshots don't have any custom Delta config set.

I've selected the lines in question to make it clearer. You can also see it in the screenshot for git show in the README:

git show

In my opinion, the newline is unnecessary and should be removed.