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 yellow or orange ANSI Background color for progress bar #1980

Closed
jurgenvinju opened this issue Jun 19, 2024 · 1 comment
Closed

Use yellow or orange ANSI Background color for progress bar #1980

jurgenvinju opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@jurgenvinju
Copy link
Member

Is your feature request related to a problem? Please describe.

The greyscale choice is nice and neutral, but it seems terminals on Windows do not map grayscale colors at all (not even inverting them in inverted mode). This leads to sometimes very bad contrast between the foreground color (which is always mapped) and the grey background we hard-wired.

Describe the solution you'd like

Perhaps if we choose a different background color from the basic ANSI set, the chance of it being mapped to a better contrasting color in any scheme is higher.

Describe alternatives you've considered

  • not using a background but simply half of the width of the screen for the bar and the other half for the text. (not so nice because it forces every monitor to write extremely short strings
  • allowing for multi-line descriptions (more complex ANSI trickery and line-counting to make that work)
  • using only an progressing underline (a bit minimalistic)
  • learning the scheme by sampling examples (gold plating and will not always work on every terminal)
@jurgenvinju
Copy link
Member Author

Me being colorblind also guided me towards using greyscale; as I can't go wrong there . So some help with choosing between yellow and orange is appreciated.

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