Cursive Image
An image view for the Cursive TUI library.
Works on terminals that support the Kitty graphics protocol, which includes Kitty itself as well as Ghostty.
The view supports shrink, fit, and scale sizing modes (shrink is the default), image alignment, and scrolling.
Check out the examples.
In the future we may add support for additional graphics protocols, namely iTerm and Sixel.
License
Like much of the Rust ecosystem this project is licensed under your choice of either
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
All code and documentation was written by humans. We do not accept "AI"-generated contributions.