Add comment explaining fix

This commit is contained in:
Dylan Araps 2016-10-03 18:08:47 +11:00
parent a3e65eb120
commit 83acc08ae1
2 changed files with 3208 additions and 0 deletions

3206
;w Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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"