Commit 83acc08a authored by Dylan Araps's avatar Dylan Araps

Add comment explaining fix

parent a3e65eb1
This diff is collapsed. Click to expand it.
...@@ -2261,6 +2261,8 @@ displayimage() { ...@@ -2261,6 +2261,8 @@ displayimage() {
if [ "$image" != "ascii" ]; then if [ "$image" != "ascii" ]; then
case "$image_backend" in case "$image_backend" in
"w3m") "w3m")
# Add a tiny delay to fix issues with images not
# 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 2>/dev/null || padding="\033[0C" $w3m_img_path 2>/dev/null || padding="\033[0C"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment