Skip to content

A tip for too bright comments in iTerm2 #145

@bsod90

Description

@bsod90

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions