-
Notifications
You must be signed in to change notification settings - Fork 241
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
iterm2 image preview in tmux sometimes has wrong position #1064
Comments
I can't reproduce it. screenshot-000047.mp4What's your tmux version? Is it the latest one? Can you try using the default configurations for both tmux and WezTerm and set https://yazi-rs.github.io/docs/image-preview#tmux to see if the issue still? Here’s my tmux version:
|
The issue remains on the two systems I've tried:
Yazi is built from the main branch and has no config. tmux version is 3.4 and the configuration only contains https://yazi-rs.github.io/docs/image-preview#tmux. WezTerm has no config. |
Can you record a GIF to show me your steps? Also does it only happen with the specific combination of tmux and wezterm? Does this issue occur in other situations as well? |
Please try #1070 |
Yes that works! Thanks for your help~ |
Alright lemme merge then |
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
wezterm 20240203-110809-5046fc22
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
outputDescribe the bug
In tmux when previewing images, some have wrong positions (at the bottom right corner):
Expected Behavior
Positions should be correct.
To Reproduce
Configuration
no config
Anything else?
I’ve noticed that smaller images tend to cause the issue, whereas normal-sized images haven’t caused any problems.
Possible fix
Interestingly, I found that making the following change as in
#[cfg(windows)]
can help mitigate the issue, although I’m not sure why.The text was updated successfully, but these errors were encountered: