Don't use iTerm2 or w3m if ascii art is in use
This commit is contained in:
parent
74b94e1769
commit
467e820e67
2
fetch
2
fetch
|
@ -1645,7 +1645,7 @@ printf "\e[?25l"
|
||||||
[ "$line_wrap" == "off" ] && printf "\e[?7l"
|
[ "$line_wrap" == "off" ] && printf "\e[?7l"
|
||||||
|
|
||||||
# Display the image
|
# Display the image
|
||||||
if [ "$image" != "off" ]; then
|
if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
|
||||||
case "$image_backend" in
|
case "$image_backend" in
|
||||||
"w3m")
|
"w3m")
|
||||||
printf "%b%s\n" "0;1;$xoffset;$yoffset;$imgsize;$imgsize;;;;;$img\n4;\n3;" |\
|
printf "%b%s\n" "0;1;$xoffset;$yoffset;$imgsize;$imgsize;;;;;$img\n4;\n3;" |\
|
||||||
|
|
Reference in New Issue