You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the lovely library! I noticed that imgcat doesn't work in tmux v3.4, as $TERM yields tmux-256color instead of screen.
The current implementation imgcat.embed() requires os.Getenv("TERM") == "screen" to add the DCS tmux magic. Everything works on tmux 3.4 if I add tmux-256color to the recognized $TERM options.
Hi @martinlindhe,
Thanks for the lovely library! I noticed that imgcat doesn't work in tmux v3.4, as
$TERM
yieldstmux-256color
instead ofscreen
.The current implementation
imgcat.embed()
requiresos.Getenv("TERM") == "screen"
to add the DCS tmux magic. Everything works on tmux 3.4 if I addtmux-256color
to the recognized$TERM
options.I can submit a PR if you're interested?
The text was updated successfully, but these errors were encountered: