paradoxxxzero / butterfly

A web terminal based on websocket and tornado
http://paradoxxxzero.github.io/2014/02/28/butterfly.html
Other
2.9k stars 310 forks source link

Can't show images in tmux #138

Open eyalev opened 7 years ago

eyalev commented 7 years ago

When I'm in "regular" terminal I can run python injection-test.py from https://github.com/paradoxxxzero/butterfly-demos and see the image.

But when I'm attached to a tmux session the same command won't output the image.

Is this possible to show images in tmux? (Or maybe something is wrong with my configuration..)

Screenshots:

Working:

selection_144

Not working:

selection_145

paradoxxxzero commented 7 years ago

Tmux uses the Alternate Screen Buffer and butterfly currently does not support variable line width in this mode. (There is no native scroll either.) I think this will be really hard to implement since tmux already act as a terminal managing scroll history etc...