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

Insufficient contrast on light background #1495

Open
savchenko opened this issue Jul 6, 2024 · 3 comments
Open

Insufficient contrast on light background #1495

savchenko opened this issue Jul 6, 2024 · 3 comments
Labels
enhancement Extension or improvement to existing feature

Comments

@savchenko
Copy link

Using the "light terminal" theme and default "Linux console" colours:

image

Note the header and selected PID line. Would you consider inverting colours or increasing brightness of the highlight (background colour) ?

@BenBE
Copy link
Member

BenBE commented Jul 6, 2024

Unfortunately due to a limitation in how background colors are handled with ncurses you can't have light background colors in a nicely portable way. It is possible, but usually involves hacks, as the bit for bright background is often misinterpreted as blinking foreground … ;-)

@BenBE BenBE added the enhancement Extension or improvement to existing feature label Jul 6, 2024
@savchenko
Copy link
Author

Wild. In the age of TrueColour-capable terminals... Made me check ncurses webpage:

The package was originated as pcurses, written by Pavel Curtis around 1982

No further questions.

@Explorer09
Copy link
Contributor

@savchenko You should adjust the color palette of your terminal emulator. It isn't something we can adjust in htop's side. IMHO, we could have an alternative of using white text on a dark background for highlighted item, but the benefit of implementing that would be too small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Extension or improvement to existing feature
Projects
None yet
Development

No branches or pull requests

3 participants