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

Auto detect dark or light color from terminal by using term-codes #4151

Open
2 of 10 tasks
leiserfg opened this issue Dec 30, 2024 · 0 comments
Open
2 of 10 tasks

Auto detect dark or light color from terminal by using term-codes #4151

leiserfg opened this issue Dec 30, 2024 · 0 comments

Comments

@leiserfg
Copy link

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.57.0

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

Some terminals suport:
https://github.com/contour-terminal/contour/blob/master/docs/vt-extensions/color-palette-update-notifications.md#dark-and-light-mode-detection

fzf should leverage it, to automatically apply --color=light or --color=dark at startup if colors are not set by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant