Giter Club home page Giter Club logo

Comments (9)

EbonJaeger avatar EbonJaeger commented on June 6, 2024 2

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 dark = true in the .gitconfig works, though! Thanks!

from delta.

bash avatar bash commented on June 6, 2024 2

That's great to hear! I was worried there for a second since GNOME Terminal always worked well in my experience πŸ˜†

from delta.

dandavison avatar dandavison commented on June 6, 2024

Hi @EbonJaeger, sorry about that. Please add dark = true or --dark to your delta config / invocations to force colors for dark backgrounds.

delta in 0.17.0 should autodetect in the absence of the light/dark setting. I wonder if it could be an issue with Zellij cc @bash -- any thoughts?

from delta.

rsmmr avatar rsmmr commented on June 6, 2024

I'm seeing the same issue but only when I'm inside a tmux shell. Outside tmux it works fine.

from delta.

bash avatar bash commented on June 6, 2024

Hi @EbonJaeger πŸ‘‹ Thank you for reporting the bug!
In your GNOME Terminal setup, are you running Bash inside of Zellij or directly in GNOME Terminal?

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.

from delta.

bash avatar bash commented on June 6, 2024

@rsmmr What version of tmux are you running? Color detection should work OK in the latest version from git iirc.

from delta.

EbonJaeger avatar EbonJaeger commented on June 6, 2024

@bash I was not using Zellij or tmux in GNOME terminal; just straight Bash. I'll try the workaround later. πŸ˜ƒ

from delta.

lilyball avatar lilyball commented on June 6, 2024

I've hit this too. It works fine in tmux, but not in zellij. What's more annoying is that the new --detect-dark-light flag cannot be set through gitconfig, which means my only option is to force dark on all the time instead of letting it infer from my theme.

from delta.

lilyball avatar lilyball commented on June 6, 2024

Also I will note that Zellij sets a few env vars that can be used to detect that we're running in Zellij.

from delta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.