atanunq / viuer

Rust library for displaying images in the terminal.
MIT License
253 stars 46 forks source link

Allow configuring kitty's z-index option #53

Closed mfontanini closed 1 month ago

mfontanini commented 9 months ago

This adds support for kitty's z-index option. This allows controlling the stacking of images and whether they're shown behind the text/background. By default this uses z-index = 0, which should be the same as before.

This is a breaking change as any code that was creating a Config by filling in all the fields will now fail to compile. I'm open to alternative ways to add this if this is an issue.