From 4f89361e50e33bd6a7c5aa215f346a5af93d09c6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Jan 2019 15:34:08 +0200 Subject: [PATCH] color_blocks: Fix cursor bug --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index e84f58b4..0a8e503e 100755 --- a/neofetch +++ b/neofetch @@ -3391,7 +3391,7 @@ get_cols() { cols="${cols//nl/\\n\\e[${text_padding}C${zws}}" # Add block height to info height. - ((info_height+=block_height+1)) + ((info_height+=block_range[1]>7?block_height+2:block_height+1)) printf '\n\e[%bC%b\n' "$text_padding" "${zws}${cols}" fi