From 070843d2bfd8bd1dbad4a1ad40800c59e4811a73 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 1 Oct 2016 12:57:54 +1000 Subject: [PATCH] Clear screen later --- neofetch | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/neofetch b/neofetch index 269ce346..54e4bf29 100755 --- a/neofetch +++ b/neofetch @@ -2085,6 +2085,8 @@ getimage() { [ "${#term_size}" -le 5 ] && err "Your terminal doesn't support \\\033[14t, falling back to ascii mode." return + else + clear fi # Get terminal lines and columns @@ -3127,12 +3129,6 @@ main() { # If the script exits for any reason, unhide the cursor. trap 'printf "\033[?25h"' EXIT - # Clear the screen - case "$image" in - "ascii" | "off") ;; - *) clear ;; - esac - # Hide the cursor and disable line wrap printf "\033[?25l\033[?7l"