Open karamanliev opened 2 weeks ago
I'm having the same problem, as mentioned in #3362
Just for the record I have COLORTERM=truecolor
setup inside tmux.
I think I have the exact same problem...
A weird-ish yellow background for both additions and deletions when inside Tmux > lazygit. The regular git-delta diff colors work when lazygit runs outside of Tmux. Or when just using git diff (using delta) inside of Tmux.
Somehow that 3rd layer (Tmux > lazygit > delta) messes up the background colors from my theme.
Describe the bug This is driving me nuts, I can't really find someone else mention this problem. Inside tmux lazygit colors are looking like this:
What is interesting is that if I enter neovim (in tmux as well) and launch lazygit from its terminal colors are fine:
It works OK if i set
screen-256color
in tmux, but then I can't have italics and underlines in SSH. I am using kitty terminal, but tested with wezterm and alacritty and the result is the same. Also when diffing outside lazygit with delta colors are fine. Here are relevant configs:tmux
:delta
:lazygit
:To Reproduce Steps to reproduce the behavior:
Expected behavior Colors should be fine inside tmux
Screenshots Truecolors are working fine inside my terminal:
Version info:
commit=v0.42.0, build date=2024-05-19T10:54:29Z, build source=binaryRelease, version=0.42.0, os=linux, arch=amd64, git version=2.45.2