Make --image off behave like other modes
This commit is contained in:
parent
c13c17888e
commit
65c2854caf
2
neofetch
2
neofetch
|
@ -3286,7 +3286,6 @@ getdistro
|
||||||
bold
|
bold
|
||||||
colors
|
colors
|
||||||
|
|
||||||
if [ "$image" != "off" ]; then
|
|
||||||
# If the script exits for any reason, unhide the cursor.
|
# If the script exits for any reason, unhide the cursor.
|
||||||
trap 'printf "\033[?25h"' EXIT
|
trap 'printf "\033[?25h"' EXIT
|
||||||
|
|
||||||
|
@ -3296,6 +3295,7 @@ if [ "$image" != "off" ]; then
|
||||||
# Hide the cursor
|
# Hide the cursor
|
||||||
printf "\033[?25l"
|
printf "\033[?25l"
|
||||||
|
|
||||||
|
if [ "$image" != "off" ]; then
|
||||||
# If iterm2 is detected use iterm2 backend.
|
# If iterm2 is detected use iterm2 backend.
|
||||||
if [ -n "$ITERM_PROFILE" ]; then
|
if [ -n "$ITERM_PROFILE" ]; then
|
||||||
image_backend="iterm2"
|
image_backend="iterm2"
|
||||||
|
|
Reference in New Issue