kyoheiu / felix

tui file manager with vim-like key mapping
https://kyoheiu.dev/felix/
MIT License
712 stars 25 forks source link

Add the image preview feature with viuer #186

Open kyoheiu opened 1 year ago

kyoheiu commented 1 year ago

From #183, #188

kyoheiu commented 1 year ago

viuer's sixel feature does not work on runtime because sixel-sys doesn't provide its own compiled libsixel library: cf. https://github.com/AdnoC/sixel-sys/issues/3 This library seems unmaintained for years.

kyoheiu commented 1 year ago

I leave this PR open until the issue above is solved.

kyoheiu commented 1 year ago

Refactored the image preview flow: Now it is supported by default, and if your terminal implements iTerm protocol (i.e. Wezterm) it can show the high-res image. Furthermore, if your terminal supports sixel or kitty protocol, by installing chafa you have the high-res preview.