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

Enable true colors if the terminfo RGB capability is set #1932

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tachi107
Copy link

This allows delta to work properly on Direct Color terminals like xterm-direct and foot-direct.

This adds a dependency on the "terminfo" crate in order to read the RGB capability. The crate is used by wezterm, among others.

I haven't updated Cargo.lock, as I don't know what's your policy on it :)

Fixes #1931

This allows delta to work properly on Direct Color terminals like
xterm-direct and foot-direct.

This adds a dependency on the "terminfo" crate in order to read the
`RGB` capability. The crate is used by wezterm, among others.

Fixes dandavison#1931
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

Successfully merging this pull request may close these issues.

🚀 Change is_truecolor_terminal to also check for RGB capability
1 participant