Add a tiny sleep to fix image flashing and not drawing properly

This commit is contained in:
Dylan Araps 2016-10-03 17:59:56 +11:00
parent 22ae5a5bba
commit a3e65eb120

View file

@ -2261,6 +2261,7 @@ displayimage() {
if [ "$image" != "ascii" ]; then
case "$image_backend" in
"w3m")
sleep 0.05
printf "%b%s\n" "0;1;$xoffset;$yoffset;$width;$height;;;;;$img\n4;\n3;" |\
$w3m_img_path 2>/dev/null || padding="\033[0C"
;;