From cf7cc4043703704cd555b26d8fb5f7cf148c0dc7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 22 Dec 2016 18:22:57 +1100 Subject: [PATCH] General: Fix incoreect logging of cols and line breaks --- neofetch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neofetch b/neofetch index 3a1b2c4e..eda50c3e 100755 --- a/neofetch +++ b/neofetch @@ -1805,6 +1805,9 @@ get_cols() { fi unset -v blocks blocks2 cols + + # Tell info() that we printed manually. + prin=1 } # IMAGES @@ -2418,6 +2421,9 @@ get_line_break() { # Calculate info height. info_height="$((info_height+=1))" + + # Tell info() that we printed manually. + prin=1 } get_bold() {