AnonymouX47 / term-image

Display images in the terminal with python
https://term-image.readthedocs.io
MIT License
213 stars 9 forks source link

Kitty terminal graphics support #40

Open AnonymouX47 opened 2 years ago

AnonymouX47 commented 2 years ago

A branch off #23

Tested terminal emulators:

Progress:

Specific protocol features already or to be in use:

AnonymouX47 commented 2 years ago

Initial implementation currently ongoing at #39

AnonymouX47 commented 2 years ago

Initial implementation done! Moving on to z-index feature implementation.

Will require extending the format specification (adding a style-specific portion) and the draw() method.

jarbus commented 1 year ago

The most recent release of kitty supports tmux!

AnonymouX47 commented 1 year ago

Thanks so much. :smiley:

I also just found out about it yesterday. I'll add it to the list of tasks above and hopefully, support can be added before the next release but at the moment, there are a few more pressing issues.

I was thinking about it yesterday and virtual placements potentially have even more usefulness (and advantages over real placements) than just the tmux use case but one major disadvantage, they can only be individually deleted by id.

Anyways, I have to figure out a good way to implement support for IDs first... in particular, automatic ID allocation, which is rather complicated since the ID namespace is global and collisions with other software running in the terminal emulator must be avoided.

AnonymouX47 commented 1 year ago

By the way, implementing support for tmux passthrough is a separate thing. I think an issue had been opened in the past but it didn't seem hopeful then. I guess I'll reopen the issue.