-
Notifications
You must be signed in to change notification settings - Fork 391
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
🐛 Always using light theme on dark background #1663
Comments
Hi @EbonJaeger, sorry about that. Please add delta in 0.17.0 should autodetect in the absence of the |
I'm seeing the same issue but only when I'm inside a |
Hi @EbonJaeger 👋 Thank you for reporting the bug! I would be surprised if the issue happened in GNOME Terminal directly as it has always correctly reported colors in my experience. @dandavison From a quick glance and some preliminary tests it does seem like Zellij reports incorrect colors (happens to me both in Alacritty and GNOME Terminal). If will try to dig further next week or so. |
@rsmmr What version of tmux are you running? Color detection should work OK in the latest version from git iirc. |
@bash I was not using Zellij or tmux in GNOME terminal; just straight Bash. I'll try the workaround later. 😃 |
I tried again with GNOME terminal this morning and it is working as expected. Maybe I didn't start a new session or something last night after trying to force the dark theme. Sorry about that. So that just leaves Zellij. The workaround of setting |
That's great to hear! I was worried there for a second since GNOME Terminal always worked well in my experience 😆 |
I've hit this too. It works fine in tmux, but not in zellij. What's more annoying is that the new |
Also I will note that Zellij sets a few env vars that can be used to detect that we're running in Zellij. |
- Workaround for dandavison/delta#1663
Workaround for Zellij reporting incorrect theme. See dandavison/delta#1663
After updating to the 0.17.0 release, I can no longer read git diffs due to
delta
using a light theme on my dark terminal background.My setup consists of Alacritty with Zellij and Fish. I tested on a stock GNOME Terminal as well with un-modified bash, and the problem happens there, as well. My
.gitconfig
options for diffing matches that in the Delta readme.(You can use
git --no-pager
to produce the raw text output.)The text was updated successfully, but these errors were encountered: