mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-25 04:44:56 +00:00
Don't use iTerm2 or w3m if ascii art is in use
This commit is contained in:
2
fetch
2
fetch
@@ -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;" |\
|
||||
|
||||
Reference in New Issue
Block a user