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

Use default color for titles in all fzf screens #4

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

SidOfc
Copy link
Owner

@SidOfc SidOfc commented Oct 3, 2018

Resolves #2 by using the "default" terminal foreground color.

Apparently this color detection thing is harder than it seems at first glance, I looked in to it for a bit but eventually decided on this instead.

It basically comes down to this: A script has no idea which color codes are being used. We can send escape sequences that get parsed and colorized but there is no mechanism to request the colors instead of setting them.

The improvement is quite significant.

Before

image

After

image

@SidOfc SidOfc merged commit f286ec1 into master Oct 3, 2018
@SidOfc SidOfc deleted the patch/light-terminal-colors branch October 3, 2018 19:43
@SidOfc SidOfc added the bug Something isn't working label Oct 3, 2018
@SidOfc SidOfc self-assigned this Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant