Fix image mode in tmux

This commit is contained in:
Dylan Araps 2016-06-13 19:25:09 +10:00
parent c5beb9f0dc
commit efcc7e8273

View file

@ -2234,6 +2234,7 @@ getimage () {
stty -echo stty -echo
if [ -n "$TMUX" ]; then if [ -n "$TMUX" ]; then
printf "%b%s" "\033Ptmux;\033\033[14t\033\033[c\033\\" printf "%b%s" "\033Ptmux;\033\033[14t\033\033[c\033\\"
read_flags="-d c"
elif [ "$image_backend" == "tycat" ]; then elif [ "$image_backend" == "tycat" ]; then
printf "%b%s" "\033}qs\000" printf "%b%s" "\033}qs\000"