Add a tiny sleep to fix image flashing and not drawing properly
This commit is contained in:
parent
22ae5a5bba
commit
a3e65eb120
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -2261,6 +2261,7 @@ displayimage() {
|
||||||
if [ "$image" != "ascii" ]; then
|
if [ "$image" != "ascii" ]; then
|
||||||
case "$image_backend" in
|
case "$image_backend" in
|
||||||
"w3m")
|
"w3m")
|
||||||
|
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"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue