Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the image preview feature with viuer #186

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open

Conversation

kyoheiu
Copy link
Owner

@kyoheiu kyoheiu commented Feb 22, 2023

From #183, #188

  • Native support for the image preview with viuer
  • Efficient preview of gif image using gif crate

@kyoheiu
Copy link
Owner Author

kyoheiu commented Mar 1, 2023

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

@kyoheiu
Copy link
Owner Author

kyoheiu commented Mar 1, 2023

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

@kyoheiu
Copy link
Owner Author

kyoheiu commented Mar 4, 2023

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.

@kyoheiu kyoheiu added the enhancement New feature or request label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant