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

Gracefully degrade from higher precision colors to lower precision #64

Open
epage opened this issue Mar 10, 2023 · 1 comment
Open

Gracefully degrade from higher precision colors to lower precision #64

epage opened this issue Mar 10, 2023 · 1 comment
Labels
A-stream Area: anstream C-enhancement Category: Raise on the bar on expectations

Comments

@epage
Copy link
Collaborator

epage commented Mar 10, 2023

This was split out of #5.

What if anstyle-stream provided a way to use trucolor and have it automatically adapted to Ansi256 or Ansi16, depending on what the terminal supports?

@epage epage added C-enhancement Category: Raise on the bar on expectations question labels Mar 10, 2023
@epage
Copy link
Collaborator Author

epage commented Mar 10, 2023

My main concern is if we apply this too aggressively, we'll frequently be parsing ANSI escape codes that just contain what the terminal already supports, slowing things down unnecessarily.

@epage epage changed the title Gracefully degrade from higher precision colros to lower precision Gracefully degrade from higher precision colors to lower precision Sep 27, 2023
@settings settings bot removed the question label Jan 29, 2024
@epage epage added the A-stream Area: anstream label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-stream Area: anstream C-enhancement Category: Raise on the bar on expectations
Projects
None yet
Development

No branches or pull requests

1 participant