w3m-img: Draw the image twice
This commit is contained in:
parent
5270e97943
commit
76f7b4025e
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue