Closed luukvbaal closed 3 years ago
Upon further inspection it seems iTerm
's image protocol support inside tmux
is spotty and doesn't always work.
Is this why it wasn't included in viu
? Anyhow, closing.
Thanks for raising the issue & sorry for the delay! I never really wanted to get into the whole tmux + custom protocols mess. I'm afraid it gets too ugly too quickly for me to handle.
Completely understand. Just from my initial testing with imgcat
it seemed to work hence why I opened the issue.
After integrating the required change into iterm.rs
and previewing more images I noticed issues and came across the relevant threads describing said issues. I agree its probably not possible/worth it to handle this edge case indeed.
Despite the fact that
iTerm
's image escape sequences and indeed its imgcat script seems to work insidetmux
,viu
will fall back to half-block rendering.TERM_PROGRAM
is equal totmux
insidetmux
but exportingTERM_PROGRAM=iTerm.app
manually doesn't seem to help either; this results in nothing being printed at all.Is this something that was/can be considered inside
viuer
?Edit: quoting the imgcat script: