Skip to content
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

Try to detect the current theme based on the terminal background color #2797

Closed
wants to merge 1 commit into from

Commits on Dec 8, 2023

  1. Try to detect the current theme based on the terminal background color

    This uses the termbg crate, as discussed here:
    sharkdp#1746
    Other than that, it uses the same logic as on macOS.
    
    This behavior should probably be extended to macOS too, for cases like a
    terminal with a light background while the system theme is dark (or vice
    versa). But I didn't want to accidentally break anything on macOS.
    aykevl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c4af3ee View commit details
    Browse the repository at this point in the history