-
Notifications
You must be signed in to change notification settings - Fork 75
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
tmux passthrough for other terminals #125
Comments
Unfortunately, tmux does not allow pass-through of image protocols. I think tmux folks want to keep things simple and avoid strange corner-cases. The only reason it works for Kitty is some trickery, which works only really with kitty... If you want image protocols supported in tmux, ask the developers there (but I think others tried to ask before). |
recording.mp4I got it to work by sending a few special escape sequences that https://github.com/sxyazi/yazi also sends (specifically the code in https://github.com/sxyazi/yazi/tree/main/yazi-adaptor/src), it's just that the image height isn't properly being realized by the terminal, so it cuts off things that it wasn't supposed to cut. |
Interesting, so there are 'workaround sequences'. |
Does timg support tmux passthrough for terminals other than Kitty? It doesn't seem to be printing anything when using it in foot + tmux
Top is tmux + yazi, middle is tmux + timg, and bottom is timg without tmux
Foot only supports sixel (my timg is aliased to timg -ps)
https://github.com/sxyazi/yazi seems to support it, but I had to manually enable tmux passthrough (https://github.com/sxyazi/yazi/wiki/Image-preview-within-tmux)
The text was updated successfully, but these errors were encountered: