You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used tuikit in several projects and I'm very found of it. Thanks for your work !
Currently I'm working on a file manager which can preview some files.
I made a simple thumbnail preview, but the result is really ugly :)
I've found a nice program chafa which converts any image to an ANSI escaped string.
Is there a way to print an ANSI escaped string directly in a term ?
Is there another way than using a term ? Like print this in "window" of some kind. I don't care if it takes the whole screen.
I thought about, "pause" the term, releasing stdout, clear, print the ansi escaped string, "unpause" the term... but I've absolutely no idea about how to do that.
I thought about parsing the string (with something like ansi-parser or ansi-to-tui) but both requires quite some work to be compatible with print_with_attr...
Hello there,
I've used tuikit in several projects and I'm very found of it. Thanks for your work !
Currently I'm working on a file manager which can preview some files.
I made a simple thumbnail preview, but the result is really ugly :)
I've found a nice program chafa which converts any image to an ANSI escaped string.
Is there a way to print an ANSI escaped string directly in a term ?
Is there another way than using a term ? Like print this in "window" of some kind. I don't care if it takes the whole screen.
I thought about, "pause" the term, releasing stdout, clear, print the ansi escaped string, "unpause" the term... but I've absolutely no idea about how to do that.
I thought about parsing the string (with something like ansi-parser or ansi-to-tui) but both requires quite some work to be compatible with
print_with_attr
...Below an example of chafa output.
Thanks in advance :)
The text was updated successfully, but these errors were encountered: