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
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -1645,7 +1645,7 @@ printf "\e[?25l"
[ "$line_wrap" == "off" ] && printf "\e[?7l"
# Display the image
if [ "$image" != "off" ]; then
if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
case "$image_backend" in
"w3m")
printf "%b%s\n" "0;1;$xoffset;$yoffset;$imgsize;$imgsize;;;;;$img\n4;\n3;" |\