joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.54k stars 36 forks source link

image rendering on alacritty #51

Closed azinsharaf closed 1 year ago

azinsharaf commented 1 year ago

Is it a known limitation in Alacritty terminal that can't render the images well?

I don't know anything about sixel and not sure if is usable on Windows. I installed timg in my python env and it broke it.

image

joouha commented 1 year ago

Hello,

Alacrity does not support terminal graphics (yet - https://github.com/alacritty/alacritty/pull/4763).

I've struggled to get terminal graphics support working using Windows-native Python. I've not found anything which works perfectly yet.

You can try wezterm, but it has issues with graphics on Windows (see https://github.com/wez/wezterm/issues/1236, https://github.com/wez/wezterm/issues/2422).

Alternatively you could give mintty a try, which also supports sixels on Windows.

Let me know if you find a solution that works!

azinsharaf commented 1 year ago

Thanks for the info. I tried it quickly in WSL (Ubuntu ) and got the same result. Are you saying it should work in Linux? I'll be testing it again later.

joouha commented 1 year ago

Yep, I've tested euporie using wsltty (which uses mintty) and terminal graphics work.