Open xeros-and-ones opened 1 year ago
Did you ever resolve this?
Also seeing this issue, using the Visual Studio Dark+ theme.
I have this issue as well.
Delta config:
git:
log:
showGraph: always
showWholeGraph: false
paging:
pager: delta --dark --paging=never
gui:
nerdFontsVersion: '3'
showFileTree: false
Version:
❯ lazygit --version
commit=, build date=, build source=nix, version=0.43.1, os=darwin, arch=arm64, git version=2.45.2
❯ delta --version
delta 0.18.0
I am experiencing the same issues when using delta with lazygit. Delta seems to work fine on CLI, colors seems to mismatch when using it with lazygit
Same here with:
❯ lazygit --version
commit=, build date=, build source=homebrew, version=0.44.1, os=darwin, arch=arm64, git version=2.47.0
❯ delta --version
delta 0.18.2
it seems I'm not the only one having this issue.i removed delta as lazygit's pager and it works fine when i need it. I'm now using magit which funny enough it has the same issue with delta. but it has a good diff so I'm using that
Same here, with the same versions of lazygit and delta as @diego898. Using gnome terminal with Tango theme if that makes any difference.
Turns out the culprit for me was byobu. Discovered that the colors were correct outside byobu.
Followed this instruction from Delta and now it works: https://dandavison.github.io/delta/tips-and-tricks/using-delta-with-tmux.html
@anvandaren You're right I noticed this as well.
The colours are incorrect only inside tmux.
Just that adding set -ga terminal-overrides ",*-256color:Tc"
in my .tmux.conf
didn't help.
Running the colour test script returns this (I'm not sure if it's supposed to be correct)
Lazygit suddenly not respecting or using delta's colours
this is how delta looks like in the terminal as a pager:
And this is how delta looks in lazygit:
commit=v0.40.2, build source=binaryRelease, version=0.40.2, os=linux, arch=amd64, git version=2.42.0
Here's My config: lazygit ▼▼▼▼
git ▼▼▼▼