Conversation
|
Any chance this will get merged? |
Owner
Author
|
I'll finish this soon. Thanks for bumping up! |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Owner
Author
|
I can merge this soon, but it's really annoying (currently impossible) to make imgcat work well inside tmux. This is the limitation of kitty. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Owner
Author
This has nothing to do. This option is just for turning on the setting that is no longer default in tmux 3.3+; passthrough has existed since tmux v2. There is a limitation on the tmux passthrough buffer size, and what's worse is that how kitty deals with image artifacts inside a tmux is terrible. When the screen scrolling, the image will be stuck forever and never be deleted unless we send a clear signal. |
`imgcat.clear()` (or `imgcat --clear` in CLI) can be used to clear up all remaining graphics artifacts (e.g., in kitty).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work in progress. Upstream issue: #4
https://sw.kovidgoyal.net/kitty/graphics-protocol.html
works on plain kitty terminal
e.g.
python -m imgcat FILENAME.pngorimgcat(np.array(...))tmux support: it can print graphics, but they do not get cleared well
Support all parameters
/cc @teto