w3m-img: Draw the image twice

This commit is contained in:
Dylan Araps 2016-10-22 00:06:51 +11:00
parent 5270e97943
commit 76f7b4025e
1 changed files with 4 additions and 0 deletions

View File

@ -3317,6 +3317,10 @@ main() {
printinfo printinfo
[ "$image" != "off" ] && dynamicprompt [ "$image" != "off" ] && dynamicprompt
# w3m-img: Draw the image a second time to fix
# rendering issues in specific terminal emulators.
[ "$image_backend" == "w3m" ] && displayimage
# Re-enable line wrap # Re-enable line wrap
printf "%b%s" "\033[?7h" printf "%b%s" "\033[?7h"