atanunq / viuer

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

Better quality images in Kitty terminal #3

Closed atanunq closed 3 years ago

atanunq commented 4 years ago

Kitty has a custom way of displaying full resolution images. It would be nice to extend the main print method to check if the terminal is kitty, and if so, use a different printer. The new printer would live in a kitty.rs file that has a KittyPrinter struct, implementing the Printer trait.

rabite0's hunter has a sample implementation which could be extended.