Commit 65c2854c authored by Dylan Araps's avatar Dylan Araps

Make --image off behave like other modes

parent c13c1788
......@@ -3286,16 +3286,16 @@ getdistro
bold
colors
if [ "$image" != "off" ]; then
# If the script exits for any reason, unhide the cursor.
trap 'printf "\033[?25h"' EXIT
# If the script exits for any reason, unhide the cursor.
trap 'printf "\033[?25h"' EXIT
# Clear the scren
clear
# Clear the scren
clear
# Hide the cursor
printf "\033[?25l"
# Hide the cursor
printf "\033[?25l"
if [ "$image" != "off" ]; then
# If iterm2 is detected use iterm2 backend.
if [ -n "$ITERM_PROFILE" ]; then
image_backend="iterm2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment