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

Add 256 color support #61

Open
sebastinas opened this issue Jan 11, 2015 · 2 comments
Open

Add 256 color support #61

sebastinas opened this issue Jan 11, 2015 · 2 comments
Labels

Comments

@sebastinas
Copy link
Contributor

This is required for bpython/bpython#193.

@jquast
Copy link

jquast commented Jan 11, 2015

I've been studying 256 color support for some time. It is problematic, as there are two forms. The 24-bit nearest-match true color support form would be preferred, but is not supported by all 256-color capable terminal emulators, which may support only the 256 color palette.

https://gist.github.com/XVilka/8346728

In general, this is very hard to do universally. as the TERM type is not enough information to know which form of the 256 color support the client may support.

@thomasballinger
Copy link
Member

See https://github.com/thomasballinger/curtsies/issues/80, once FmtStrs output is backed by Blessed colored strings this will make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants