Images: Fix images in ST

This commit is contained in:
Dylan Araps 2016-11-06 10:23:27 +11:00
parent ac70812df3
commit 97f7617458

View file

@ -2300,7 +2300,7 @@ displayimage() {
# appearing in specific terminal emulators. # appearing in specific terminal emulators.
sleep 0.05 sleep 0.05
printf "%b%s\n" "0;1;$xoffset;$yoffset;$width;$height;;;;;$img\n4;\n3;" |\ printf "%b%s\n" "0;1;$xoffset;$yoffset;$width;$height;;;;;$img\n4;\n3;" |\
$w3m_img_path -bg "$background_color" 2>/dev/null || padding="\033[0C" $w3m_img_path -bg "$background_color" >/dev/null & 2>&1 || padding="\033[0C"
;; ;;
"iterm2") "iterm2")
@ -2982,7 +2982,7 @@ dynamicprompt() {
fi fi
# Add some padding # Add some padding
printf "\n\n" printf "\n\n\n"
} }
# }}} # }}}