-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong delta diff background color in Ghostty #4133
Comments
I am struggling with the same issue. |
Same issue here. Running Is this related to this post? https://mitchellh.com/writing/ghostty-devlog-004
|
Related: #4149 I've upstreamed the fix to tcell and waiting for it to be accepted there before we can pull it back into lazygit properly. My PR builds today and fixes this though if anyone is interested. |
Many thanks 🙏 |
The tcell fix was merged yesterday. |
Describe the bug
When using the
delta
pager in lazygit specifically in Ghostty, the background color for line-wise additions is gray instead of green.Here's a summary of the background color values I observe in different situations (using the terminal inspector in Ghostty), including running delta outside lazygit, overriding TERM, and in kitty:
#262626
)#002800
#002800
#005f00
)#002800
(color picker)Is this related? #2962
To Reproduce
Install Ghostty and delta, and use this lazygit config:
Screenshots
It should look like:
Actual:
Version info:
commit=611fabde11d24d9acc71ee26077b9a1101f59f27, build date=2024-09-18T10:56:10Z, build source=binaryRelease, version=0.44.1, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)
git version 2.39.5 (Apple Git-154)
This issue is also present on
master
.The text was updated successfully, but these errors were encountered: