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

A tip for too bright comments in iTerm2 #145

Closed
bsod90 opened this issue Jan 15, 2019 · 1 comment
Closed

A tip for too bright comments in iTerm2 #145

bsod90 opened this issue Jan 15, 2019 · 1 comment

Comments

@bsod90
Copy link

bsod90 commented Jan 15, 2019

This is not a bug report, but rather a tip that could be added to a Troubleshooting section.
I've been struggling with a comment color for my python code for a while. Basically, all the comments looked the same as the normal code. Recently I finally spent some time troubleshooting it, and found an interesting iTerm2 option, which I didn't know existed, and which drastically affects all the colors displayed. Here's the GIF:
screen capture on 2019-01-14 at 17-14-06

What I think is happening is iTerm2 tries to make sure there's always enough contrast between the text and the background, and it's able to tweak displayed colors for that even through the exact values are specified.
Again, this is a feature, not a bug, but I'm sure it may confuse a lot of people who do not know it exists.

@joshdick
Copy link
Owner

iTerm 2 is my primary terminal emulator and I've always run it with the Minimum Contrast slider turned all the way down.

Nice catch, I've added a note to the troubleshooting section of the README in 682f866.

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

2 participants