-
Notifications
You must be signed in to change notification settings - Fork 513
A tip for too bright comments in iTerm2 #145
Description
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:

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.