Open teto opened 5 years ago
Yes, I plan to support kitty and sixel protocols so that it can work with another terminal emulators than iTerm2. Stay tuned!
tmux is very stubborn against supporting image display (either in iTerm2 or kitty). Unfortunately, there is no way to display images inside tmux. See: https://github.com/kovidgoyal/kitty/issues/413
Using a very complicated tmux passthrough sequence, I managed to make images rendered on kitty, but there is some bugs on clearing up graphics. See kitty#2457 for details.
I dont use tmux much, would that work better without tmux on a plain kitty ?
@teto Yes I agree, will push an early version (without or with tmux) soon.
tmux has a passthrough option these days. It makes images display fine inside of tmux inside kitty:
# .tmux.conf
set -gq allow-passthrough on
wow that looks dope, would it be possible to support kitty (a cross platform python terminal) as well ? it seems to have its own format too https://sw.kovidgoyal.net/kitty/graphics-protocol.html (the link provides a python function to use the protocol).
Another implementation reference could be: https://pypi.org/project/pixcat/#description