Skip to content
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

support kitty's protocol #4

Open
teto opened this issue Sep 26, 2019 · 6 comments · May be fixed by #8
Open

support kitty's protocol #4

teto opened this issue Sep 26, 2019 · 6 comments · May be fixed by #8
Labels
help wanted Extra attention is needed new feature

Comments

@teto
Copy link

teto commented Sep 26, 2019

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

@wookayin
Copy link
Owner

wookayin commented Oct 4, 2019

Yes, I plan to support kitty and sixel protocols so that it can work with another terminal emulators than iTerm2. Stay tuned!

@wookayin wookayin added help wanted Extra attention is needed new feature labels Oct 7, 2019
@wookayin
Copy link
Owner

wookayin commented Mar 16, 2020

tmux is very stubborn against supporting image display (either in iTerm2 or kitty). Unfortunately, there is no way to display images inside tmux. See: kovidgoyal/kitty#413

@wookayin
Copy link
Owner

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.

@teto
Copy link
Author

teto commented Mar 21, 2020

I dont use tmux much, would that work better without tmux on a plain kitty ?

@wookayin
Copy link
Owner

@teto Yes I agree, will push an early version (without or with tmux) soon.

@wookayin wookayin linked a pull request Apr 2, 2020 that will close this issue
3 tasks
@wookayin wookayin linked a pull request Apr 5, 2020 that will close this issue
3 tasks
@davvid
Copy link

davvid commented Feb 17, 2024

tmux has a passthrough option these days. It makes images display fine inside of tmux inside kitty:

# .tmux.conf
set -gq allow-passthrough on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants