hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Any way to display images inline in terminal?

Open lokize opened this issue 3 years ago • 3 comments

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.

lokize avatar Sep 07 '22 15:09 lokize

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

LabhanshAgrawal avatar Sep 11 '22 19:09 LabhanshAgrawal

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 avatar Dec 25 '22 20:12 jessebot

I found this:

https://github.com/vercel/hyper/blob/80c7e67a0d3c83baa2124ef5b1fa8a88f8b56808/PLUGINS.md?plain=1#L210

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.

jessebot avatar Dec 25 '22 21:12 jessebot

Let’s get this started then: https://github.com/vercel/hyper/pull/6987

marvinruder avatar Jan 16 '23 20:01 marvinruder