From ba4b541167ed76a3bd78c6a838a516ea8197812c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 2 Nov 2016 17:17:09 +1100 Subject: [PATCH] Image: Fix cursor position in URxvt when using terminal padding --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 67df26c6..618783fb 100755 --- a/neofetch +++ b/neofetch @@ -2842,7 +2842,7 @@ dynamicprompt() { # Calculate image height in terminal cells. if [ "$image" != "ascii" ]; then gettermpadding - lines="$(((height + ${border:-0} + ${yoffset:-0}) / font_height))" + lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))" else lines="$((lines-=2))" fi