benjajaja / ratatui-image

Ratatui widget for rendering image graphics in terminals that support it
https://crates.io/crates/ratatui-image
MIT License
96 stars 14 forks source link

Include the ThreadImage widget in the crate #25

Closed josueBarretogit closed 2 months ago

josueBarretogit commented 2 months ago

Looking at the async example I wonder why the crate does not provide the ThreadImage widget and the ThreadProtocol, at the moment if different applications want to use that approach of rendering images the widget would have to be reimplemented over and over again

benjajaja commented 2 months ago

I didn't do it initially because I didn't want to also provide several async implementations (tokio, etc.). However you are right, there is no reason to not to export the thread widgets!

@josueBarretogit published as v1.0.3, available as thread module: https://docs.rs/ratatui-image/1.0.3/ratatui_image/thread/index.html