Closed dhay3 closed 4 weeks ago
This is because Konsole currently only correctly implements the old Kitty protocol, which doesn't work under tmux.
There's nothing Yazi can do about this; we can only wait for Konsole to implement the new Kitty unicode placeholders or fix the bug in its Inline Images protocol implementation that can't properly erase images.
Regarding the mentioned issue with Kitty and tmux, please make sure that both Kitty and tmux are the latest official versions. Older versions of Kitty do not support displaying images in tmux.
Edit: Regarding the issue where kitty is recognized as Konsole after setting up tmux, have you set any environment variables? What is the output of echo $KONSOLE_VERSION
? This setting is no longer necessary after Yazi 0.3. If setting it causes problems, you can just remove it.
Sorry for the late reply, I use kitty instead now, everything works like a charm :)
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
konsole 24.05.2
yazi --debug
outputOn Konsole(Yakuake) with Tmux configuration is unset
On Konsole(Yakuake) with Tmux configuration is set
Did you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (
yazi --debug
) to the nightly that I triedDescribe the bug
Some preview image drift to left with some red square blocks in right panel on Konsole(Yakuake) which has opened a Tmux session. However Kitty works correctly with Tmux. When the configuration of Tmux is not set which is followed by yazi's official docs.
On Konsole(Yakuake) with Tmux
Rendered with red square blocks
On Kitty with Tmux
And when the configuration of Tmux is set and restart Tmux. Either Konsole(Yakuake) or Kitty do not show the image preview.
On Konsole(Yakuake) with Tmux
On Kitty with Tmux
It dims the
Emulator.detect
is mess up for some reason.Minimal reproducer
~/.tmux.conf
Anything else?
No response