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
# tmux requires unrecognized OSC sequences to be wrapped with DCS tmux;
# <sequence> ST, and for all ESCs in <sequence> to be replaced with ESC ESC. It
# only accepts ESC backslash for ST.
function print_osc() {
if [[ $TERM == screen* ]] ; then
printf "\033Ptmux;\033\033]"
else
printf "\033]"
fi
}
# More of the tmux workaround described above.
function print_st() {
if [[ $TERM == screen* ]] ; then
printf "\a\033\\"
else
printf "\a"
fi
}
I'd be happy to submit a PR to make this change if it seems OK to you!
The text was updated successfully, but these errors were encountered:
Hi! imgcat is really cool. The only snag I found is that it doesn't work from within tmux. Looking around I saw that the iterm2 folks deal with this in their bash script version:
I'd be happy to submit a PR to make this change if it seems OK to you!
The text was updated successfully, but these errors were encountered: