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

Any way to display images inline in terminal? #6748

Closed
lokize opened this issue Sep 7, 2022 · 4 comments · Fixed by #6987
Closed

Any way to display images inline in terminal? #6748

lokize opened this issue Sep 7, 2022 · 4 comments · Fixed by #6987

Comments

@lokize
Copy link

lokize commented Sep 7, 2022

Hi, is there any way to display images in terminal, i using zsh in my wsl with neofetch and w3m and i can't display images in terminal with hyper.

@LabhanshAgrawal
Copy link
Collaborator

Not right now afaik, once xterm has sixel support, we'd be able to add it easily.

@jessebot
Copy link

jessebot commented Dec 25, 2022

This was last discussed here #2529 and the original concern was that xterm.js did not support sixel. Xterm.js now supports sixel, but there was no follow up on the issue and it was closed. I am not sure how to make hyper.js use an xterm.js addon :(

@jessebot
Copy link

I found this:

If your plugin needs some unavailable API to tweak `xterm.js`, please open an issue. We'll be happy to expose some existing `xterm.js` API or implement new ones.

I can't tell if we need hyper to support this optional add-on, or if we just need someone to write a plugin.

Just to put everything in this ticket, because this one is open and the other one is closed:

jerch/xterm-addon-image is now an available addon for xterm.js, and can be installed via npm.
The usage instructions are here.

@marvinruder
Copy link
Contributor

Let’s get this started then: #6987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants