From b112ac97154da0a92d3c1720a985ddeab52bd950 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 1 Oct 2016 12:33:30 +1000 Subject: [PATCH] Cleanup --- neofetch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/neofetch b/neofetch index 0ebaa591..82405814 100755 --- a/neofetch +++ b/neofetch @@ -2776,7 +2776,7 @@ kdeconfigdir() { dynamicprompt() { # Calculate image height in terminal cells. - # The '+ 3' adds a gap between the prompt and the content. + # The '+ 4' adds a gap between the prompt and the content. [ "$image" != "ascii" ] && [ "$image" != "off" ] && \ lines="$((${height:-1} / ${font_height:-1} + 4))" @@ -3158,12 +3158,9 @@ main() { # Reset horizontal cursor position printf "\033[9999999D" - # Save cursor position - printf "\0337" - # Move cursor to top of ascii art case "$image" in - "ascii" | "off") printf "\0338" ;; + "ascii" | "off") ;; *) printf "\033[0H" ;; esac