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

ANSI Color Escape Sequences #665

Open
anthofoxo opened this issue Nov 13, 2023 · 2 comments
Open

ANSI Color Escape Sequences #665

anthofoxo opened this issue Nov 13, 2023 · 2 comments

Comments

@anthofoxo
Copy link

anthofoxo commented Nov 13, 2023

Is there any plans to support ansi escapes. Specifically color escapes.
The idea being that when a color sequence is encountered, it temporarily changes the color state.
Is there a fork with this type of support.

If there isn't any support whatsoever for this, would a pr implementing this be of any use to others?

After digging into code, to properly support this, shaders may need modified to have per vertex colors. (Is this an acceptable change?) Otherwise some higher level trickery will have to happen.

@mulle-nat
Copy link
Contributor

This is something I would rather see in a library, that builds on nanovg. To me the nano implies that this project doesn't try to do too much. On the other hand I've written something like this for myself once, so it certainly could be useful to many people.

@anthofoxo
Copy link
Author

This generally would be a much more text focused thing and perhaps doesnt belong in nanovg itself, i may work on a small addon of the sorts for this eventually

@mulle-nat mulle-nat mentioned this issue Jan 12, 2024
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