Don't use iTerm2 or w3m if ascii art is in use

This commit is contained in:
Dylan 2016-01-27 23:20:26 +11:00
parent 74b94e1769
commit 467e820e67

2
fetch
View file

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