Hardcode iterm2 mode to iterm2
This commit is contained in:
parent
ec9bfefbf3
commit
d7bf5da48e
1 changed files with 7 additions and 0 deletions
7
neofetch
7
neofetch
|
@ -2803,6 +2803,13 @@ if [ "$image" != "off" ]; then
|
|||
# Hide the cursor
|
||||
printf "\033[?25l"
|
||||
|
||||
# If iterm2 is detected use iterm2 backend.
|
||||
if [ -n "$ITERM_PROFILE" ]; then
|
||||
image_backend="iterm2"
|
||||
else
|
||||
image_backend="w3m"
|
||||
fi
|
||||
|
||||
# Find w3mimgdisplay
|
||||
[ "$image_backend" == "w3m" ] && \
|
||||
[ "$image" != "ascii" ] && \
|
||||
|
|
Loading…
Reference in a new issue