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

Keep aspect ratio when renderring images by kitty protocol #5402

Open
CarterLi opened this issue May 10, 2024 · 0 comments
Open

Keep aspect ratio when renderring images by kitty protocol #5402

CarterLi opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CarterLi
Copy link

CarterLi commented May 10, 2024

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

N/A

WezTerm version

0240509-164806-814857cd

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

According to the official kitty doc:

If only one of either r or c is specified, the other one is computed based on the source image aspect ratio, so that the image is displayed without distortion.

But it doesn't work

To Reproduce

echo -e "\e_GX=1,a=T,f=100,t=f,c=50;$(echo -n ~/Desktop/test.png | base64)\e\\"

image

Configuration

no config

Expected Behavior

The aspect ratio should be kept

Logs

No response

Anything else?

This feature didn't work before in Kitty, but it was fixed: kovidgoyal/kitty#7380

Aspect ratio is kept when using iterm protocol, but it doesn't work with kitty protocol

@CarterLi CarterLi added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant