Closed step- closed 6 months ago
Hi @step-,
can you try @veltza's st-sx build?
It has quite a few improvements when it comes to sixel support and it may potentially work there.
Hi @bakkeby, thanks. Tried and yes, sixtel inside tmux works in st-sx.
Right, OK. The plan is to integrate those changes into st-flexipatch ref. #102.
I updated to tmux 3.4, which supports sixel images when compiled with --enable-sixel. It appears that st-flexipatch with SIXTEL_PATCH shows an empty rectangle instead of an image. I read all open and closed sixtel issues on https://github.com/tmux/tmux/issues but I couldn't find a solution. I applied all the points they mention:
set-options -as terminal-features ',st-256color:sixtel'
.I tested several sixtel images downloaded from the issues pages. Sixtel support works outside tmux with TERM=st-256color but doesn't work when tmux is running with inside TERM=tmux-256color. My patches.h file is attached.
So I wonder if anyone could please test st-flexipatch with tmux 3.4 and confirm if sixtel images work for them. Thank you.
patches.h.txt
left: st outside tmux; right: st running tmux