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

Support for Moebius .utf8ans images/sprites #410

Open
telamon opened this issue Oct 21, 2020 · 0 comments
Open

Support for Moebius .utf8ans images/sprites #410

telamon opened this issue Oct 21, 2020 · 0 comments

Comments

@telamon
Copy link

telamon commented Oct 21, 2020

I'm a little bit sad, cause I made some nice ANSI art using the awesome blocktronics/moebius editor, and wanted display it in a game that uses blessed.

But alas I discovered that the ANSIImage widget takes a png or gif as input. which is really cool but given the artistic detail of a handcrafted ANSI image versus an auto-generated ANSI image... It's not quite the same... 😢

What's the best way mix blessed widgets and pre-escaped ansii art like this?

http://artscene.textfiles.com/ansi/artwork/face_2.ans
(PNG preview)

I'm aware of the ansi-viewer in examples but i don't want to spin up a new pty for each sprite on screen.

From what little I've dug up so far my gut tells me that blessed was not really designed to mix with content that already contains escape characters.

Any kind of suggestions for a workaround would be immensely appreciated.
Cheers!

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

1 participant