From 9f263fe1849d0a6a78232682368f9f4b9e650190 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Wed, 13 Dec 2017 11:42:10 +1100 Subject: [PATCH] general: Fixed extra trailing prompt newline --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c8bc85e8..0f419aa1 100755 --- a/neofetch +++ b/neofetch @@ -4098,7 +4098,7 @@ dynamic_prompt() { fi # Set the prompt location. - ((lines > 0)) && printf "%b" "\033[${lines}B" + ((lines > 1)) && printf "%b" "\033[${lines}B" } old_functions() {